V
vijay.gandhi
Hi,
I have a DLL (created in C++/CLI), that has a public enum.
For example:
namespace Utilities {
public enum DISTANCE_TYPE
{
a,
b,
c
};
}
This DLL was imported to another C++/CLI project. While I can see the
DISTANCE_TYPE in the 'object browser', I am not able to access it ( I
use: 'DISTANCE_TYPE nDisType;' in my code). The Visual Studio
editor's Intellisense does not list DISTANCE_TYPE as a member of
Utilities, and even the compiler throws an error that DISTANCE_TYPE is
undeclared. However, when I redeclare it in my new project, the
compiler throws an error that the type DISTANCE_TYPE is redefined.
Is there any other way to use the enum's in the DLL?
Thank you very much,
Vijay.
I have a DLL (created in C++/CLI), that has a public enum.
For example:
namespace Utilities {
public enum DISTANCE_TYPE
{
a,
b,
c
};
}
This DLL was imported to another C++/CLI project. While I can see the
DISTANCE_TYPE in the 'object browser', I am not able to access it ( I
use: 'DISTANCE_TYPE nDisType;' in my code). The Visual Studio
editor's Intellisense does not list DISTANCE_TYPE as a member of
Utilities, and even the compiler throws an error that DISTANCE_TYPE is
undeclared. However, when I redeclare it in my new project, the
compiler throws an error that the type DISTANCE_TYPE is redefined.
Is there any other way to use the enum's in the DLL?
Thank you very much,
Vijay.