Dear Sir ,
I have a small question , Can I connect Oracle Pro*C program - written in ANSI C / ANSI SQL - to SAP DB? , the output program is C program with embedded SQL ? Thanks Rami AL-SAHHAR International Turnkey Systems (ITS), www.its.ws <http://www.its.ws/> Dear Sir, We are trying to build one prototype as POC to convert our core existing Oracle Pro*C programs to MAXDB using cpc pre-compiler. I found that it works fine with the pre-compiler option -E cplus , however since we have C programs , I used -E ansi , but the following errors occurred during the compilation. c:\program files\sdb\programs\sdk\7500\incl\livecachetypes.h(60) : error C2485: 'uuid' : unrecognized extended attribute c:\program files\sdb\programs\sdk\7500\incl\livecachetypes.h(60) : error C2059: syntax error : '(' c:\program files\sdb\programs\sdk\7500\incl\livecachetypes.h(62) : error C2485: 'uuid' : unrecognized extended attribute c:\program files\sdb\programs\sdk\7500\incl\livecachetypes.h(62) : error C2059: syntax error : '(' c:\program files\sdb\programs\sdk\7500\incl\livecachetypes.h(64) : error C2485: 'uuid' : unrecognized extended attribute c:\program files\sdb\programs\sdk\7500\incl\livecachetypes.h(64) : error C2059: syntax error : '(' it does not accept the marco defined in livecachetypes.h , and when I remove it , it works but it generates other chunk of errors . typedef /* [helpstring][uuid] */ DECLSPEC_UUID("00489FD1-87B7-11d4-B2E4-0050DAE0298C") unsigned short DbpTypeUnicode; typedef /* [helpstring][uuid] */ DECLSPEC_UUID("A6DE9A83-6173-11d1-A943-00A0C94311A5") unsigned char OmsTypeChar; typedef /* [helpstring][uuid] */ DECLSPEC_UUID("A6DE9A85-6173-11d1-A943-00A0C94311A5") unsigned char OmsTypeByte; Please tell me if this is normal ? Does it support ANSI C on MS Visual Studio? Any idea/work around ? This is how I compiled : cpc -S oracle -H nocheck -o -c -u dbadmin,rami123 -d maxdb1 %1% Appreciate your quick response Thanks Rami I