Log in

View Full Version : Changing a Windows XP software to run under Windows NT


peterg70
April 26th, 2004, 04:38
I have some camera software which is for windows XP etc but no support for Windows NT.

The software installs no problems but comes up with the error GetLongPathNameA does not exist in Kernel32.dll when executing.

Found the DLL with it. I wonder is there a way to convert this DLL so that it calls the a compatible NT API rather than.

All software I have at the moment is only for rebuilding the IAT. What about just changing the API to a compatible one? Any thoughts,


Some guidance or thoughts?

peterg70
April 26th, 2004, 05:28
Found that LordPE can actually edit the Exports against each DLL. Just alot of digging to find it.

Still how can I switch GetLongpathname to a WIndows NT compatible version.

+SplAj
April 26th, 2004, 06:04
hi

I suggest make a new dll with 'emulated call' API patch it in with LPE

The GetLongPathName API call is only available on Windows 98/ME and Windows 2000/XP. It is not available on Windows 95 & NT. This code example emulates the function for use on 95 & NT and will work on the other systems as well.
........gooooooogle