Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connect to Windows NT from Visual FoxPro
Message
From
02/06/1997 19:03:13
 
 
To
02/06/1997 18:54:31
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00034577
Message ID:
00034606
Views:
47
>First idea: in the DECLARE command the correct sintax is "string @" and not "@string".

Thanks for the advice on the right syntax.

However, after having made more test, I think we don't have to use the @.

So, I tried this syntax:

DECLARE INTEGER WNetAddConnection2 IN Win32API AS AddNetConnect;
STRING, STRING, STRING, INTEGER

Now, it seems to work better, however I now have error 487 as someone else had a while ago when trying to make this work. But, I can't seem to find the related error message to this error number nor to any other error number. I don't think this is in WIN32API.HLP. Is there any other reference document for this relation?

Thanks.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform