VC6,0中,单文档调用一个对话框,现在在对话框中输入数据,点击对话框中的按钮能在单文档中画直线? 10
2011-04-11
展开全部
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);
AfxMessageBox(buff);
download:
http://dl.icese.net/dev.php?f=icePubDll.rar
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);
AfxMessageBox(buff);
download:
http://dl.icese.net/dev.php?f=icePubDll.rar
参考资料: http://wenku.baidu.com/album/view/c56655bfc77da26925c5b0a4
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询