Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pointers or not pointers
Message
 
To
10/06/1997 07:37:29
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00035784
Message ID:
00035805
Views:
36
>In the last few days, we discussed about pointers in WIN32API that we can't access with Visual FoxPro for certain functions.
>
>There is one function which I am not sure if the parameters are pointers or not. The NetUserDel() function is using a servername and a username for the parameters.
>
>My results is that function is working about 1 time out of 4 and I haven't found a way to be sure of the results. I always get different results with different error numbers. Sometimes it is working sometimes not.
>
>Might it be possible that is uses pointers and that would be a normal reaction?

Michel,

NetUserDel() does use pointers to the variables, which means that you need to pass them by reference. Be sure that your DECLARE statement indicates that the variable is to be passed by reference as well. One last point, NetUserDel() requires that UNICODE strings must be passed.

HTH,

George
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform