cancel
Showing results for 
Search instead for 
Did you mean: 

Using .Net Connector 3.0 (sapnco, sapnco_utils) in a VS 2010 C++ Project?

Former Member
0 Kudos

Hello,

I am trying to build a Dll in C++ with the Visual Studio 2010 and the SAP .Net Connector 3.0.

I already did something like this using the SAP RFC SDK. The problem is that the librfc32.dll from the SAP RFC SDK seems not to be compatible with the target system which should use the C++ Dll...

This is why I'm now trying to use the SAP .NET Connector 3.0 instead of the librfc32.dll.

But I can't bind the sapnco.dll and the sapnco_utils.dll to my source because there are no .lib files.

The dynamic loading by using LoadLibrary ... also failed.

My question is how to use, bind ... the sapnco.dll and the sapnco_utils.dll in the Visual Studio C++ project?

Thanks in advance for your answers.

Tobias

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Tobias,

you have to implement the DLLs into your project's references.

1. In the Solution Explorer, right-click on <Projectname>-References and choose "Add Reference ...".

2. In TabPage "Browse" navigate to your NCO installation folder and select the two DLLs.

Former Member
0 Kudos

Hi Stephan,

in the TabPage "Browse" I can't navigate to the NCO installation folder. Do I have to specify something else in the VS 2010 e.g paths to the Dlls or something like that?

Thanks in advance

Edited by: Tobias Keibach on Apr 11, 2011 10:08 AM