Hi,
I am currently working on Visual Studio .NET 2003 project files for wxAUI supporting Dll compilation and I wondered if anyone is either interested or has already done it/part of it and wants to share some thoughts.
yours,
Thies
Kirix Support Forums
Visual Studio .NET 2003 Project Files and DLL support
8 posts
• Page 1 of 1
- Thies.Pfeiffer
- Registered User
- Posts: 4
- Joined: Mon Apr 03, 2006 8:48 am
I would be very intresred in this and yes i did something similar (i think ) for MSVC 6 but there was a problem with memory leaks when using DLL builds.
You might have a look to
http://www.kirix.com/en/community/forums/viewtopic.php?t=43
and
http://www.kirix.com/en/community/forums/viewtopic.php?t=93
So maybe you find the right way
regards
lars
You might have a look to
http://www.kirix.com/en/community/forums/viewtopic.php?t=43
and
http://www.kirix.com/en/community/forums/viewtopic.php?t=93
So maybe you find the right way
regards
lars
- automatix
- Registered User
- Posts: 9
- Joined: Wed Feb 15, 2006 4:23 am
- Location: Germany
Memory Leak
Hi,
hmm. I just checked and my current solution also has a memory leak (~100 byte). But VS tells me the same for the static version, so that seems to be not an issue specific for the DLL, or am I missing something?
Alas, I will soon be ready to post a ZIP with my modified wxAUI, including the WXEXPORT definitions in the source and a little restructuring of the build directories to support for both DLL and Static targets in the base library and the sample.
ys,
Thies
hmm. I just checked and my current solution also has a memory leak (~100 byte). But VS tells me the same for the static version, so that seems to be not an issue specific for the DLL, or am I missing something?
Alas, I will soon be ready to post a ZIP with my modified wxAUI, including the WXEXPORT definitions in the source and a little restructuring of the build directories to support for both DLL and Static targets in the base library and the sample.
ys,
Thies
- Thies.Pfeiffer
- Registered User
- Posts: 4
- Joined: Mon Apr 03, 2006 8:48 am
- automatix
- Registered User
- Posts: 9
- Joined: Wed Feb 15, 2006 4:23 am
- Location: Germany
Memory Leak
Hi,
with the DLL version WinDBG announces the following leak:
Detected memory leaks!
Dumping objects ->
{6084} normal block at 0x00EB4050, 100 bytes long.
and with the static version its:
Detected memory leaks!
Dumping objects ->
{5490} normal block at 0x00B1D248, 100 bytes long.
Data: <\ ] @ ] > 5C D6 5D 00 00 00 00 00 40 D6 5D 00 00 00 00 00
Both are debug versions of the wxauitest sample from the library...
So in my case it really does not seem to be a static/dll issue.
ZIPPED project coming soon.
cu,
Thies
with the DLL version WinDBG announces the following leak:
Detected memory leaks!
Dumping objects ->
{6084} normal block at 0x00EB4050, 100 bytes long.
and with the static version its:
Detected memory leaks!
Dumping objects ->
{5490} normal block at 0x00B1D248, 100 bytes long.
Data: <\ ] @ ] > 5C D6 5D 00 00 00 00 00 40 D6 5D 00 00 00 00 00
Both are debug versions of the wxauitest sample from the library...
So in my case it really does not seem to be a static/dll issue.
ZIPPED project coming soon.
cu,
Thies
- Thies.Pfeiffer
- Registered User
- Posts: 4
- Joined: Mon Apr 03, 2006 8:48 am
so i'm back i create a project ..
in static link version of wxAUI with dynamic wxWidgets
first dosn't matter is only dib image
on dynamic version i get the mentioned leaks
so imho must be problem with patched declaration
in static link version of wxAUI with dynamic wxWidgets
- Code: Select all
[3208] 16:23:02: c:\wxWidgets-2.6.2\src\msw\dib.cpp(298): 'Loading DIB from file' failed with error 0x00000002 (das System kann die angegebene Datei nicht finden.).
[3208] 16:23:15: exit
first dosn't matter is only dib image
on dynamic version i get the mentioned leaks
so imho must be problem with patched declaration
- automatix
- Registered User
- Posts: 9
- Joined: Wed Feb 15, 2006 4:23 am
- Location: Germany
DLL Mod
Hi,
so here is my repackaging of wxAUI 0.9.1 with patched files to support DLLs.
You can download the ZIP package here: http://thies.agentensysteme.de/files/wxaui-0.9.1-dllmod.zip.
The changes are described in the changes.txt in the ZIP.
ys,
Thies
so here is my repackaging of wxAUI 0.9.1 with patched files to support DLLs.
You can download the ZIP package here: http://thies.agentensysteme.de/files/wxaui-0.9.1-dllmod.zip.
The changes are described in the changes.txt in the ZIP.
ys,
Thies
- Thies.Pfeiffer
- Registered User
- Posts: 4
- Joined: Mon Apr 03, 2006 8:48 am
i checked it out !!! great ! works!! without memory leaks!!!
youre right your mod works well --- no leaks if i use it with my own code --
example code leaks!! imho it depending on multiple center panes but i'm not sure
thx to ya man
youre right your mod works well --- no leaks if i use it with my own code --
example code leaks!! imho it depending on multiple center panes but i'm not sure
thx to ya man
- automatix
- Registered User
- Posts: 9
- Joined: Wed Feb 15, 2006 4:23 am
- Location: Germany
8 posts
· Page 1 of 1
Return to wxAUI Patches & Modifications