User Account Control CreateProcess

BlitzMax Forums/BlitzMax Beginners Area/User Account Control CreateProcess

Smokey(Posted 2011) [#1]
Hi.

I tried to CreateProcess to install another software
and I want to wait until it finish.

the CreateProcess work pretty well on my windows 7 with User Account Control disactivate.

but for a new custommer that have User Account Control enable it make
the program make an error EXCEPTION_ACCESS_VIOLATION

I don't want to use OpenURL or system_ because it don't tell when the
external program finish it job, normaly windows show a popup windows asking if you want to install this software but it hang in blitz before the popup.

it's there a way to avoid this ,

I use Try Catch but even with this it hang with the Exception.

thanks


ImaginaryHuman(Posted 2011) [#2]
Is it the creating of the process that makes the violation or is it something the process program does with file access?


Smokey(Posted 2011) [#3]
it's the blitz program that make the violation. if I turn off UAC everything running fine. the problem is that Blitzmax wait for the process.

something weird is that windows don't popup the UAC warning windows so I guess that it's blitz that don't do it job correctly with UAC.