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 » Developing U++ » U++ Developers corner » [Tutorial] Using the Visual Studio IDE with U++
Re: [Tutorial] Using the Visual Studio IDE with U++ [message #37560 is a reply to message #37559] Thu, 18 October 2012 11:54 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13978
Registered: November 2005
Ultimate Member
crydev wrote on Thu, 18 October 2012 04:58

Quote:

It is fine, except it does not solve .icpp problem.

Things like loading image in any format will not work (because image plugins will not get registered).


Sorry I forgot my solution to these problems. As for the .icpp files: I renamed them to .cpp and they compiled.



But that does not solve the problem.

Please test this app:

http://www.ultimatepp.org/examples$ImageView$en-us.html

Without correct .icpp handling, it would not work, because

StreamRaster::OpenAny

will return nothing, as registration in .icpp files is not performed.

Quote:


I also forgot to post a common problem with this solution which I think has to do with one of the issues you mention. When you run your program the GUI is not proper. The border are missing, buttons are black on some places and arrayctrl headers are not drawn properly.


Yes, very likely.

The definition of .icpp files is that all global constructors in these are performed on startup. If you put those into .lib, linker will not link these files into .exe (as there are no references to the code) and thus you e.g. will not have png plugin available for StreamRaster::OpenAny.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Skylark timer jobs...
Next Topic: OpenGL texture issues
Goto Forum:
  


Current Time: Sun May 12 19:14:29 CEST 2024

Total time taken to generate the page: 0.03206 seconds