Click here to Skip to main content
15,888,224 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Converting SafeArray? Pin
So and So20-Jul-04 8:44
So and So20-Jul-04 8:44 
Generalproblem in accessing a VC++ 6.0 ATL COM object via a .Net application Pin
vipul_vips20-Jul-04 5:19
vipul_vips20-Jul-04 5:19 
GeneralWeb Service Error in Debug Mode Pin
jobr1ch19-Jul-04 21:47
jobr1ch19-Jul-04 21:47 
GeneralForm Size Too Big Pin
myNameIsRon19-Jul-04 19:53
myNameIsRon19-Jul-04 19:53 
GeneralRe: Form Size Too Big Pin
Small Rat24-Jul-04 18:13
Small Rat24-Jul-04 18:13 
GeneralFreeze some columns in Datagrid Pin
Sreepathi19-Jul-04 17:15
Sreepathi19-Jul-04 17:15 
General.NET & MFC Serialization Compability Pin
alexatn19-Jul-04 11:35
alexatn19-Jul-04 11:35 
GeneralRe: .NET & MFC Serialization Compability Pin
mav.northwind19-Jul-04 21:35
mav.northwind19-Jul-04 21:35 
I doubt that it's possible this way.
CDocument has one format to serialize data and BinaryFormatter has another one. Just stuffing the output from one class into the other one doesn't work. You'll also fail when you let CDocument deserialize a file created by BinaryFormatter.
Both CDocument and BinaryFormatter write some header information into the target file (or try to read it back in), at least containing some kind of version information, but the structure of this header is different, thus the error.
Besides, IIRC CDocument doesn't add type information to its output but I think BinaryFormatter does (but don't quote me here Poke tongue | ;-P )

I don't see a chance to achieve this without developing a class to read in a CDocument-generated file manually...

mav
GeneralSyntax Coloring in .NET Pin
bneacetp19-Jul-04 10:54
bneacetp19-Jul-04 10:54 
GeneralPrinting using ExecWB gives error "Trying to revoke a drop target ..." Pin
alexatn16-Jul-04 12:02
alexatn16-Jul-04 12:02 
GeneralSpeech .NET Pin
Serge Lobko-Lobanovsky16-Jul-04 6:20
Serge Lobko-Lobanovsky16-Jul-04 6:20 
GeneralReplacement of In-place Activation Pin
Aamir Butt15-Jul-04 23:56
Aamir Butt15-Jul-04 23:56 
GeneralRe: Replacement of In-place Activation Pin
mav.northwind17-Jul-04 4:28
mav.northwind17-Jul-04 4:28 
GeneralRe: Replacement of In-place Activation Pin
Aamir Butt18-Jul-04 18:17
Aamir Butt18-Jul-04 18:17 
GeneralListView icon disappear Pin
ting66815-Jul-04 4:24
ting66815-Jul-04 4:24 
GeneralWindows mobile 2003 for Pocket PC Pin
Member 123796715-Jul-04 3:37
Member 123796715-Jul-04 3:37 
GeneralRe: Windows mobile 2003 for Pocket PC Pin
Roman Rodov15-Jul-04 15:03
Roman Rodov15-Jul-04 15:03 
GeneralBehavior of RichTextBox Pin
mav.northwind14-Jul-04 9:48
mav.northwind14-Jul-04 9:48 
GeneralRegistry entry for date of installation Pin
vipul_vips13-Jul-04 20:58
vipul_vips13-Jul-04 20:58 
GeneralRe: Registry entry for date of installation Pin
Serge Lobko-Lobanovsky16-Jul-04 6:30
Serge Lobko-Lobanovsky16-Jul-04 6:30 
Generaluse of attributes to modify method behavior Pin
Mahasen Bandara13-Jul-04 20:54
Mahasen Bandara13-Jul-04 20:54 
GeneralRe: use of attributes to modify method behavior Pin
Sendilkumar.M20-Jul-04 0:31
Sendilkumar.M20-Jul-04 0:31 
GeneralInterop: inter thread communication and array issue Pin
RLebrun13-Jul-04 3:52
RLebrun13-Jul-04 3:52 
GeneralSerial port in Windows CE Pin
shayro13-Jul-04 1:03
shayro13-Jul-04 1:03 
QuestionHow to capture requests and responses Pin
shanit12-Jul-04 17:25
shanit12-Jul-04 17:25 

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.