Skip to main content

CreateProcess error using --netdll compiler flag on Windows 7

  • February 15, 2013
  • 0 replies
  • 0 views

Compiling using the --netdll flag on Windows 7 generates a CreateProcess failed error.

Problem:

Take a sample program (such as calc3.cbl), use the .Net interoperability compiler option --netdll. Compile with the following options:
-o .\\object\\@.acu -x --netdll:2.0

The following error message is returned:

CreateProcess failed for C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727\\AL.EXE \\target:lib \\v:1.0.0.0 
\\embed:".\\object\\ACU.acu",AcuNet \\out:".\\object\\ACU.dll" ".\\object\\ACU.NETModule" ACU.acu
- Completed: 0 Error(s), 0 Warning(s).

This works on XP and Vista machines.

Resolution:

al.exe is part of the Microsoft .Net framework SDK. al.exe is not included with the Windows 7 OS, you must download and install the .Net framework SDK.

Old KB# 14511