Visual Baisc Error GetTcpipBoundAdaptersInfo nHandle, AdList

Home Forums Discussions Support Portal Visual Baisc Error GetTcpipBoundAdaptersInfo nHandle, AdList

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #5159


    I bought winpkfilter 3.0.

    In PacketSniffer Project, a Fatal Error shut down VB at line 65 in frmMain ( GetTcpipBoundAdaptersInfo nHandle, AdList )
    This line works well in the ListAdapters Project.

    When I compile that project, on the statement(GetTcpipBoundAdaptersInfo nHandle, AdList) fatal error occure and vb program down.

    How can I fix it?

    Vadim Smirnov

    I just tried to compile PacketSniffer project under VB6 and it worked just fine. The resulted binary also works without any crashes.

    In you case do you get VB environment or PacketSniffer application crash?


    When I declare AdList variable in sub procedure then no crash occured.
    But I declare it out of procedure then crash occured.

    So, how can i do?

    Option Explicit
    Private AdList As TCP_AdapterList

    <-- crash occured. sub form_load()
    dim AdList As TCP_AdapterList
    <-- no crash..

    Vadim Smirnov

    What Visual Basic do you actually use? The samples were created for Visual Basic 6, so if you are using them under Visual Basic .NET then then the behavior can be different. An example managed memory can’t be directly passed to driver.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.