c語(yǔ)言生成dll文件 c 如何導(dǎo)出dll中的類(lèi),沒(méi)有頭文件的那種?
c 如何導(dǎo)出dll中的類(lèi),沒(méi)有頭文件的那種?Typedef bool(WinAPI*lpfsetlayeredwindowattributes)(hWnd,colorref,byte,DWORD)/
c 如何導(dǎo)出dll中的類(lèi),沒(méi)有頭文件的那種?
Typedef bool(WinAPI*lpfsetlayeredwindowattributes)(hWnd,colorref,byte,DWORD)//函數(shù)類(lèi)型address
hinstance Muhinctance=LoadLibrary(“User32.DLL”)
if(Muhinctance)//加載名為User32的DLL。DLL
mupfsetlayeredwindowattributes =(lpfSetLayeredWindowAttributes)GetProcAddress(muhinctance,“setlayeredwindowattributes”)//獲取名為setlayeredwindowattributes的函數(shù)的地址