Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » How to write a dll using Ultimate++?
Re: How to write a dll using Ultimate++? [message #11178 is a reply to message #11167] |
Sun, 26 August 2007 01:49   |
 |
fudadmin
Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
|
Ultimate Contributor Administrator |
|
|
Something wrong here with question (project structure?) formulation... 
Oblivion, you said you can't pack U++ code into dll and then you say:
Quote: | Actually, I have a bunch of dlls which contain GUI code in my project.
|
That means, you have got some extra-terrestrial (not U++) GUI code like wxWidgets, Fox etc., does it?
(additional question: Why not to convert all the GUI into U++, then)?
Quote: | If I link these dlls statically with U++, I get a "huge" dll file (1 to 3 megs depending on it's profile Shocked )
|
I wouldn't say 1-3 Mb is huge these days...
Quote: | Assume that I have 3 different dll's which contain U++ code, then the total file size of the dll's would get to almost 6-10 megs Shocked . Now, I call this hell! Razz That's why I need U++ in a dll.
| (I asssume you've checked it in release mode) But... is 6-10mb a really such a big problem to load for nowadays computers?
OTOH, check and compare theide and let's say firefox memory usage... One year ago and a bit, when I was using widows, theide memory usage was comparable to that of notepad.exe...
Also, the assumption logic that, if you merge 3 U++ programs of 2 Mb into one, you'l get 6 Mb is very suspicious (mildly speaking, imo ). Could someone (Mirek?) confirm/deny that?
So, the size of app is your main worry?
If that is the case maybe is worth to think about e.g compression of the executable, using better compiler on windows, playings with optim flags.
And lastly, why not to make U++ your main part and to load other parts as dlls?
|
|
|
 |
|
How to write a dll using Ultimate++?
By: Oblivion on Thu, 23 August 2007 13:56
|
 |
|
Re: How to write a dll using Ultimate++?
By: mirek on Thu, 23 August 2007 17:37
|
 |
|
Re: How to write a dll using Ultimate++?
By: Oblivion on Thu, 23 August 2007 21:51
|
 |
|
Re: How to write a dll using Ultimate++?
By: fudadmin on Thu, 23 August 2007 22:36
|
 |
|
Re: How to write a dll using Ultimate++?
By: Zardos on Thu, 23 August 2007 22:49
|
 |
|
Re: How to write a dll using Ultimate++?
By: Oblivion on Thu, 23 August 2007 23:00
|
 |
|
Re: How to write a dll using Ultimate++?
By: fudadmin on Fri, 24 August 2007 00:45
|
 |
|
Re: How to write a dll using Ultimate++?
By: Oblivion on Fri, 24 August 2007 13:25
|
 |
|
Re: How to write a dll using Ultimate++?
By: Novo on Fri, 24 August 2007 23:23
|
 |
|
Re: How to write a dll using Ultimate++?
By: Novo on Fri, 24 August 2007 23:35
|
 |
|
Re: How to write a dll using Ultimate++?
By: mirek on Sat, 25 August 2007 00:09
|
 |
|
Re: How to write a dll using Ultimate++?
By: fudadmin on Sun, 26 August 2007 01:49
|
 |
|
Re: How to write a dll using Ultimate++?
By: Oblivion on Sun, 26 August 2007 03:15
|
 |
|
Re: How to write a dll using Ultimate++?
By: mirek on Sun, 26 August 2007 09:29
|
 |
|
Re: How to write a dll using Ultimate++?
By: Novo on Mon, 27 August 2007 20:19
|
 |
|
Re: How to write a dll using Ultimate++?
By: mirek on Mon, 27 August 2007 20:56
|
 |
|
Re: How to write a dll using Ultimate++?
By: Novo on Mon, 27 August 2007 23:27
|
 |
|
Re: How to write a dll using Ultimate++?
By: mirek on Sat, 08 September 2007 16:24
|
 |
|
Re: How to write a dll using Ultimate++?
By: Novo on Mon, 10 September 2007 19:08
|
 |
|
Re: How to write a dll using Ultimate++?
By: Novo on Mon, 10 September 2007 19:34
|
 |
|
Re: How to write a dll using Ultimate++?
By: Novo on Tue, 11 September 2007 17:54
|
 |
|
Re: How to write a dll using Ultimate++?
By: Novo on Tue, 11 September 2007 23:04
|
 |
|
Re: How to write a dll using Ultimate++?
By: Novo on Wed, 12 September 2007 20:15
|
 |
|
Re: How to write a dll using Ultimate++?
By: mirek on Sun, 16 September 2007 00:53
|
 |
|
Re: How to write a dll using Ultimate++?
By: Novo on Sun, 16 September 2007 04:01
|
 |
|
Re: How to write a dll using Ultimate++?
By: mirek on Sun, 16 September 2007 08:25
|
 |
|
Re: How to write a dll using Ultimate++?
By: Novo on Thu, 20 September 2007 16:57
|
 |
|
Re: How to write a dll using Ultimate++?
By: mirek on Thu, 20 September 2007 21:38
|
 |
|
Re: How to write a dll using Ultimate++?
By: Novo on Thu, 20 September 2007 22:16
|
 |
|
Re: How to write a dll using Ultimate++?
By: mirek on Fri, 21 September 2007 01:40
|
 |
|
Re: How to write a dll using Ultimate++?
By: Novo on Thu, 20 September 2007 22:36
|
 |
|
Re: How to write a dll using Ultimate++?
By: mirek on Sun, 16 September 2007 00:54
|
 |
|
Re: How to write a dll using Ultimate++?
By: Novo on Sun, 16 September 2007 03:41
|
 |
|
Re: How to write a dll using Ultimate++?
By: fudadmin on Thu, 23 August 2007 17:46
|
 |
|
Re: How to write a dll using Ultimate++?
By: mr_ped on Fri, 24 August 2007 19:15
|
 |
|
Re: How to write a dll using Ultimate++?
By: Novo on Fri, 24 August 2007 23:12
|
Goto Forum:
Current Time: Sun Aug 24 22:16:55 CEST 2025
Total time taken to generate the page: 0.06782 seconds
|