Click here to Skip to main content
15,888,802 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Own created menues and ID Pin
Hamid_RT19-Oct-07 1:06
Hamid_RT19-Oct-07 1:06 
QuestionProgress bar example Pin
Chandrasekharan P18-Oct-07 23:56
Chandrasekharan P18-Oct-07 23:56 
AnswerRe: Progress bar example Pin
chandu00419-Oct-07 0:16
chandu00419-Oct-07 0:16 
AnswerRe: Progress bar example Pin
Hamid_RT19-Oct-07 1:10
Hamid_RT19-Oct-07 1:10 
QuestionWIN32 BUG? Pin
KEL318-Oct-07 23:50
KEL318-Oct-07 23:50 
AnswerRe: WIN32 BUG? Pin
KEL318-Oct-07 23:58
KEL318-Oct-07 23:58 
GeneralRe: WIN32 BUG? Pin
aks.19-Oct-07 4:58
aks.19-Oct-07 4:58 
GeneralRe: WIN32 BUG? Pin
KEL322-Oct-07 0:52
KEL322-Oct-07 0:52 
e.g. Try the following:

Make a new MFC dialog project and add a button.
Add the code I posted above (without the return statement)
for the button click event.
Click on the button to make the code run once and then follow
the described steps (in my first post). Then click the button
again (after you close the dialog using "Esc" or "Cancel") and
do the same actions once again. Your app will crash when the
tooltip (showing the file type size etc...) appears for the
second time. And that happens ONLY on the Desktop (you should
try to see the tooltip on the Desktop, and on a file NOT a link
to a file).

I tried the same thing (openning a file etc...) with an other app
(that was a Hex editor I use) that was using (I guess) the same
code and I had the same crash.

However most of my apps on my PC do not crash when I do this (thank GOD).
e.g. Internet Explorer, Acrobat reader, WMedia Player etc.

I also tried to run the code on other machines and got the same crash
(using my app). The only things (dlls loaded by the shell) in common
where the SP2 DLL (xpsp2res.dll) and Acrobat (pdfshell.dll) (I think).
I don't know if the source of the problem is in one of them.

Note that my code is running perfectly in any folder and it fails ONLY
on the Desktop! I suspect that this is a bug of the shell, since there
is no obvious problem with my code.

I use MSVS 6 C++ and I have SP2 installed.
I do not use unicode libraries.


kostas KEL

AnswerRe: WIN32 BUG? Pin
Mark Salsbery19-Oct-07 5:27
Mark Salsbery19-Oct-07 5:27 
GeneralRe: WIN32 BUG? Pin
KEL322-Oct-07 0:57
KEL322-Oct-07 0:57 
GeneralRe: WIN32 BUG? Pin
KEL322-Oct-07 1:07
KEL322-Oct-07 1:07 
AnswerRe: WIN32 BUG? Pin
KEL325-Oct-07 1:43
KEL325-Oct-07 1:43 
QuestionHelp Pin
josip cagalj18-Oct-07 23:41
josip cagalj18-Oct-07 23:41 
QuestionApplication runnig problem.. [modified] Pin
Vugar Avazov18-Oct-07 23:36
Vugar Avazov18-Oct-07 23:36 
AnswerRe: Application runnig problem.. Pin
chandu00418-Oct-07 23:40
chandu00418-Oct-07 23:40 
GeneralRe: Application runnig problem.. [modified] Pin
Vugar Avazov19-Oct-07 7:14
Vugar Avazov19-Oct-07 7:14 
GeneralRe: Application runnig problem.. Pin
chandu00419-Oct-07 0:04
chandu00419-Oct-07 0:04 
GeneralRe: Application runnig problem.. Pin
josip cagalj19-Oct-07 0:09
josip cagalj19-Oct-07 0:09 
JokeRe: Application runnig problem.. Pin
Nelek19-Oct-07 0:12
protectorNelek19-Oct-07 0:12 
GeneralRe: Application runnig problem.. Pin
chandu00419-Oct-07 0:13
chandu00419-Oct-07 0:13 
GeneralRe: Application runnig problem.. Pin
chandu00419-Oct-07 0:12
chandu00419-Oct-07 0:12 
AnswerRe: Application runnig problem.. Pin
josip cagalj19-Oct-07 0:03
josip cagalj19-Oct-07 0:03 
AnswerRe: Application runnig problem.. Pin
Cedric Moonen19-Oct-07 0:03
Cedric Moonen19-Oct-07 0:03 
QuestionCuriosity Pin
Nelek19-Oct-07 0:26
protectorNelek19-Oct-07 0:26 
AnswerRe: Curiosity Pin
ThatsAlok19-Oct-07 0:38
ThatsAlok19-Oct-07 0:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.