Search:

Type: Posts; User: fafalone

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    184

    Re: Compiling TLBs with midl for VB6

    That would be preferable as I have a lot of existing code using it (and it's for oleexp so there's potentially quite a few people who do); but if calling it something different like IUnknownVB or...
  2. Replies
    2
    Views
    184

    Compiling TLBs with midl for VB6

    I've been at this for hours and am having no luck at all.

    I'm using the /no_def_idir switch so I can use my own oaidl.idl to suppress redefinition errors. After finally re-defining all the basic...
  3. Re: [RESOLVED] Crashing when reading UNICODE_STRING

    A lot of people disable WMI these days.

    Plus this is a hobby, I do what interests me the most. If my job wanted something done, sure I'd use whatever is simplest and easiest, so if I could assume...
  4. Replies
    1
    Views
    174

    Re: How to use Shadow Copy to backup files

    https://docs.microsoft.com/en-us/windows/win32/vss/volume-shadow-copy-reference

    If you google some of the apis and interfaces you can find code using them. Probably not much in vb6. But I find...
  5. Replies
    14
    Views
    485

    Re: Utilisation d'un fichier .BAS et B4A

    There's also an Android emulator:

    https://developer.android.com/studio/run/emulator
  6. Thread: TwinBasic

    by fafalone
    Replies
    1,130
    Views
    411,745

    Re: TwinBasic

    Len/LenB are intrinsic in VB too; not in the runtime. At least the common one; there's also versions in the VBA dll that you can access with VBA.Len/LenB If you haven't checked it out, The trick's...
  7. Re: [RESOLVED] Crashing when reading UNICODE_STRING

    Yeah I've been playing around with those functions ever since I found your modX64Call.bas, fun stuff.

    I wrote out the full structures for 32bit... I see why you'd just get the pointers from their...
  8. Re: How do I grant program permissions to connect to the database in System32 Windows

    You should probably describe this in more detail.

    If you're an admin trying to grant access to other Windows users to system32, you could use LsaAddAccountRights, but I'm not sure that's what...
  9. Re: Crashing when reading UNICODE_STRING

    Why would it read everything fine right up until then?

    But anyway, nevermind. It crashed 8 times in a row but now it's working. I don't know what was going on but it seems to work now.
  10. [RESOLVED] Crashing when reading UNICODE_STRING

    I'm trying to get a process commandline. Everything goes fine, including getting the proper string length in UNICODE_STRING.uLength, and a non-null .pBuffer, but then actually retrieving the string...
  11. Replies
    10
    Views
    563

    Re: create app for this temp email site

    You're jumping into the deep end without learning how to swim.

    Every question you ask you're trying to do something complicated without understanding even the most basic things. It's just going to...
  12. Re: How to use program to detect struct is contiguous memory or not ?

    The structure is always contiguous, VB just hides stuff.

    In Type_a2, behind the scenes it's

    a1 As Long
    PointerToA2 As Long
    a3(15) As Byte

    You could recover the contents of a2 directly...
  13. Replies
    35
    Views
    1,113

    Re: Bringing Civility Back to the Forum

    :lol::lol::lol:

    Something, very much related to that, a "leftist" would be able to get :P
  14. Thread: TwinBasic

    by fafalone
    Replies
    1,130
    Views
    411,745

    Re: TwinBasic

    People should post more in the CodeBank too. I think a lot of people would be interested if they saw just how far along tB is... showing off complex code samples would help that.
  15. Replies
    35
    Views
    1,113

    Re: Bringing Civility Back to the Forum

    You missed the point, which is also unsurprising.

    Get it yet?
  16. Replies
    35
    Views
    1,113

    Re: Bringing Civility Back to the Forum

    See baiting an argument with "leftists, (...) and other types of half-wits" would be something that shouldn't really be permitted in a civil forum, but would be hard to filter out. It's unsurprising...
  17. Replies
    35
    Views
    1,113

    Re: Bringing Civility Back to the Forum

    I'm not opposed to more civility but a profanity filter... come on. Plenty of comments with bad words aren't actually uncivil, and it's quite easy to be uncivil without bad words.
  18. Replies
    14
    Views
    485

    Re: Utilisation d'un fichier .BAS et B4A

    b4a uses .bas files? That's confusing. I was thinking they had just supplied multiple language versions or something.
  19. Re: Using a TLB to call stuff in windows dlls

    You'll see some absolute gains since TLB-defined APIs are early bound and declare statements are late bound, but with the speed of computers these days I don't know how much of a difference it would...
  20. Replies
    14
    Views
    485

    Re: Utilisation d'un fichier .BAS et B4A

    Les fichiers sont code source, vous pouvez les ouvrir comme du texte pour les lire, mais vous avez besoin de Visual Basic 6 (pour .bas) ou Basic4Android (pour .b4a) si vous voulez compiler un .exe.
    ...
  21. Re: [twinBASIC] x64-compatible port of Event Tracing for Windows File Activity Monito

    The original VB6 code is in the VB6 CodeBank post linked right up top... do you mean before I updated it to support x64?

    I'll attach it here.

    This is a bit less polished; just the bare minimum...
  22. Re: [twinBASIC] x64-compatible port of Event Tracing for Windows File Activity Monito

    Actually I get an error for that.

    Try it; Call UnSubclass2(hWnd, AddressOf F1WndProc, uIdSubclass)

    Error: expected procedure for AddressOf

    I'm going to file a bug report; the problem appears...
  23. Thread: TwinBasic

    by fafalone
    Replies
    1,130
    Views
    411,745

    Re: TwinBasic

    [twinBASIC] x64-compatible port of Event Tracing for Windows File Activity Monitor

    :D
  24. Re: [VB6] Event Tracing for Windows - Monitoring File Activity with ETW

    There's now an x64 version of this project, thanks to twinBASIC, which is impressively far along.

    [twinBASIC] x64-compatible port of Event Tracing for Windows File Activity Monitor
  25. [twinBASIC] x64-compatible port of Event Tracing for Windows File Activity Monitor

    https://www.vbforums.com/attachment.php?attachmentid=184520
    TBEventTrace v2.11
    Using Event Tracing for Windows in twinBASIC


    This is a port of [VB6] Event Tracing for Windows - Monitoring File...
  26. Replies
    3
    Views
    245

    Re: clear listview fast

    I'm not sure you're really going to get faster than just looping through and clearing the subitem corresponding to the column on each one.

    Unless you just don't want to display it, in which case...
  27. Replies
    30
    Views
    15,504

    Re: [VB6] - Kernel mode driver.

    Oh good, I love it when Microsoft redefines things in seemingly incompatible ways without explanation lol

    In WDM.h from WDK 10.0.2261.1 I have


    typedef struct _KDPC {
    union {
    ...
  28. Replies
    30
    Views
    15,504

    Re: [VB6] - Kernel mode driver.

    Some questions about declarations... (not suggesting they're wrong as I'm just learning about kernel mode, but want to understand why they are as they are so I can apply it in new scenarios)


    ...
  29. Thread: TwinBasic

    by fafalone
    Replies
    1,130
    Views
    411,745

    Re: TwinBasic

    Sweet. This will be fun.
  30. Re: Why is this Windows Service program I wrote not working?

    No, the link I provided was to the Internet Archive's cache of the site. It had the service example cached.

    It has the SMTP Preprocessor cached too, but it appears to just be a compiled binary, it...
  31. Re: Why is this Windows Service program I wrote not working?

    You have no event set up. It's returning immediately because not only is ServiceMain exiting immediately (in the code I posted, it blocks at WaitForSingleObject), but you didn't use the global event...
  32. Re: Why is this Windows Service program I wrote not working?

    ServiceMain is immediately exiting. It needs to run until the service stops.



    Now, that obviously blocks execution, so it has to be done in separate thread.

    Here's a demo:

    Module 1:
  33. Replies
    30
    Views
    15,504

    Re: [VB6] - Kernel mode driver.

    Well when it's just yourself testing it you can use one of the methods for unsigned driver testing.
  34. Replies
    30
    Views
    15,504

    Re: [VB6] - Kernel mode driver.

    Driver signing is enforced at a lower level; I don't think the service manager itself cares. You could presumably use a .inf to put it into the startup to load it that way too.

    The demo here...
  35. Replies
    30
    Views
    15,504

    Re: [VB6] - Kernel mode driver.

    Did you even read the post? The trick made it pretty easy to follow, all the code is there, and a link to the tool to remove msvbvm60.

    The vbp makes use of an undocumented option to provide...
  36. Thread: TwinBasic

    by fafalone
    Replies
    1,130
    Views
    411,745

    Re: TwinBasic

    Going to post this here rather than spam new issues.

    I got the Event Tracer working; due to the last issue, it needs to have the 'Override high dpi settings' option enabled, with Scaling performed...
  37. Re: how to autoresume download on this codebank file

    So, no. Add it.

    You should have gotten an error telling you there was no such member... if you're suppressing errors, you really shouldn't.

    Recall the original post you were pointed at:
  38. Re: [RESOLVED] Is it worth buying vb6 cd is it expensive

    As I understand it, an actual VB7 was planned for a while, but MS was also developing C# and .NET and realized they could force everyone onto .NET by making a few tweaks, calling it VB.NET, and...
  39. Thread: TwinBasic

    by fafalone
    Replies
    1,130
    Views
    411,745

    Re: TwinBasic

    How exactly does TB exe work behind the scenes-- does it really have dependencies? Because I created an empty project;


    Module MyModule

    ' add your procedures here
    Sub main()

    ...
  40. Re: Is it worth buying vb6 cd is it expensive

    I'm not even sure what that complaint/link is about. There's a little lag but not much... and mouse wheel fixes have been available for what, a decade+? As a few kb dedicated addin, or in the larger...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width