Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Restart NT and GetCurrentProcess
Message
From
08/07/1999 16:06:25
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00238770
Message ID:
00239073
Views:
8
That helped but now
DECLARE INTEGER GetCurrentProcess IN Win32API
lnTokenOpen = OpenProcessToken(GetCurrentProcess(),TOKEN_ADJUST_PRIVILEGES,GetCurrentProcess()) doesn't recognize TOKEN_ADJUST_PRIVILEGES in or out of quotes. Now what?


>>NT requires much more elaborate coding for a reboot than 95/98. I have found that the first call that must return a value is not responding. If I DECLARE INTEGER GetCurrentProcess IN Win32API
>>and then MessageBox(GetCurrentProcess()) I get an error. What am I missing?
>>
>
>MessageBox() takes a string. Try MessageBox(STR(GetCurrentProcess())).
>
>>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform