cancel
Showing results for 
Search instead for 
Did you mean: 

Probelm with RFCAPI

Former Member
0 Kudos

Hi,

In my C Program i am using RFCAPIs like RfcOpen()etc to call abap function module. But while executinmg the program i am getting a linker error "undefined symbol _RfcOpen" etc. I have included the librfc32.lib library. I am using turbo C.Can anyone tell me the problem.

regards,

Gowtham K

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Also Turbo C++ 1.01 is not a best compiller and I doubt it can create 32bit apps. I would recomend you to use Microsoft compiler. Which you can dowload free of charge from Microsoft site.

for example here

http://msdn.microsoft.com/visualc/vctoolkit2003/

or here

http://msdn.microsoft.com/visualc/whidbey/

HTH

Slav.

Former Member
0 Kudos

The actually functions are in librfc32.dll. Standard naming in DLLs are PASCAL. You must declare RfcOpen() with PASCAL return type in your app. The name _RfcOpen tells that it is C return type function and there is no such name in librfc32.lib.

HTH

Slav.