Normally a .lib file is created during build of the corresponding .dll file.
If you only have a dll-file I think you have a problem.
You can see which functions are exported from the dll, by executing the dumpbin utillity - this might give you an idea about what's 'inside' the dll. :
You can use this to use a Funktion from DLL on-line:
typedef BOOL (WINAPI *MYFUNKTIONPTR)(int Argument); //Or another type You use
HMODULE hMod = LoadLibrary("yourunknown.dll"
if(hMod) {
MYFUNKTIONPTR fkn = (MYFUNKTIONPTR)GetProcAddress(hMod, "FunktionName));
if(fkn) {
//Such funktion is in File - You can use it
if(fkn(1)) { //Call funktion
}
else {
}
}
FreeLibrary( hMod);
}
You can find out, wich Funktions are in a dll and see Assembler code of them with Programm PCHacker.
You can download this Program from:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.