Project: BCB development interface, using TeeChart7 drawing curve; VC development of the underlying drivers, offer BCB call DLL library; Calling convention is stdcall; Compiler options in the use of dynamic... And build with the runtime package in front of the box, in addition to the main interface in total launched 11 threads used to access drive and update the data on the interface display, the generated executable files are placed in a not installed BCB run on Windows xp sp2,
Directly in the native compilation of BCB engineering, the generated executable size is 2.77 M, run after a period of time of mistakes, the most common is a refresh thread hangs, occasionally interface is the main thread will be directly exit and RichEdit will pop up Out of the memory in the Resize... Error,
By another machine remote compilation of BCB project connected to the unit, the position of the drag and drop the main window, save the project and exit the BCB, then re-open the project execution compile again, the generated executable size is 2.72 M, is much more stable than the 2.77 M version,
Comparing the two compiled obj files almost exactly the same, only the BCB vcl60 under the installation directory. The CSM file content is far,
For clues, what exactly does remote up different ~ ~ ~
CodePudding user response:
I think the remote or local compile is essentially the same, different will produce some of the compiler Settings,CSM file is just a precompiled files, the purpose is to speed up the compilation speed, will not affect the result of the compilation,
You describe the problem, it should be for multithreaded access object synchronization problems that should be protected, should consider, when coding by the developer and the compiler had nothing to do,
CodePudding user response:
Or check the code and see what's the problem,CodePudding user response:
The compiler how to remote?CodePudding user response:
See if there is something wrong with hard disk, the last time I compiled the program always memory errors, on the virtual machine to compile the normal again,CodePudding user response:
Copies of engineering to the complete compilation of machine on see how it works