Click here to Skip to main content
15,903,012 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
i have made an mfc program which serializes some classes and strucure to a file in binary format
now i have selected the (open with) in windows to open my mfc program, when i double click the saved file the mfc program is opened but the serialized data is not inisialised
the serialisation was sucessfull as when i open it with the open button of my mfc program which serializes it back the saved data is initialized.
plz help on initialising the data from saved file by double clicking on the saved file
like when we open a .doc file of ms office
thank you
Posted

1 solution

double clicking on the saved file like when we open a .doc file of ms office

What you are talking about is called file associations, which associate a particular file extension with an application, so that double-clicking one of these files opens the application.

There is an article here that will help get you started: Associate File Extension with Shell OPEN command and Application[^]
 
Share this answer
 
v2
Comments
nbd09 22-Mar-11 2:45am    
Thank you for the help

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900