hmm... i thought it was just my version of DarkBasic Pro that couldn't run the
extern "C" commands.
i've got a little experimenting to see what actually does work though, because i must admit the functions i've been trying just don't like to work full stop right now lol
try a simple DLL like this
C/C++ ->
#include <stdio.h>
#include "mycomm.h"
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
return TRUE;
}
DWORD ReturnTrue( void );
{
return TRUE;
}
mycomm.h
#define DBCOMMAND __declspec ( dllexport )
extern "C"
{
DBCOMMAND DWORD ReturnTrue( void );
}
setup the string table like so ->
true[%D%ReturnTrue%Boolean = true() ... i think that should work, i mean i'll test it in a sec but i'm fairly sure it should - unless the undecorated don't require the string table.
Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?