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

C / C++ / MFC

 
GeneralRe: IMPLEMENT_SERIAL and versions Pin
dazinith1-Apr-02 8:21
dazinith1-Apr-02 8:21 
GeneralRe: IMPLEMENT_SERIAL and versions Pin
Ravi Bhavnani1-Apr-02 10:40
professionalRavi Bhavnani1-Apr-02 10:40 
GeneralRe: IMPLEMENT_SERIAL and versions Pin
Ted Christiansen17-Apr-02 8:36
Ted Christiansen17-Apr-02 8:36 
GeneralRe: IMPLEMENT_SERIAL and versions Pin
melwyn18-Jun-02 4:45
melwyn18-Jun-02 4:45 
GeneralREAL office XP menu look-alike Pin
Jon Newman1-Apr-02 6:40
Jon Newman1-Apr-02 6:40 
GeneralRe: REAL office XP menu look-alike Pin
MaTrIX2k21-Apr-02 6:49
MaTrIX2k21-Apr-02 6:49 
GeneralRe: REAL office XP menu look-alike Pin
Ramon Casellas1-Apr-02 7:01
Ramon Casellas1-Apr-02 7:01 
GeneralAssociate the file types to application Pin
George Anescu1-Apr-02 5:56
George Anescu1-Apr-02 5:56 
I am using the following lines in function InitInstance() to associate file types to my application in a MDI architecture:

//Associate the file types
EnableShellOpen();
RegisterShellFileTypes(true);

The procedure is standard MFC and documented in many places.
When I double click my files with extension .spt the application is starting, but I am also getting the following system error message:

Cannot find the file "D:\VC++\MyApp\test1.spt" (or one of its components). Make sure the path and filename are correct and that all required libraries are available.

This message is wrong because the path and filename are correct. Could somebody explain what is happening?
Confused | :confused: Confused | :confused:
GeneralRe: Associate the file types to application Pin
Joaquín M López Muñoz1-Apr-02 6:27
Joaquín M López Muñoz1-Apr-02 6:27 
GeneralRe: Associate the file types to application Pin
Gary Kirkham21-Jan-04 8:43
Gary Kirkham21-Jan-04 8:43 
GeneralmciSendString Pin
Sumudu Perera1-Apr-02 5:50
Sumudu Perera1-Apr-02 5:50 
GeneralATL functions in.h files Pin
1-Apr-02 5:28
suss1-Apr-02 5:28 
GeneralRe: ATL functions in.h files Pin
James R. Twine1-Apr-02 5:35
James R. Twine1-Apr-02 5:35 
GeneralRe: ATL functions in.h files Pin
Tim Smith1-Apr-02 6:05
Tim Smith1-Apr-02 6:05 
GeneralRe: ATL functions in.h files Pin
James R. Twine1-Apr-02 6:14
James R. Twine1-Apr-02 6:14 
GeneralRe: ATL functions in.h files Pin
Tim Smith1-Apr-02 6:21
Tim Smith1-Apr-02 6:21 
GeneralRe: ATL functions in.h files Pin
James R. Twine1-Apr-02 6:30
James R. Twine1-Apr-02 6:30 
GeneralRe: ATL functions in.h files Pin
1-Apr-02 8:46
suss1-Apr-02 8:46 
GeneralRe: ATL functions in.h files Pin
Tim Smith1-Apr-02 9:01
Tim Smith1-Apr-02 9:01 
GeneralCHtmlEditCtrl in VS.NET... Pin
James R. Twine1-Apr-02 5:10
James R. Twine1-Apr-02 5:10 
GeneralRe: CHtmlEditCtrl in VS.NET... Pin
Joaquín M López Muñoz1-Apr-02 5:41
Joaquín M López Muñoz1-Apr-02 5:41 
GeneralMFC command line arguments Pin
Jerry Wang1-Apr-02 5:05
Jerry Wang1-Apr-02 5:05 
GeneralRe: MFC command line arguments Pin
Joaquín M López Muñoz1-Apr-02 5:09
Joaquín M López Muñoz1-Apr-02 5:09 
GeneralRe: MFC command line arguments Pin
James R. Twine1-Apr-02 5:13
James R. Twine1-Apr-02 5:13 
GeneralRe: MFC command line arguments Pin
Jerry Wang1-Apr-02 5:24
Jerry Wang1-Apr-02 5:24 

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.