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 #11508 is a reply to message #11507] |
Sun, 16 September 2007 08:25   |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
Novo wrote on Sat, 15 September 2007 22:01 |
luzr wrote on Sat, 15 September 2007 18:53 | As for global vars and DLL, perhaps I was not specific.
The problem is not global var per see, but what you cannot do is to reference the global variable of other .dll.
In other words, "extern" does not work for data from another dll.
(It does with some trickery, witch involves converting the access to data to call to a function that returns a pointer to data).
Mirek
|
That is not a problem at all comparing to real problems.
That is some sort of small inconvenience. I believe you can export data from DLL using __declspec( dllexport ).
|
Well, AFAIK, you cannot with MSC.
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
|
|
|
 |
|
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:08:00 CEST 2025
Total time taken to generate the page: 0.09288 seconds
|