cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with SAP NW RFC (C++) and VS 2008 Prof.

Former Member
0 Kudos

Hi,

does anybody know how i can include the RFC lib correctly in my c++ project?

I'm always getting linker errors like this:

error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_RfcAppendNewRow@8" in Funktion "_wmain".

2nd question:

is it possible to make rfc calls to an SAP 4.6c release with this rfc lib or should i use the old SAP RFC Lib?

thanks,

joe

Edited by: joeschlb on Jun 17, 2011 4:55 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I have added the following files to my project :

sapdecf.h

sapnwrfc.h

sapuc.h

sapucx.h

startrfc.h

libsapucum.lib

sapdecfICUlib.lib

sapnwrfc.lib

and the compilation is OK.

Former Member
0 Kudos

thanks i was the problem because i compiled an 64bit library with 32bit... this causes the linker errors!

Edited by: joeschlb on Jul 4, 2011 8:00 PM

0 Kudos

Hello. Could you please describe how you solved the problem a bit more detailed? Thank You