I am having difficulty registering a DLL written in Visual C++ 6.0. Here is the code:
#include <windows.h>
#include <io.h>
extern "C" _declspec(dllexport) char *SubString();
char *SubString()
{
char test[15] = "hello trident!";
return test;
}
It is just a test. I just want to get the framewoek correct before proceeding. The dll will be used by VB.
Error message when using regsrvr32:
DLL registerserver entry point not found.
Any ideas what I should do?
gary
#include <windows.h>
#include <io.h>
extern "C" _declspec(dllexport) char *SubString();
char *SubString()
{
char test[15] = "hello trident!";
return test;
}
It is just a test. I just want to get the framewoek correct before proceeding. The dll will be used by VB.
Error message when using regsrvr32:
DLL registerserver entry point not found.
Any ideas what I should do?
gary