E1:COM: GENCOM fails using Visual Studio 2005 (Doc ID 1401837.1)

Last updated on MAY 30, 2017

Applies to:

JD Edwards EnterpriseOne Tools - Version 8.98 and later
Information in this document applies to any platform.

Symptoms


Visual Studio 2005.


You are trying to run gencom using our sample and it is failing to run with below error:

BatchOpenOnInitialization [D0000004]
BatchReviseOnExit [D0000008]
midl.exe /nologo /D "_DEBUG" /win32 /I "..\include" /h C:\DOCUME~1\DENIS~1.LEB\LOCALS~1\Temp\JDEAP.hh /tlb JDEAP.tlb /iid C:\DOCUME~1\DENIS~1.LEB\LOCALS~1\Temp\JDEAP_i.c /proxy C:\DOCUME~1\DENIS~1.LEB\LOCALS~1\Temp\JDEAP_c.c JDEAP.idl
Processing .\JDEAP.idl
Processing C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\oaidl.idl
Processing C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\objidl.idl
Processing C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\unknwn.idl
Processing C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\wtypes.idl
Processing C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\basetsd.h
Processing C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\guiddef.h
Processing C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\ocidl.idl
Processing C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\oleidl.idl
Processing C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\servprov.idl
Processing C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\urlmon.idl
Processing C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\msxml.idl
Processing C:\E812\system\include\connector\JDECOMConnector2.idl
Processing C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\oaidl.acf
Processing C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\ocidl.acf
cl.exe /nologo /Gz /MTd /W3 /Gm /Zi /Od /D "WIN32" /D "_DEBUG" /Zp1 /D "IAMASERVER" /D "_WINDOWS" /D "_USRDLL" /FD /GX /Zm400 /I "..\include" /c C:\DOCUME~1\DENIS~1.LEB\LOCALS~1\Temp\JDEAP.cpp "/FoC:\DOCUME~1\DENIS~1.LEB\LOCALS~1\Temp\JDEAP.obj" "/FRC:\DOCUME~1\DENIS~1.LEB\LOCALS~1\Temp\JDEAP.sbr" "/FdC:\DOCUME~1\DENIS~1.LEB\LOCALS~1\Temp\JDEAP.pdb"
JDEAP.cpp
C:\Program Files\Microsoft Visual Studio 8\Vc\include\time.inl(32) : warning C4244: 'argument' : conversion from 'time_t' to '__time32_t', possible loss of data
C:\Program Files\Microsoft Visual Studio 8\Vc\include\time.inl(32) : warning C4244: 'argument' : conversion from 'time_t' to '__time32_t', possible loss of data
C:\Program Files\Microsoft Visual Studio 8\Vc\include\time.inl(38) : error C2664: '_ctime32' : cannot convert parameter 1 from 'const time_t *' to 'const __time32_t *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Program Files\Microsoft Visual Studio 8\Vc\include\time.inl(44) : error C2664: 'errno_t _ctime32_s(char *,size_t,const __time32_t *)' : cannot convert parameter 3 from 'const time_t *' to 'const __time32_t *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Program Files\Microsoft Visual Studio 8\Vc\include\time.inl(51) : error C2664: '_gmtime32' : cannot convert parameter 1 from 'const time_t *' to 'const __time32_t *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Program Files\Microsoft Visual Studio 8\Vc\include\time.inl(57) : error C2664: '_gmtime32_s' : cannot convert parameter 2 from 'const time_t *' to 'const __time32_t *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Program Files\Microsoft Visual Studio 8\Vc\include\time.inl(64) : error C2664: '_localtime32' : cannot convert parameter 1 from 'const time_t *' to 'const __time32_t *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Program Files\Microsoft Visual Studio 8\Vc\include\time.inl(69) : error C2664: '_localtime32_s' : cannot convert parameter 2 from 'const time_t *' to 'const __time32_t *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Program Files\Microsoft Visual Studio 8\Vc\include\time.inl(81) : error C2664: '_time32' : cannot convert parameter 1 from 'time_t *' to '__time32_t *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Program Files\Microsoft Visual Studio 8\Vc\include\sys/stat.inl(44) : error C2466: cannot allocate an array of constant size 0
C:\Program Files\Microsoft Visual Studio 8\Vc\include\sys/stat.inl(49) : error C2466: cannot allocate an array of constant size 0
*******************
Compiling with IAMASERVER defined.
*******************
C:\Program Files\Microsoft Visual Studio 8\Vc\include\sys/timeb.inl(46) : error C2466: cannot allocate an array of constant size 0
C:\Program Files\Microsoft Visual Studio 8\Vc\include\comdef.h(264) : error C2664: 'int swprintf_s(wchar_t *,size_t,const wchar_t *,...)' : cannot convert parameter 1 from 'TCHAR *' to 'wchar_t *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Program Files\Microsoft Visual Studio 8\Vc\include\comdef.h(267) : error C2664: 'int swprintf_s(wchar_t *,size_t,const wchar_t *,...)' : cannot convert parameter 1 from 'TCHAR *' to 'wchar_t *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast





plus:
cl : Command line warning D9035 : option 'GX' has been deprecated and will be removed in a future release
cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
NMAKE : fatal error U1077: '"c:\Program Files Microsoft Visual Studio 8\VC\bin\cl.exe"' : return code '0x2'
Stop.

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms