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 #11653 is a reply to message #11508] |
Thu, 20 September 2007 16:57   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
luzr wrote on Sun, 16 September 2007 02:25 |
Well, AFAIK, you cannot with MSC.
|
Check that with *Dependency Walker* yourself. I've attached an example.
Quote: |
Quote: |
Using of a function, which returns a pointer to data, is another solution.
|
Yes. Anyway, in some cases, this leads to much slower code. E.g. look into Core/Charset.h, to the set of definitions starting with IsLetter (there are two paths; for SO version you cannot use the inlines).
Mirek
|
Call to a function in DLL will always be a little bit slower. Same as with virtual functions. As usual, I have a test for this ...
Pointer to a function performance tests ...
Raw function: 0 sec.
Raw pointer to a function: 0.421 sec.
Boost.Function: 0.938 sec.
FastDelegate: 0.797 sec.
Pointer to a function in DLL performance tests ...
Raw function: 0.578 sec.
Raw pointer to a function: 0.594 sec.
Boost.Function: 0.937 sec.
FastDelegate: 0.75 sec.
Method call performance tests ...
Method call: 0 sec.
Raw pointer to a method: 0.391 sec.
Boost.Function: 0.719 sec.
FastDelegate: 0.406 sec.
Method call in DLL performance tests ...
Method call: 0.578 sec.
Raw pointer to a method: 0.609 sec.
Boost.Function: 0.735 sec.
FastDelegate: 0.578 sec.
Virtual method call performance tests ...
Virtual method call: 0.594 sec.
Raw pointer to a virtual method: 0.562 sec.
Boost.Function: 0.953 sec.
FastDelegate: 0.594 sec.
Virtual method call in DLL performance tests ...
Virtual method call: 0.609 sec.
Raw pointer to a virtual method: 0.563 sec.
Boost.Function: 0.922 sec.
FastDelegate: 0.593 sec.
Regards,
Novo
|
|
|
 |
|
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:23 CEST 2025
Total time taken to generate the page: 0.05155 seconds
|