Results 1 to 5 of 5

Thread: MY API's

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Posts
    3

    MY API's

    I have noticed something, the API's for findnextfile, findfirstfile, findclose do not work in VB.net.

    Has anyone else had problems with this? I would have thought it had to do with the .dll I was using, because dll calls should be platform independant (An api call from C++ should retrieve the same data as a VB.NET call)

    I do know that when I do findfirst and findnext my win_file_32 datastructure does not get populated.

    -=Justin=-

  2. #2
    Tygur
    Guest
    Don't forget to change all Longs to Integers in the API declarations.

  3. #3
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    and Any's to whataver datatype it is supposed to be as if using it in C++.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    what about...

    What about structures or types

    is there anything special that has to be done with them to make the cross over complete? like the code in Forms System Menu
    Magiaus

    If I helped give me some points.

  5. #5
    Hyperactive Member Scott Penner's Avatar
    Join Date
    Dec 2000
    Location
    Mountain View
    Posts
    327
    Yeah, but it's a mess.

    Look up marshalling and structures. There's a bunch of fun hoops to jump through.
    -scott
    he he he

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width