BobBooker
Programmer
- Dec 20, 2000
- 11
I have an ActiveX EXE that contains the line of code below.
This program has worked quite happily on all Windows platforms until I installed it on XP Pro.
If CreateProcess(sNullStr, sCmdLine, ByVal pNull, ByVal pNull, _
APITRUE, 0&, pNull, sInitDir, start, proc) Then
......
I setup a test environment on the XP machine to see what was going on.
It fails at this point with the last API error message:
Run-time error '2147192417 (8004729f)':
The Parameter is incorrect
(not sure which parameter it is referring to)
I thought a Kernel32 API call would have been the same in XP/2000. Any ideas?
Regards
Bob