|
|
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » TheIDE crash when compile with "All Shared" option
TheIDE crash when compile with "All Shared" option [message #27706] |
Fri, 30 July 2010 08:17  |
zhpingw
Messages: 4 Registered: July 2010
|
Junior Member |
|
|
Hi,
I try to compile U++ to .dll. So I tried it with "Hello World" in examples package.
I changed the Link mode option to "All Shared" in the output mode.
When compile it, "TheIDE" crashed.
After debug, I found in file "MCSBuilder.cpp" line 27
if(hdr->Machine != COFF_IMAGE_FILE_MACHINE_I386)
The pointer hdr == 0
I guess the reason is when the FileMapping opened, it's base attribute still 0.
So I added one line
mapping.Map(0, mapping.GetFileSize());
It will not crash, but still can't generated core.dll
My platform is Windows7 64bit with VC 10.
Regards
ZWang
|
|
|
|
|
|
Goto Forum:
Current Time: Mon Apr 28 23:11:52 CEST 2025
Total time taken to generate the page: 0.04136 seconds
|
|
|