Dear Sir, I tried to compile a HelloWorld example (attached) using the
‘cpc’ pre-compiler cpc -E cansi -H nocheck -o -c -u dbadmin,rami123
-d maxdb1 HelloUnicodeDB and it generated the .c file successfully , however , the c
file does not compile and gives the following error: “c:\program
files\sdb\programs\sdk\7500\incl\livecachetypes.h(60) : error C2485: 'uuid' :
unrecognized extended attribute” It seems that it does not accept the marco defined in
livecachetypes.h “DECLSPEC_UUID”
, and when I removed it , it worked typedef /* [helpstring][uuid] */ DECLSPEC_UUID("00489FD1-87B7-11d4-B2E4-0050DAE0298C")
unsigned short DbpTypeUnicode; Now , I need to know , Is what I did correct ? or I have
some configuration problem ? , by the way , when I compile using –E cplus
for C++ , it works fine without removing this macro. Also , I noticed a crash when I compiled the above hello world
example using Oracle SQL_MODE ‘–S oracle’. My final scenario to processed in the POC (Prove Of Concept)
for our programs is Oracle Embedded SQL Statements with ANSI C. Is there any restrictions/limitations? Appreciate your quick response Thanks Rami ALSAHHAR International Turnkey Systems,(ITS) |
-- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]