CB怎么免注册调用大漠呢?
就是调用dm.dll,我怎么写都报错。
CoInitialize(NULL);
HMODULE hmod = LoadLibrary("D:\\ebhb\\bcb6\dm1\\DmReg.dll");//加载dll 参数DLL路径
DWORD dlladdr = (DWORD)GetProcAddress(hmod,"SetDllPathA");
DWORD dmdlladdr = (DWORD)(char*)"D:\\ebhb\\bcb6\\dm1\\dm.dll";
_asm
{
push 0;
push dmdlladdr;
call dlladdr;
}
dm.CreateDispatch("dm.dmsoft");
结果说是不知道的符号dm