Porting from win2000 to winXP

I was wondering if there are any common steps to port a program over to winXP from win2000.

This program was written with Borland C++ builder 6

The programs runs fine on 2000.

When it runs on XP, it crashes within about 15 mins.

while the program is running you can open task manager, and see the memory used by the application climb and climb. until eventually it crashes.

when the application finally crashes theres a few error codes in the event viewer.

the main one I remember is Hung App error dealing with riched20.dll (which i have used several versions, including the latest and greatest.)

Any ideas for me ? Where to start ?

*if any additional information is needed i will post*
If the memory is climbing and not going down, you probably have some sort of a memory leak...see if you have any loop that is allocating new memory without deleting it.
If this were the case wouldn't it crash in win2k as well ?

maybe win2k handles the leak differently then XP does ?
Last edited on
closed account (z05DSL3A)
It could be that the riched20.dll file is corrupted, or has been relaced with a different or older version. There is also a virus that messes with this dll (W32.Nimda.A@mm).
I've actually replaced this dll a few times with newer and older versions.

Something interesting though, when i try to register it with the command

-regsvr32 riched20.dll a prompt come up saying the following.

riched20.dll was loaded, But the DllRegisterServer Entry Point was not found.

This file can not be registered.
Topic archived. No new replies allowed.