VB6有InputBox,vc6呢?
1个回答
2011-12-17
展开全部
char buff[1024];
buff[0]=0;
typedef int (WINAPI ICEPUB_GETINPUTTEXT)(char *strInfo,char *strTitle);
ICEPUB_GETINPUTTEXT *icePub_getInputText = 0;
HINSTANCE hDLLDrv = LoadLibrary("icePubDll.dll");
if(hDLLDrv)
{
icePub_getInputText=(ICEPUB_GETINPUTTEXT*)GetProcAddress(hDLLDrv,"icePub_getInputText");
}
if(icePub_getInputText)
icePub_getInputText(buff," 1) 17 + 28 =");
if(hDLLDrv)
FreeLibrary(hDLLDrv);
buff[0]=0;
typedef int (WINAPI ICEPUB_GETINPUTTEXT)(char *strInfo,char *strTitle);
ICEPUB_GETINPUTTEXT *icePub_getInputText = 0;
HINSTANCE hDLLDrv = LoadLibrary("icePubDll.dll");
if(hDLLDrv)
{
icePub_getInputText=(ICEPUB_GETINPUTTEXT*)GetProcAddress(hDLLDrv,"icePub_getInputText");
}
if(icePub_getInputText)
icePub_getInputText(buff," 1) 17 + 28 =");
if(hDLLDrv)
FreeLibrary(hDLLDrv);
追问
icePubDll.dll哪里有?
追答
hi你下载链接了
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询