PrintWindow

Windows 2000 fixes and solutions for apps

PrintWindow

PostPosted by charlieb000 » Sat Mar 19, 2011 9:40 am

i have used the latest wrapper on here, it is a little confusing so what i did was after it installed i copied files from the XPDLL dir to the bin directory of the wrapper download, then i modified the Start in: (of the Shortcut to the program i wish to run) to be the bin directory. then i do the uninstall.


i have tried to run KVIRC - i am sure this program used to work on 2k without any mods (so a reinstall might be needed in future).... the installation of the wrapper fails to do anything, and i get a 'freeaddrinfo could not be located in the dynamic link library WS2_32.DLL" either way (with or without the wrapper). when i do what i said in the above text i get a different error, further on: "PrintWindow could not be located in the dynamic link library USER32.dll" so is there a bug in the wrapper?

cb
charlieb000
 
Posts: 11
Joined: Sun Nov 21, 2010 2:05 am

Re: PrintWindow

PostPosted by charlieb000 » Sat Mar 19, 2011 10:23 am

according to http://msdn.microsoft.com/en-us/library ... 85%29.aspx bits of code can be "included" to make it work, (can this be an alternate route to what OC did for the wrapper or is it what he did?)

The freeaddrinfo function was added to the Ws2_32.dll on Windows XP and later. To execute an application using this function on earlier versions of Windows (Windows 2000, Windows NT, and Windows Me/98/95), then you must include the Ws2tcpip.h file and also include the Wspiapi.h file. When the Wspiapi.h include file is added, the freeaddrinfo function is defined to the WspiapiFreeAddrInfo inline function in the Wspiapi.h file. At runtime, the WspiapiFreeAddrInfo function is implemented in such a way that if the Ws2_32.dll or the Wship6.dll (the file containing freeaddrinfo in the IPv6 Technology Preview for Windows 2000) does not include freeaddrinfo, then a version of freeaddrinfo is implemented inline based on code in the Wspiapi.h header file. This inline code will be used on older Windows platforms that do not natively support the freeaddrinfo function.
charlieb000
 
Posts: 11
Joined: Sun Nov 21, 2010 2:05 am

Re: PrintWindow

PostPosted by charlieb000 » Sat Mar 19, 2011 10:33 am

i ran dependency walker and have red boxes on MPR.dll USER32.dll and WS2_32.dll (do not have the wrapper on as im sure it worked without it)

Code: Select all
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

Started "KVIRC.EXE" (process 0x65C) at address 0x00400000.  Cannot hook module.
Loaded "NTDLL.DLL" at address 0x77F80000.  Cannot hook module.
Loaded "LIBKVILIB.DLL" at address 0x6F4C0000.  Cannot hook module.
Loaded "ADVAPI32.DLL" at address 0x7C2D0000.  Cannot hook module.
Loaded "KERNEL32.DLL" at address 0x7C570000.  Cannot hook module.
Loaded "RPCRT4.DLL" at address 0x77D30000.  Cannot hook module.
Loaded "MSVCRT.DLL" at address 0x78000000.  Cannot hook module.
Loaded "USER32.DLL" at address 0x77E10000.  Cannot hook module.
Loaded "GDI32.DLL" at address 0x77F40000.  Cannot hook module.
Loaded "LIBEAY32.DLL" at address 0x10000000.  Cannot hook module.
Loaded "WSOCK32.DLL" at address 0x75050000.  Cannot hook module.
Loaded "WS2_32.DLL" at address 0x75030000.  Cannot hook module.
Loaded "WS2HELP.DLL" at address 0x75020000.  Cannot hook module.
Loaded "MSVCR90.DLL" at address 0x78520000.  Cannot hook module.
Loaded "SSLEAY32.DLL" at address 0x00330000.  Cannot hook module.
Loaded "QTCORE4.DLL" at address 0x6A1C0000.  Cannot hook module.
Loaded "MINGWM10.DLL" at address 0x6FBC0000.  Cannot hook module.
Loaded "OLE32.DLL" at address 0x7CE20000.  Cannot hook module.
Loaded "LIBGCC_S_DW2-1.DLL" at address 0x6E940000.  Cannot hook module.
Loaded "QTGUI4.DLL" at address 0x65100000.  Cannot hook module.
Loaded "COMDLG32.DLL" at address 0x76B30000.  Cannot hook module.
Loaded "SHLWAPI.DLL" at address 0x70BD0000.  Cannot hook module.
Loaded "COMCTL32.DLL" at address 0x71710000.  Cannot hook module.
Loaded "SHELL32.DLL" at address 0x7CF30000.  Cannot hook module.
Loaded "IMM32.DLL" at address 0x75E60000.  Cannot hook module.
Loaded "OLEAUT32.DLL" at address 0x779B0000.  Cannot hook module.
Loaded "WINMM.DLL" at address 0x77570000.  Cannot hook module.
Loaded "WINSPOOL.DRV" at address 0x77800000.  Cannot hook module.
Loaded "MPR.DLL" at address 0x76620000.  Cannot hook module.
Loaded "LIBZ-1.DLL" at address 0x00370000.  Cannot hook module.
Second chance exception 0xC0000139 (DLL Not Found) occurred in "NTDLL.DLL" at address 0x77FAC57C.
Exited "KVIRC.EXE" (process 0x65C) with code 128 (0x80).

==
with wrapper: last lines:
Loaded "LIBZ-1.DLL" at address 0x00380000.  Cannot hook module.
Loaded "LIBSTDC++-6.DLL" at address 0x6FC40000.  Cannot hook module.
Second chance exception 0xC0000139 (DLL Not Found) occurred in "NTDLL.DLL" at address 0x77FAC57C.
Exited "KVIRC.EXE" (process 0x6C4) with code 128 (0x80).

charlieb000
 
Posts: 11
Joined: Sun Nov 21, 2010 2:05 am


Return to Backporting Applications

Who is online

Users browsing this forum: No registered users and 0 guests

cron