Can anybody help explain why I am getting a "CreateProcess error=5" when I
attempt to exec the Windows regsvr32.exe to register a dll?

Here is my target:
        <target name="compile.init">
            <exec executable="regsvr32.exe" dir="lib">
                <arg value="/?"/>
            </exec>
        </target>

Results:
BUILD FAILED
file:M:/dmctavish_main/sw/application/ada/build.xml:146: Execute failed:
java.io.IOException: CreateProcess:
M:\dmctavish_main\sw-tools\vb\bin\regsvr32.exe CSHttpClient.dll error=5

I know that the exec command is finding the regsvr32.exe executable as if I
put a bogus name in, I always get the infamous "error=2". However, I'm not
aware what the error=5 means.

Any info would be greatly appreciated.

thx,
d.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to