Consultor Eletrônico



Kbase P117542: Error: command line error MIDL1004 generating ActiveX proxies
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   26/07/2006
Status: Unverified

SYMPTOM(s):

command line error MIDL1004 : cannot execute C preprocessor cl_vj.exe

** Checking method and parameter names ...

** Generating ActiveX proxies ...
Creating Customer.odl ...
Compiling ODL file ...
>>ERROR compiling ODL file
Processing C:\progress\WRK\Customer.odl
command line error MIDL1004 : cannot execute C preprocessor cl_vj.exe

>>ERROR generating ActiveX proxies


** Generation terminated

CAUSE:

The PATH and / or CLASSPATH are not properly set.

FIX:

Ensure that the PATH and the CLASSPATH environment variables are properly set at the system level. For example:
1. PATH environment variable must contain:
<Path to Progress BIN directory (i.e. $DLC\BIN)>
<Path to Sun Java JDK 1.1.6 (i.e. C:\WinApps\JDK116\Bin)>
<Path to Microsoft JDK (i.e. C:\WinApps\MSJDK31\Bin)>
<Path to VJ++ (i.e. C:\Program Files\DevStudio\VJ\Bin)>
<Path to Microsoft Shared IDE Files (i.e. C:\Program Files\DevStudio\SharedIDE\Bin)>
2. INCLUDE environment variable must contain:
C:\Program Files\DevStudio\VJ\Include
3. CLASSPATH environment must contain:
$DLC\JAVA\o4glrt.zip;$DLC\JAVA\progress.zip