Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with CreateProcessWithLogonW
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00840676
Message ID:
00841979
Views:
31
Hi,

Looks as if you managed to turn a passing thought into something useable..<s>

>
I just happened to have the same user on both machines that I was playing with (in the peer-to-peer scenario .. Option 1). It looks this MUST be the case for CPWL to work peer-to-peer ... the user/password combo must exit on BOTH machines. (I'm a little disappointed to find that out.)
>

The docs say CreateProcessWithLogonW() is just a combination of LogonUser() and CreateProcessAsUser() and LogonUser() only allows logging on to the local machine. You just need to ensure the the user that you have logged on as has access rights to the relevant resources on the other machine.

Good luck,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform