Click here to Skip to main content
15,884,986 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
QuestionWhat does this mean? Pin
SmilingHeart13-Dec-02 15:50
SmilingHeart13-Dec-02 15:50 
AnswerRe: What does this mean? Pin
Taka Muraoka13-Dec-02 16:25
Taka Muraoka13-Dec-02 16:25 
GeneralRe: What does this mean? Pin
SmilingHeart13-Dec-02 21:56
SmilingHeart13-Dec-02 21:56 
GeneralRe: What does this mean? Pin
Taka Muraoka13-Dec-02 22:03
Taka Muraoka13-Dec-02 22:03 
GeneralFile Management :: Win32 Pin
valikac13-Dec-02 12:12
valikac13-Dec-02 12:12 
GeneralRe: File Management :: Win32 Pin
Christian Graus13-Dec-02 12:52
protectorChristian Graus13-Dec-02 12:52 
GeneralRe: File Management :: Win32 Pin
valikac13-Dec-02 13:14
valikac13-Dec-02 13:14 
GeneralRe: File Management :: Win32 Pin
Michael Dunn13-Dec-02 15:29
sitebuilderMichael Dunn13-Dec-02 15:29 
GeneralRe: File Management :: Win32 Pin
valikac13-Dec-02 16:06
valikac13-Dec-02 16:06 
QuestionHow to get pointer of a view in Splitter in document? Pin
13-Dec-02 9:52
suss13-Dec-02 9:52 
GeneralMy program will not execute. Pin
Anonymous13-Dec-02 9:41
Anonymous13-Dec-02 9:41 
GeneralRe: My program will not execute. Pin
will138313-Dec-02 9:45
will138313-Dec-02 9:45 
GeneralRe: My program will not execute. Pin
Christian Graus13-Dec-02 9:49
protectorChristian Graus13-Dec-02 9:49 

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.