I'm having troubles compiling this library as a dll on windows. I know it is my fault, but I was wondering what preprocessing defs need to be defined (ie WXUSINGDLL, WXMAKINGDLL).
I'm using vc++ 7.1 (.NET).
any pointers would be great - thanks
Kirix Support Forums
compiling wxAUI as a dll
7 posts
• Page 1 of 1
At present wxAUI, in its unpatched form, can't be compiled as a DLL. I think on the patch forum you will find a patch which makes it compile as a DLL.
Hope this helps.
All the best,
Ben
Hope this helps.
All the best,
Ben
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
I did have another look in the patch forum and then I downloaded some other third party wx stuff that could be built as a dll.
Using the patch mentioned in http://www.kirix.com/en/community/forum ... c.php?t=43 and then defining WXUSINGDLL and WXMAKINGDLL_AUI I have been able to build wxAUI as a dll and use it with the sample program in the wxAUI source (I was also using wx as dlls).
cheers
Using the patch mentioned in http://www.kirix.com/en/community/forum ... c.php?t=43 and then defining WXUSINGDLL and WXMAKINGDLL_AUI I have been able to build wxAUI as a dll and use it with the sample program in the wxAUI source (I was also using wx as dlls).
cheers
- uts234
- Registered User
- Posts: 4
- Joined: Sun Feb 19, 2006 7:57 pm
I have been able to build wxAUI as a dll and use it with the sample program in the wxAUI source
uts234 did you check your memory consumption? - i also compiled the patched wxaui as dll but i running into trouble - because as dll it causes memory leaks.
@ bwilliams did you got experiences?
By the way as lib or as hard including code in project it causes no leaks. So the code is fine for it standard purposes.
- automatix
- Registered User
- Posts: 9
- Joined: Wed Feb 15, 2006 4:23 am
- Location: Germany
I must admit I didn't notice any memory leaks - however that doesn't mean anything!
I will have a closer look and get back to you
cheers
I will have a closer look and get back to you
cheers
- uts234
- Registered User
- Posts: 4
- Joined: Sun Feb 19, 2006 7:57 pm
- uts234
- Registered User
- Posts: 4
- Joined: Sun Feb 19, 2006 7:57 pm
@uts234 did you it up to work without memory leaks until now?
.. i think this is the worst english i've ever read ..
however some ideas
.. i think this is the worst english i've ever read ..
however some ideas
- automatix
- Registered User
- Posts: 9
- Joined: Wed Feb 15, 2006 4:23 am
- Location: Germany
7 posts
· Page 1 of 1
Return to wxAUI Questions, Thoughts & Feedback