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 » Stripping U++
Stripping U++ [message #39801] Tue, 30 April 2013 21:42 Go to next message
crydev is currently offline  crydev
Messages: 151
Registered: October 2012
Location: Netherlands
Experienced Member
Hello,

I wonder, is there a way to strip U++ in a safe and efficient way? I mean for example, to remove networking, and getting rid of imports like MPR.dll, WINMM.dll, Shell32.dll and registry operations. Is there a way?

Regards,
crydev
Re: Stripping U++ [message #39802 is a reply to message #39801] Tue, 30 April 2013 22:15 Go to previous messageGo to next message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
You should be able to delete much of the stuff from the download package. But what is the reason. Your final executable will not include it. Another benefit of C++.

I work with a java package (NASA WW) that is about 300MB
I clipped it down to about 60MB
Otherwise the executable .jar file was about 27MB with a lot of stuff that is never used is in that file.
After clipping the .jar file is a little over 6MB

What purpose is there in clipping upp?
Re: Stripping U++ [message #39832 is a reply to message #39801] Sun, 05 May 2013 12:46 Go to previous message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
crydev wrote on Tue, 30 April 2013 15:42

Hello,

I wonder, is there a way to strip U++ in a safe and efficient way? I mean for example, to remove networking, and getting rid of imports like MPR.dll, WINMM.dll, Shell32.dll and registry operations. Is there a way?

Regards,
crydev


Just like Nick said - in release mode, if you do not use e.g. TcpSocket, corresponding code is not linked into the application.

Mirek
Previous Topic: What does SSE2 usage enhance?
Next Topic: Compile U++
Goto Forum:
  


Current Time: Sun Jun 16 20:20:25 CEST 2024

Total time taken to generate the page: 0.01695 seconds