Jump to content

Using function from MSDN?


Recommended Posts

You can use DLLCall to do that. Look at the helpfile and you'll understand how.

[quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"][/font]

Link to comment
Share on other sites

You can use DLLCall to do that. Look at the helpfile and you'll understand how.

I tried reading it. Sorry I am very new to dll. I do not understand how to call and which dll to call. Also tried searching but no luck. Please advise.

Edited by dkwokgs
Link to comment
Share on other sites

I don't know the name of the library wich contains this functions, but here's a scrap:

#cs
DWORD  NPSearchDialog( 
   HWND  hParent, 
   LPNETRESOURCE  lpNetResource, 
   LPVOID  lpBuffer, 
   DWORD  cbBuffer, 
   LPDWORD  lpnFlags 
);
#ce

DllCall ("YOURDLLHERE.dll", "long", "NPSearchDialog", _
  "hwnd", $hParent, _
  "ptr", $lpNetResource, _
  "ptr", $lpBuffer, _
  "long", $cbBuffer, _
  "ptr", $lpnFlags)

[quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"][/font]

Link to comment
Share on other sites

Check this out, I was having issues as well.

http://www.autoitscript.com/forum/index.php?showtopic=33676

Thanks a lot. Cos I am very new to dlls. I am trying to learn how to call function. Is there a site which explain it in simple english with example?

I am trying to find to initiate a browse function to check where a path is accessible to a user and return 1 or 0.

eg. \\win3ksvr\data

Thanks.

Edited by dkwokgs
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...