Originally posted by: jin yeon kwon
Let me know about the reason of the following error message.
Could not execute: (win32 Error 1157)
Originally posted by: Xiaojian Liu
There are two warnings when compiling and linking the source:
1. SystemTray.cpp(224) : warning C4189: 'uIconArraySize' : local variable is initialized but not referenced
2. LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification
When run TrayCalender.exe I got error massage:
"linked to missing export SHELL32.DLL:Shell_NotifyIconW."
Any advice?
Xiaojian Liu
Reply
Originally posted by: StormCloud
yes, this is useful.
and helpful about tray notification programming for me.
Here is a bug(?) I found.
'right-click and select options' will have dialog.
but do again and another is made per every time select options.
but viewing is same because x,y value of view are same.
Originally posted by: Programmer Man
I'll second the memory hog comment. I did try linking it statically, and it only takes 250k then.
In order to get it to use <100k, you'd have to not use MFC and/or the runtime library, which would be slower/harder to code but might be worth it.
I think I'll take a stab at making an API-only version to see how tiny I can make it.
Originally posted by: Sreekanth
I don't think we need this all the time.
MS has provided a clock in tray and we can see date and time
on tooltip by just moving the mouse over time display.
Sreekanth
Originally posted by: Karl Spaelti
Three things (besides all the holiday season food for our tummies. some food for thought):
1) Not all of our customers have 128 MB workstations. If one has only 16 MB available, memory matters.
2) I assume that this is one of Chris' "finger execises" rather than a serious attempt to
provide us with a tool to be taken seriously (don't misunderstand: I am impressed with other things by him!).
3) There is something seriously wrong with either MFC or with us programmers (or both) if we produce
"MFC tray apps" which do not take size into consideration.
Wishing you a Wonderful Holiday Season and a Happy New Year.
In the goog/bad old DOS days, utilities like this were called TSRs. And they had to be small. Norton's system
info reports that Chris' tray calendar uses 1.28 Mega of memory....
Karl.