|
Well, he was short on detail so I answered as best I could....
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
|
|
|
|
|
Save screen shots into files
Al
|
|
|
|
|
My first question is where did you get the 10mb size from? If you got this from task-manager it is just about useless. If you used a HeapSize function, that's a little better.
My second question is how much memory do you want your app to run in? 8k, 1mb, 5mb, etc?
My third question is does memory usage grow and grow but never shrink? If so, you probably have a memory leak somewhere.
Generally speaking desktop for desktop apps 10mb of memory (as reported by Task Manager) is not that much. Remember that the amount of memory reported by task-manager includes the size of all mapped DLLs, etc. This means that your app is reporting MFC42.dll, MSVCRT.dll, kernerl.dll, etc even though it does not have a complete private copy of these.
10mb of actual heap allocation might be a large amount depending on the type of application.
|
|
|
|
|
Hi,
Thanx
How can i get the actual memory (using heapsize) of a process..
Sameer
|
|
|
|
|
Has anyone got any knowledge of VPIM? Are there any free clients out there that can play vpim messages?
Thanx
Scracha
|
|
|
|
|
In a listctrl,I create a Combobox.
{
m_ComboBox.Create(WS_VISIBLE | WS_CHILD | WS_BORDER|WS_VSCROLL|CBS_OWNERDRAWFIXED
|CBS_DROPDOWNLIST | CBS_NOINTEGRALHEIGHT | CBS_SORT,rect,this,IDC_COMBOBOX);
}
But I kept getting a Debug Assertion Failed.
When I comment out the "|CBS_OWNERDRAWFIXED",it works well.But I have to use this option because of the DrawItem() function.
Can any one tell me the reason?Any conflicts in the style parameters?
Thx ahead.
|
|
|
|
|
Whats the ASSERT statement?
(2b || !2b)
|
|
|
|
|
I can only trace to this line:
HWND hWnd = ::CreateWindowEx(cs.dwExStyle, cs.lpszClass,
cs.lpszName, cs.style, cs.x, cs.y, cs.cx, cs.cy,
cs.hwndParent, cs.hMenu, cs.hInstance, cs.lpCreateParams);
//in the CWnd::CreateEx
then I get an access violation error message in the USER32.DLL.
|
|
|
|
|
That's all
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
|
|
|
|
|
Mine was MEsssage 40000 not yrs
|
|
|
|
|
Depends on which number you look at - the counter reads : Msgs 1 to 25 of 40004 (Total: 40005) right now and when I posted, it said Msgs 1 to 25 of 40000 (Total: 40001)
So which total is right ?
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
|
|
|
|
|
Chris Maunder, we have a problem.
Who posted message 40000?
Best regards,
Alexandru Savescu
|
|
|
|
|
Chris [Edit: Graus] posted the 40000th message including the 1 deleted post, [Edit: Sameer Maggon] posted the 40000th message not including deleted messages.
From my observations anyway
Chris can reset the counts so they read correctly, he did this recently.
James
Simplicity Rules!
|
|
|
|
|
YAHOOOOOOOOOO
|
|
|
|
|
Christian Graus wrote:
Message 40000
This was a stab behind my back!
Oh cruel world!
Oh dear
Nish
The rumours that I am an AI bot are absolutely false. These rumours have been propogated by *them* to focus all the attention on to me, while *their* bots take over the planet. Thank y%%%% Divide by zero. Cannot proceed. Abort(y/y)?
|
|
|
|
|
The 500th .NET forum post is coming up
Michael
|
|
|
|
|
Michael P Butler wrote:
The 500th .NET forum post is coming up
Thanks for the tip off MPB
nish
The rumours that I am an AI bot are absolutely false. These rumours have been propogated by *them* to focus all the attention on to me, while *their* bots take over the planet. Thank y%%%% Divide by zero. Cannot proceed. Abort(y/y)?
|
|
|
|
|
As is the 100th Work Issues post
James
Simplicity Rules!
|
|
|
|
|
DAMN!! You, you,, y... I will get ya sooner or now!
I wanted to be the 40'000th !!!
------------------------------------
Rickard Andersson, Suza Computing
ICQ#: 50302279
I'm from the winter country SWEDEN!
------------------------------------
|
|
|
|
|
There is no WM_ message with a value of 40,000!
So if your app is receiving it then it must be from a RegisterWIndowMessage call somehwre in your code.
Roger Allen
Sonork 100.10016
yet to be identified being from the planet Paltinmoriumbanfrettybooter
|
|
|
|
|
|
Hi,
How do i secure my System Tray
I mean to say that no user should be able to
tamper or even click on my system Tray
Anything - direct or inderect method would do
Sameer
|
|
|
|
|
Unplug your mouse
(2b || !2b)
|
|
|
|
|
James Pullicino wrote:
Unplug your mouse
Won't help, you can access it using the keyboard.
Perhaps it's better to not allow users to log on to that machine at all, or to install some OS that doesn't have a "tray"?
|
|
|
|
|
I was wondering if Nish, who says has started most threads on CP forums, will be the one to post message no. 40000 on this forum.
Best regards,
Alexandru Savescu
|
|
|
|