Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
zhpingw is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: String to int
Next Topic: theide does not show content of external headers
Goto Forum:
  


Current Time: Mon Apr 29 14:29:35 CEST 2024

Total time taken to generate the page: 0.01892 seconds