Click here to Skip to main content
15,898,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalthe confusing term page file Pin
George_George29-Jan-08 17:04
George_George29-Jan-08 17:04 
Generalstd::exception and STL Pin
George_George29-Jan-08 16:42
George_George29-Jan-08 16:42 
GeneralRe: std::exception and STL Pin
Stephen Hewitt29-Jan-08 18:30
Stephen Hewitt29-Jan-08 18:30 
GeneralRe: std::exception and STL Pin
George_George29-Jan-08 18:42
George_George29-Jan-08 18:42 
Generalhelp Pin
gentleguy29-Jan-08 14:20
gentleguy29-Jan-08 14:20 
AnswerRe: help Pin
Maxwell Chen29-Jan-08 16:22
Maxwell Chen29-Jan-08 16:22 
GeneralMultiple Application Serialization Pin
perrin486929-Jan-08 13:42
perrin486929-Jan-08 13:42 
GeneralRe: Multiple Application Serialization [modified] Pin
CPallini29-Jan-08 21:44
mveCPallini29-Jan-08 21:44 
Perrin01 wrote:
If I have an application, and I use it to serialize a file, can I use a second application to open the same file (of course, both applications having the same attributes in their documents)?

AFAIK, yes
[added]
I made a little test: it confims you can do it.
[/added]


Perrin01 wrote:
Every time I try to call the Serialize method of a CTypedPtrList with the corresponding CArchive I get an "Unexpected File Format" error. Both applications are using the same DLLs, which contain the polymorphic classes being used in the list. I am using Visual Studio 2008.


I think you have to proceed with little steps, for instance.
(1) Make sure that both applications use the same version number inside IMPLEMENT_SERIAL macro.
(2) Make sure the application that created file is able itself to load it.
(3) Try to store and load very simple files first.
(4) ...

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

[my articles]


modified on Wednesday, January 30, 2008 4:24:19 AM

QuestionRe: Multiple Application Serialization Pin
Mark Salsbery30-Jan-08 7:06
Mark Salsbery30-Jan-08 7:06 
JokeRe: Multiple Application Serialization Pin
James R. Twine30-Jan-08 7:19
James R. Twine30-Jan-08 7:19 
GeneralRe: Multiple Application Serialization Pin
Mark Salsbery30-Jan-08 7:32
Mark Salsbery30-Jan-08 7:32 
GeneralRe: Multiple Application Serialization Pin
CPallini30-Jan-08 21:14
mveCPallini30-Jan-08 21:14 
GeneralReadDirectoryChangesW vs FindFirstFile (on file server hosting mac file system) Pin
Peter Weyzen29-Jan-08 12:58
Peter Weyzen29-Jan-08 12:58 
GeneralRe: ReadDirectoryChangesW vs FindFirstFile (on file server hosting mac file system) Pin
James R. Twine30-Jan-08 7:08
James R. Twine30-Jan-08 7:08 
GeneralRe: ReadDirectoryChangesW vs FindFirstFile (on file server hosting mac file system) Pin
Peter Weyzen30-Jan-08 7:56
Peter Weyzen30-Jan-08 7:56 
QuestionWhich process opened a file? Pin
daavena29-Jan-08 10:54
daavena29-Jan-08 10:54 
AnswerRe: Which process opened a file? Pin
Randor 29-Jan-08 11:55
professional Randor 29-Jan-08 11:55 
AnswerRe: Which process opened a file? Pin
Stephen Hewitt29-Jan-08 12:40
Stephen Hewitt29-Jan-08 12:40 
AnswerRe: Which process opened a file? Pin
Hamid_RT29-Jan-08 18:17
Hamid_RT29-Jan-08 18:17 
GeneralConcerning drivers... Pin
Eikthrynir29-Jan-08 10:40
Eikthrynir29-Jan-08 10:40 
GeneralRe: Concerning drivers... Pin
Randor 29-Jan-08 11:39
professional Randor 29-Jan-08 11:39 
GeneralRe: Concerning drivers... Pin
Eikthrynir29-Jan-08 17:57
Eikthrynir29-Jan-08 17:57 
GeneralLNK:2019 Link Error Using C++ to compile C program Pin
IceWater4229-Jan-08 10:18
IceWater4229-Jan-08 10:18 
GeneralRe: LNK:2019 Link Error Using C++ to compile C program Pin
Mark Salsbery29-Jan-08 10:35
Mark Salsbery29-Jan-08 10:35 
GeneralRe: LNK:2019 Link Error Using C++ to compile C program Pin
IceWater4229-Jan-08 12:29
IceWater4229-Jan-08 12:29 

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.