Type: Posts; User: Ralf Schneider
Search took 0.01 seconds.
January 10th, 2013, 04:31 AM
but the problem is that glEndList do not release the memory.
If I use 1000x glNewlist and glEndList, there can be 260MB allocated!
January 9th, 2013, 06:52 AM
I have a big problem in my app.
Many times I create a displaylist, the following function allocated approx. 260KB!
I figured this out by...
January 4th, 2013, 01:34 AM
I am happy to have a forum to get help, but once again:
the path was not hard coded.
I get the path from CWinApp::m_pszHelpFilePath.
Then I extract the path from the string and add...
January 3rd, 2013, 11:06 AM
I did not hard coded it!
And I provided CreateProcess with the correct path, but Windows was confused with two files/folders which were translated to the same name. In the users system you...
January 3rd, 2013, 05:08 AM
I think it is a problem especially with the German windows version.
In the folder "C:" the user has a file called "Program" and the folder "Program files"....
January 3rd, 2013, 01:57 AM
But that can not be the reason.
I use the full path in the CreateProcess-call.
January 2nd, 2013, 01:44 PM
it is difficult to test it on the users pc.
But is that possible?
It is written to the drive from the setup medium (CDROM), directly.
The setup was done more than once to check...
January 2nd, 2013, 12:50 PM
on a customers pc I have the following problem:
I want to run an exe file with CreateProcess, but this generates the error 193 which means
%1 is not a valid...
December 28th, 2012, 01:35 AM
December 27th, 2012, 04:09 AM
the DLLs are not developed by me. I have to use it and find the bugs!!!!!
But do not think about further. My problem is solved for the moment.
December 25th, 2012, 02:48 AM
char* zz=new char; // without releasing later!
somewhere in the code.
December 24th, 2012, 03:31 AM
maybe there are no memory leaks?
Then there is no report!
December 24th, 2012, 01:40 AM
do you refer to my link?
In MFC you do not need it. The leaks will be shown at the end of the programme in debug mode with VC++ automatically.
December 20th, 2012, 07:59 AM
thx. The problem were C++ new.
I found this and it helps:
December 20th, 2012, 06:40 AM
thx. I am one step further!
The calling app is mfc. The dll non-mfc.
Now, I included
in the header files of the...
December 20th, 2012, 05:25 AM
To check it, I write this code:
char* fgh=new char;
But it will not be shown.
December 20th, 2012, 04:52 AM
when ending my app in the debugger, memory leaks will be shown like this:
Detected memory leaks!
Dumping objects ->
C:\PROGRAM FILES\VISUAL STUDIO\MyProjects\leaktest\leaktest.cpp(20) :...
December 19th, 2012, 10:49 AM
I have a question:
before I call GetSaveFileName the memory usage is:
1657MB free, largest free memory block: 1080MB
after calling GetSaveFileName:
1641MB free, largest free memory...
December 14th, 2012, 04:19 AM
that sounds complicated.
My problem occurs in a DLL.
Do I have to enable the low-fragmentation heap at the beginning of the calling app?
December 14th, 2012, 02:53 AM
I try to allocate approx. 50MB of memory for a DIB:
hDIB= GlobalAlloc(GHND,dw /*approx 50MB*/);
It fails. But Windows task manager told me that more than 500MB available.
The OS is...
July 12th, 2012, 04:30 AM
how can I get the height of a item in a standard CListBox?
Is there something like GetSystemMetrics for that?
I want to create a customized listbox with the standard height!
June 18th, 2012, 01:56 AM
can you see that there is something wrong in the code snippet written in the above link (http://forums.codeguru.com/showthread.php?t=523980)?
June 14th, 2012, 04:58 AM
I know, that you want to help me. Please tell me, are you familiar with the DIBSection stuff?
AFAIK: the link demonstrates that the approach with the DIBSection do not work. Because...
June 14th, 2012, 04:18 AM
I tried to use CreateDIBSection also.
But there were also some problems.
AFAI remember a DIBSection can not be selected into the DC (SelectObject works not for DIBs) and then a...
June 14th, 2012, 02:47 AM
I think, CreateCompatibleBitmap uses video memory:
I uses Process explorer (linked above) to check the memory consumption.
And there is no changes in the amount of "physical memory -...
Click Here to Expand Forum to Full Width