Click here to Skip to main content
15,901,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: File type icons Pin
Jörgen Sigvardsson15-Dec-02 2:50
Jörgen Sigvardsson15-Dec-02 2:50 
GeneralRe: File type icons Pin
Michael Dunn14-Dec-02 4:40
sitebuilderMichael Dunn14-Dec-02 4:40 
GeneralRe: File type icons Pin
Jörgen Sigvardsson14-Dec-02 6:19
Jörgen Sigvardsson14-Dec-02 6:19 
QuestionHow Do I Test If A File Is Open By Another Process? Pin
John Clump13-Dec-02 23:08
John Clump13-Dec-02 23:08 
AnswerRe: How Do I Test If A File Is Open By Another Process? Pin
Nick Parker14-Dec-02 1:50
protectorNick Parker14-Dec-02 1:50 
Generaldialogs not rendering (painting) immeditatly Pin
cleathley13-Dec-02 22:22
cleathley13-Dec-02 22:22 
GeneralRe: dialogs not rendering (painting) immeditatly Pin
Ravi Bhavnani14-Dec-02 10:55
professionalRavi Bhavnani14-Dec-02 10:55 
GeneralCOM + object pooling in VC7 Pin
Christian Graus13-Dec-02 21:44
protectorChristian Graus13-Dec-02 21:44 
GeneralSimulate Find Target Programatically Pin
Paul Farry13-Dec-02 20:58
professionalPaul Farry13-Dec-02 20:58 
GeneralConverting and Concatenating Strings Pin
KBL13-Dec-02 20:56
KBL13-Dec-02 20:56 
GeneralRe: Converting and Concatenating Strings Pin
Christian Graus13-Dec-02 21:42
protectorChristian Graus13-Dec-02 21:42 
GeneralRe: Converting and Concatenating Strings Pin
KBL13-Dec-02 21:59
KBL13-Dec-02 21:59 
GeneralRe: Converting and Concatenating Strings Pin
Christian Graus13-Dec-02 22:13
protectorChristian Graus13-Dec-02 22:13 
GeneralRe: Converting and Concatenating Strings Pin
Gary R. Wheeler14-Dec-02 4:54
Gary R. Wheeler14-Dec-02 4:54 
Questionwhere find articel on edit and list control searching? Pin
MyMojo13-Dec-02 20:41
MyMojo13-Dec-02 20:41 
AnswerRe: where find articel on edit and list control searching? Pin
valikac14-Dec-02 6:50
valikac14-Dec-02 6:50 
Generalbuffer increase & increment in C++/MFC Pin
MyMojo13-Dec-02 20:27
MyMojo13-Dec-02 20:27 
Generalevent handler question.. Pin
trustno113-Dec-02 18:09
trustno113-Dec-02 18:09 
GeneralRe: event handler question.. Pin
Christian Graus13-Dec-02 19:12
protectorChristian Graus13-Dec-02 19:12 
GeneralRe: event handler question.. Pin
Jörgen Sigvardsson13-Dec-02 23:14
Jörgen Sigvardsson13-Dec-02 23:14 
GeneralDDE Execute Pin
Mustafa Demirhan13-Dec-02 17:11
Mustafa Demirhan13-Dec-02 17:11 
Hi,

In one of my programs, I am using DDE in order to run my program as the default program for some type of files. In my CWinApp class I added BOOL OnDDECommand(LPTSTR lpszCommand).

When I double click on the file, everthing works fine if another instance of the program is not running. Double clicking runs the program and calls OnDDECommand. After that, if I do not close the program and double click on other files, everthing works fine again. The problem occurs when I run the program individually. After that, if I double click on a file, OnDDECommand method is never executed. Instead of that, my program gets the focus and the following error message comes out:

Windows cannot find 'my_file_name'. 
Make sure that you have typed the name correctly and then try again. 
To search for a file, click the start button, and then click Search.


This message is show by Windows Explorer. Not by my program. I dont know what the problem is. If no instance of the application is running, everthing works fine. Also, if i start the application by double clicking on an associated file evething works fine again. This happens only when I run the program without any files given as parameter and then double click on a file.

I am looking forward to hearing for your suggestions. Please advise...

Thanks for any helps in advance.
Kind regards




Mustafa Demirhan
http://www.macroangel.com
Sonork ID 100.9935:zoltrix

<nobr>They say I'm lazy but it takes all my time
Generalworking in hex Pin
hassani13-Dec-02 17:04
hassani13-Dec-02 17:04 
GeneralRe: working in hex Pin
Michael Dunn13-Dec-02 17:13
sitebuilderMichael Dunn13-Dec-02 17:13 
GeneralCode Navigation Pin
Nikolay Avrionov13-Dec-02 16:52
Nikolay Avrionov13-Dec-02 16:52 
GeneralRe: Code Navigation Pin
Taka Muraoka13-Dec-02 18:28
Taka Muraoka13-Dec-02 18:28 

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.