Hi everybody,
I own C++ (VS 2005), the DarkGDK and i like to write a DBPro DLL using the DarkGDK commands.
Im very new with C++, and dont know how to combine DGDK with C++ so, that it works with DBPro.
What must i do that this Code works fine??
#include "stdafx.h"
#include "DarkGDK.h"
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
return TRUE;
}
#define MYCOMMAND __declspec ( dllexport )
MYCOMMAND int FreeImage( void )
{
int index = 0;
int found = 0;
do
{
index++;
if (dbImageExist(index)==0) found=index;
} while ( found==0 );
return found;
}
THX for any help
DB Noob