A
Asfar
Can anyone tell me how to write a CLR Class Library (C++/CLI DLL)
I have declared my class in .h file as
namespace Test
{
public ref class TestFunctions
{
public:
static bool Function1( );
}
}
and my .cpp file is
namespace Test
{
bool TestFunctions::Function1()
{
bool bRet = false;
return bRet;
}
}
Is this the best way to write a dll using C++/CLI.
I am declaring the functions as static so that I can use them directly from
my application.
Thanks,
-Asfar
I have declared my class in .h file as
namespace Test
{
public ref class TestFunctions
{
public:
static bool Function1( );
}
}
and my .cpp file is
namespace Test
{
bool TestFunctions::Function1()
{
bool bRet = false;
return bRet;
}
}
Is this the best way to write a dll using C++/CLI.
I am declaring the functions as static so that I can use them directly from
my application.
Thanks,
-Asfar