AlionSolutions
December 11th, 2006, 03:59 PM
Hi,
I just came across a strange problem: I have coded an application using Borland C++-Builder (using VCL-Classes) and recently I bought a new computer. It is a dualcore 64-Bit system running Win XP Pro 32 bit. When I started the program, it crashed at several locations, where it did run perfectly on the old machine (Athlon XP 2000+ Win XP Pro). I needed to recompile it on the new system and everything was fine.. no crashes.
Now when I gave the program to my girlfriend for testing and installed it on her computer (my old system) it crashed at the same locations, where it crashed when I first ran it on my new system.
My question is: Is it possible, that I cannot compile applications on my new system that run on older systems. Or otherwise: Is it possible that the system one compiles an application on affects on which machine the application is able to run?
I mean, I use no special assembler code inside my application. So it must be machine independent. Or....?
I located the parts where the crashes occur everywhere, where multithreading was used. I don't use the Borland VCL Thread Classes such as TThread. I create my threads by calling Win32 CreateThread.
Thanks in advance for any tips
Juergen
I just came across a strange problem: I have coded an application using Borland C++-Builder (using VCL-Classes) and recently I bought a new computer. It is a dualcore 64-Bit system running Win XP Pro 32 bit. When I started the program, it crashed at several locations, where it did run perfectly on the old machine (Athlon XP 2000+ Win XP Pro). I needed to recompile it on the new system and everything was fine.. no crashes.
Now when I gave the program to my girlfriend for testing and installed it on her computer (my old system) it crashed at the same locations, where it crashed when I first ran it on my new system.
My question is: Is it possible, that I cannot compile applications on my new system that run on older systems. Or otherwise: Is it possible that the system one compiles an application on affects on which machine the application is able to run?
I mean, I use no special assembler code inside my application. So it must be machine independent. Or....?
I located the parts where the crashes occur everywhere, where multithreading was used. I don't use the Borland VCL Thread Classes such as TThread. I create my threads by calling Win32 CreateThread.
Thanks in advance for any tips
Juergen