在98下:
AllocCsToDsAlias 在kernel里我在2000下,调试了下面代码,AllocCsToDsAlias不在Kernel32里面,在哪里呢?
typedef UINT (WINAPI* ALLOCCSTODSALIAS)(UINT);
ALLOCCSTODSALIAS AllocCsToDsAlias;
HMODULE hKernel;
hKernel = GetModuleHandle("Kernel32");
if(hKernel==NULL)
return;
AllocCsToDsAlias = (ALLOCCSTODSALIAS)GetProcAddress(hKernel,"AllocCsToDsAlias");//
if(AllocCsToDsAlias==NULL)
AfxMessageBox("NO");
else
AfxMessageBox("Yes");
AllocCsToDsAlias 在kernel里我在2000下,调试了下面代码,AllocCsToDsAlias不在Kernel32里面,在哪里呢?
typedef UINT (WINAPI* ALLOCCSTODSALIAS)(UINT);
ALLOCCSTODSALIAS AllocCsToDsAlias;
HMODULE hKernel;
hKernel = GetModuleHandle("Kernel32");
if(hKernel==NULL)
return;
AllocCsToDsAlias = (ALLOCCSTODSALIAS)GetProcAddress(hKernel,"AllocCsToDsAlias");//
if(AllocCsToDsAlias==NULL)
AfxMessageBox("NO");
else
AfxMessageBox("Yes");
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货