When I run it I receive following error:(i am pasting only a part of it otherwise it is too long).Please guide what to do about this. Question 1))Is this the correct way to run it.PLEASE GUIDEĪnd in that directory (/opt/ora9/product/9.2/precomp/demo/proc/).there are 2 more files namely demo_proc32.mk, demo_proc64.mk may i know what are these files for. Make -f /opt/ora9/product/9.2/precomp/demo/proc/demo_proc.mk build EXE=first.pc OBJS=first.o I open vi editor like "vi first.pc" and type my pro*C program in there save it and run as. Thank you very much.I have one more question if you don't mind,please Printf("\nConnected to ORACLE as user: %s\n\n", oracleid.arr) Įxec sql insert into xx ( x ) values ( :x ) am i doing everything correctly.ĮXEC SQL WHENEVER SQLERROR DO sqlerror_hard() exe of that it showed 3 errors:Įrror lnk 2001: unresolved external symbol really_complex_calculation().Įrror lnk 2001: unresolved external symbol sqlerror_hard()Įrror lnk 2001: unresolved external symbol sql_ctx() first of all it showed the error that sqlca.h not found, so copied that file from oracle_home\precomp\public.to c:\program files\microsoft visual studio\vc98\include.so it woked fine.then it somehow compiled fine and then i tried to build that file to make an. pc file and in pro*c ran was converted to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |