i tested each os that below code in Win98,Win2000.
but different value this variable "procFunc".
i guess wrong value in Win98.
what is wrong? i just get address BitBlt in gdi32.dll.
how can i get right value. gave me your advise.
///////////////////////////////////////
// code start
HMODULE hMod;
FARPROC procFunc;
// Right get value.
hMod=GetModuleHandle("GDI32.DLL");
// wrong get value.
procFunc = GetProcAddress(hMod,"BitBlt");
////////////////////////////////////////