|
-
Thread Starter
Fanatic Member
TdhGetEventInformation
I am doing some ewt work using the ndis packet capture provider. Has anyone had any luck calling TdhGetEventInformation from vb6? I have spent hours both myself and with Claude and chat gpt and all i get is stack corruption after the call
-
Re: TdhGetEventInformation
did u ask for a c++ example and after that ask AI to translate it into VB6 code?
-
Re: TdhGetEventInformation
Have you tried to use fafalone's API definitions? Chances are he's got the correct structures with all the unions and stuff.
-
Re: TdhGetEventInformation
Instead of AI try GitHub code search in c/cpp files for actual working examples.
Hard to know what's wrong without code. How you handle the trace info struct is my guess, with the unions and variable c-style array. In my defs I assumed a maximum of 128 descriptors but for production use you may want a dynamic allocation.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|