I found the other way in vc++ help
First I should follow the help for creating a new DLL file.
Then I must Config the project.
for my GDK program
#include "DarkGDK.h""
#include "MyDll.h" //include dll header file
using namespace MathFuncs; //use the name space in the dll file
void DarkGDK ( void )
{
dbSyncOn ( );
dbSyncRate ( 60 );
dbPrint( (double) MyMathFuncs::Add( 10, 20) );
dbPrint( (double) MyMathFuncs::Subtract( 10, 20) );
dbPrint( (double) MyMathFuncs::Multiply( 10, 20) );
dbPrint( (double) MyMathFuncs:
ivide( 10, 20) );
////
using this methode no need to call dbLoadDLL(...)
but I still don't know how to solve a linking error that I occured
can someone help me please ?