2010-08-14
展开全部
{
typedef int (WINAPI ICEPUB_DISPBMP)(HWND hWnd,char *strBmpFilename,int x,int y);
ICEPUB_DISPBMP *icePub_dispBmp = 0;
HINSTANCE hDLLDrv = LoadLibrary("icePubDll.dll");
if(hDLLDrv)
{
icePub_dispBmp = (ICEPUB_DISPBMP *)GetProcAddress(hDLLDrv, "icePub_dispBmp");
}
if(icePub_dispBmp != NULL)
icePub_dispBmp(m_ctrlText.m_hWnd,"b.bmp",0,0);
}
//m_ctrlText为一文本框控件的control变量
http://www.360doc.com/content/10/0723/13/1898714_40880762.shtml
有例子程序
typedef int (WINAPI ICEPUB_DISPBMP)(HWND hWnd,char *strBmpFilename,int x,int y);
ICEPUB_DISPBMP *icePub_dispBmp = 0;
HINSTANCE hDLLDrv = LoadLibrary("icePubDll.dll");
if(hDLLDrv)
{
icePub_dispBmp = (ICEPUB_DISPBMP *)GetProcAddress(hDLLDrv, "icePub_dispBmp");
}
if(icePub_dispBmp != NULL)
icePub_dispBmp(m_ctrlText.m_hWnd,"b.bmp",0,0);
}
//m_ctrlText为一文本框控件的control变量
http://www.360doc.com/content/10/0723/13/1898714_40880762.shtml
有例子程序
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询