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 #11179 is a reply to message #11178] |
Sun, 26 August 2007 03:15   |
Oblivion
Messages: 1226 Registered: August 2007
|
Senior Contributor |
|
|
Quote: | 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)?
|
I was using MFC (as a dll) in my project(s). Actually, I was nearly a "diehard" MFC user. But after considering the disadvantages of the age-old MFC and the advantages or the possible benefits of the ultimate++, I decided to convert my MFC based multi-protocol IM project into U++. I've already finished converting the main framework into U++ without any problems. The main executable (which consists of a service handler and a GUI) is now working fine (And I have to admit that, with the u++ it looks and acts much more better ).
Quote: | And lastly, why not to make U++ your main part and to load other parts as dlls?
|
Firstly; U++ is the main part of my project and I use some other parts of GUI code (gui-extension plugins) as dlls. But as I stated before,
Quote: | 3. Yes, I have successfully compiled the template. But it is an ordinary win32 dll template and the problem is that whenever I load any U++ GUI class through the dll (eg. opening a TopWindow), The main or child windows layouts (eg, borders, colors) get corrupted or not drawn. In MFC, for example, AFX_MANAGE_STATE() macro is used to prevent such misfunctioning. Is there any macro, or method needed to be called before initalization of the dlls in u++?
|
Is there any solution to this odd behaviour? Upp based GUI-extension dlls compile without any errors or warnings. But the gui components looks corrupted every time I load them through the dlls. I didn't come by any special dll entry point (dllmain()) function or macro in the documentation or in the upp source code, which I should invoke. Am I missing something?
It's no problem for me to code these dll's in any other framework. But U++ has many benefits as far as I can see. So that's why I'm insisting on the dll issue. 
Secondly; as to a U++.dll, ok I give up this idea for some time
Regards.
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
|
|
|
 |
|
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:25:34 CEST 2025
Total time taken to generate the page: 0.05222 seconds
|