gmarshall
August 28th, 2003, 01:39 PM
I have created a c# dll library that I need to call from a managed c++ dll library. I added the #using <testcsLib.dll> at the top of the C++ cpp. I have the following code in the c++ .cpp.
#using <testcsLib.dll>
String testlib::GetDate()
{
String *sString;
testcsLib cs = new testcsLib();
// call functions in testcslib
}
When I compile the code I get the error message that "tescsLib" is undefined. How do I tell the compiler where the c# dll functions are located? I thought the #using instruction would do that? What else does it need? I have the path of the c# dll testcsLib.dll compiled and in the property c/c++ General Resolve #using references section. What else does it need?
thanks,
#using <testcsLib.dll>
String testlib::GetDate()
{
String *sString;
testcsLib cs = new testcsLib();
// call functions in testcslib
}
When I compile the code I get the error message that "tescsLib" is undefined. How do I tell the compiler where the c# dll functions are located? I thought the #using instruction would do that? What else does it need? I have the path of the c# dll testcsLib.dll compiled and in the property c/c++ General Resolve #using references section. What else does it need?
thanks,