Click here to Skip to main content
15,899,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to create a process with a different name? Pin
basementman29-Apr-03 6:41
basementman29-Apr-03 6:41 
GeneralRe: How to create a process with a different name? Pin
Chen Venkataraman29-Apr-03 9:01
Chen Venkataraman29-Apr-03 9:01 
GeneralRe: How to create a process with a different name? Pin
Dave Kreskowiak29-Apr-03 9:29
mveDave Kreskowiak29-Apr-03 9:29 
GeneralTemplate question Pin
grscot29-Apr-03 3:32
grscot29-Apr-03 3:32 
GeneralODBC, SqlGetData Pin
justin22329-Apr-03 3:01
justin22329-Apr-03 3:01 
GeneralRe: ODBC, SqlGetData Pin
Pavel Klocek29-Apr-03 5:29
Pavel Klocek29-Apr-03 5:29 
GeneralRe: ODBC, SqlGetData Pin
justin22329-Apr-03 5:55
justin22329-Apr-03 5:55 
GeneralSerialization Pin
Brigg Thorp29-Apr-03 2:12
Brigg Thorp29-Apr-03 2:12 
Hello everyone,

I have a little problem that I was hoping someone could help me out with. I have a data file (created by using serialization) that I want to read into a new program. Problem is, the new program class name is the same as the old one (and I can't change it since the code was done by a third-party). I want to use my old class to read the data in, then save it to the new class.

So, I created a new class (let's call it CAlar1, since the original class was CAlarm and I thought the class name length should be the same) and tried to read the file in, but after serializing the class, all the data is messed up. Since the class name is different, it doesn't seem to be reading the file correctly.

Is there any way around this? I would like to read the old data in, convert it to the new class, and save it back, so short of decoding the binary file format, is there anything else I can try?

Regards,

Brigg Thorp
Software Engineer
Timex Corporation
GeneralRe: Serialization Pin
Nick Parker29-Apr-03 2:47
protectorNick Parker29-Apr-03 2:47 
GeneralRe: Serialization Pin
Brigg Thorp29-Apr-03 3:09
Brigg Thorp29-Apr-03 3:09 
GeneralRe: Serialization Pin
Nick Parker29-Apr-03 4:48
protectorNick Parker29-Apr-03 4:48 
GeneralSuggestion: Serialization Pin
Joan M29-Apr-03 4:42
professionalJoan M29-Apr-03 4:42 
GeneralQuestion about size_type and const_iterator of vector. Pin
George229-Apr-03 1:46
George229-Apr-03 1:46 
GeneralRe: Question about size_type and const_iterator of vector. Pin
jhwurmbach29-Apr-03 2:17
jhwurmbach29-Apr-03 2:17 
GeneralRe: Question about size_type and const_iterator of vector. Pin
George229-Apr-03 2:50
George229-Apr-03 2:50 
GeneralRe: Question about size_type and const_iterator of vector. Pin
markkuk29-Apr-03 3:18
markkuk29-Apr-03 3:18 
GeneralRe: Question about size_type and const_iterator of vector. Pin
George229-Apr-03 3:40
George229-Apr-03 3:40 
GeneralDisappearing folders in Visual Studio Pin
Poul Haahr Klemmensen28-Apr-03 23:38
Poul Haahr Klemmensen28-Apr-03 23:38 
GeneralRe: Disappearing folders in Visual Studio Pin
HJo29-Apr-03 0:17
HJo29-Apr-03 0:17 
GeneralRe: Disappearing folders in Visual Studio Pin
Poul Haahr Klemmensen29-Apr-03 2:11
Poul Haahr Klemmensen29-Apr-03 2:11 
GeneralRe: Disappearing folders in Visual Studio Pin
Bartosz Bien29-Apr-03 2:36
Bartosz Bien29-Apr-03 2:36 
Generalfield evaluation in RTF files Pin
luedi28-Apr-03 23:12
luedi28-Apr-03 23:12 
GeneralRename project Pin
macmac3828-Apr-03 21:08
macmac3828-Apr-03 21:08 
GeneralRe: Rename project Pin
Rage28-Apr-03 21:19
professionalRage28-Apr-03 21:19 
GeneralRe: Rename project Pin
John R. Shaw29-Apr-03 15:11
John R. Shaw29-Apr-03 15:11 

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.