![]() |
|
|||||||
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| EXEC SQL - External Database Insert multiple rows | ERP | SAP ABAP | 2 | 03-16-2011 08:38 PM |
| internal table and field symbol | Zumba | SAP ABAP | 2 | 02-26-2011 11:16 PM |
| Where to customize external parameters? | Ramma | SAP BASIS | 1 | 07-15-2010 01:43 PM |
| REUSE_ALV_LIST_DISPLAY' Field symbol has not yet been assigned | Gurla | SAP ABAP | 1 | 05-25-2010 03:09 PM |
| Subcontracting and/or external procurement | papa | SAP PP - Product Planning | 0 | 02-08-2010 12:28 PM |
| Aprenda SAP! |
|
|
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi experts,
* i downloaded the SAP RFC SDK 7.20 unicode (Windows Server on IA32 32bit) * opened VisualStudio 2010 * created new MFC dialog based project * added additional include directories (linked to SDK folder) * added additional library folders (also linked to SDK directory) * added librfc32u.lib;libsapucum.lib as additional dependency * added #include "saprfc.h" * put some code into the project void CsaprfcsdkDlg::OnBnClickedButton1() { RFC_HANDLE rfc_handle; RFC_ERROR_INFO_EX rfc_err_inf_ex; rfc_handle = RfcOpenEx("",&rfc_err_inf_ex); } and tried to compile ... the result is an error that the external symbol RfcOpenEx is unresolved. 1>------ Build started: Project: saprfcsdk, Configuration: Debug Win32 1> saprfcsdkDlg.cpp 1>saprfcsdkDlg.obj : error LNK2019: unresolved external symbol _RfcOpenEx@8 referenced in function "public: void __thiscall CsaprfcsdkDlg::OnBnClickedButton1(void)" (?OnBnClickedButton1@CsaprfcsdkDlg@@QAEXXZ) 1>...\saprfcsdk\Debug\saprfcsdk.exe : fatal error LNK1120: 1 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Anyone has an idea what i am doing wrong ? I have a Win7 64Bit running but i also tried it on VS2003 and WinXP ... but got the same error. Thanks for your hints. Pepa |
| Sponsors |
|
#2
|
|||
|
|||
|
Hi Pepa,
I also have exactly the same linker-problems, after I adapted our sourcecode to be unicode-conform. A simple test-solution within a VisualStudio 2010 environment (Win7/64bit) using librfc32u.dll caused the same error-message. Looking for solutions of similar problems within the WEB had no succeed. Thanks for any hint! Mirna |
|
#3
|
|||
|
|||
|
Hi Mirna,
what i have found is .... in the saprfc.h is an define for unicode .... maybe it is enough to set the "SAPwithUNICODE" an alternative would be that Stephan Sell will write an answer here ;-) When you have any test results i would be interested if it works ... #ifndef RFC_API_ENTRY # if defined(SAPwithUNICODE) /* we have UNICODE */ # define RFC_API_ENTRY(fn) fn##U /* Stephan Sell - 29.07.2008 */ /* disabled due to change (CL 1000445) in sapgendef.pl */ /* # elif defined(SAPonOS390) && defined(SAPwithCHAR_ASCII) */ /* */ /* OS/390 with ASCII char */ /* # define RFC_API_ENTRY(fn) fn##A */ # else /* default native char type */ # define RFC_API_ENTRY(fn) fn # endif #endif Regards, Pepa |
| Entre a los Links relacionados |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|