Stop: c0000139 { Entry Point Not Found} The procedure entry point GdiGetBitmapBitssize could not be located in the dynamic link library Gdi32.dll First i got that problem. Then i replaced the gdi32.dll in system32 folder. Ended up getting another error: Kernel32.dll is not connecting to the dynamic link library Kernell32.dl Solution: Copy gdi32.dll from c:\windows\servicepackfiles\i386\gdi32.dll to c:\windows\system32\gdi32.dll. (Do keep a backup copy of the old gdi32.dll in c:\windows\system32 directory)