Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error when building object with DCOM Connector

Former Member
0 Likes
358

Hello everybody,

I'm new to SAP programming so please forgive my ignorance...

We are trying to build a com object to call some RFC-functions from a VB 6 application. We use DCOM Connector V6.2, I have MS Visual C++ 6.0 installed, unfortunately I don't know the R/3 version of our client.

Every time I click the button "Build Component DLL", the following message appears: "cannot read value of registry entry software\sap\mts\proxygenerator\additionalincludedirs"

This registry entry exists, so I don't know, whats wrong. I run DCOM Connector on Win XP, IE 6. I also tried on a Windows 2000 system, with the same error message.

I hope you can help me, I searched a long time on the forums and didn't find anything.

1 REPLY 1
Read only

Former Member
0 Likes
329

Obviously my question did not get to much interest. Luckily I found out the answer myself.

The message from the component builder results from this registry key beeing empty. For some reason the SAP GUI installation routine did not fill it out. I then found that by inserting whatever value into that key, the compilation started and hung with another error (file mkenv.inc not found). After surching for that file I found it was installed in C:\Programme\SAP\FrontEnd\SAPgui\rfcsdk\include

So, bingo, the empty registry value "software\sap\mts\proxygenerator\additionalincludedirs" must be filled "C:\Programme\SAP\FrontEnd\SAPgui\rfcsdk\include" or what corresponds to your installation and it works. At least the component dll was built, I have to test now if it is running correctly...