www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DFL + CreateProcessAsUserA function access violation

reply Clay Smith <clayasaurus gmail.com> writes:
Hi,

I'm trying to use the CreateProcessAsUserA function found in dfl.lib (at 
least compiled in). When I try and use it, I get an access violation.

Here is the code I use: http://paste.dprogramming.com/dpilws7n.php

If anyone has any experience with the CreateProcessAsUserA function in 
Windows, I'd appreciate any help. Thanks.

~ Clay
Jun 18 2007
parent reply Clay Smith <clayasaurus gmail.com> writes:
Clay Smith wrote:
 Hi,
 
 I'm trying to use the CreateProcessAsUserA function found in dfl.lib (at 
 least compiled in). When I try and use it, I get an access violation.
 
 Here is the code I use: http://paste.dprogramming.com/dpilws7n.php
 
 If anyone has any experience with the CreateProcessAsUserA function in 
 Windows, I'd appreciate any help. Thanks.
 
 ~ Clay
Sorry, I meant to post this in D.learn :0
Jun 18 2007
parent Clay Smith <clayasaurus gmail.com> writes:
Clay Smith wrote:
 Clay Smith wrote:
 Hi,

 I'm trying to use the CreateProcessAsUserA function found in dfl.lib 
 (at least compiled in). When I try and use it, I get an access violation.

 Here is the code I use: http://paste.dprogramming.com/dpilws7n.php

 If anyone has any experience with the CreateProcessAsUserA function in 
 Windows, I'd appreciate any help. Thanks.

 ~ Clay
Sorry, I meant to post this in D.learn :0
And... I think I figured it out. Codes: http://paste.dprogramming.com/dpuu4n5f.php
Jun 18 2007