Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
AnswerRe: Value Types and Structs Pin
Christian Graus27-Jun-06 20:15
protectorChristian Graus27-Jun-06 20:15 
AnswerRe: Value Types and Structs Pin
J4amieC27-Jun-06 21:59
J4amieC27-Jun-06 21:59 
GeneralRe: Value Types and Structs Pin
Mairaaj Khan28-Jun-06 3:53
professionalMairaaj Khan28-Jun-06 3:53 
GeneralRe: Value Types and Structs Pin
BoneSoft28-Jun-06 10:20
BoneSoft28-Jun-06 10:20 
GeneralRe: Value Types and Structs Pin
Mairaaj Khan28-Jun-06 20:42
professionalMairaaj Khan28-Jun-06 20:42 
GeneralRe: Value Types and Structs [modified] Pin
BoneSoft29-Jun-06 1:37
BoneSoft29-Jun-06 1:37 
Questionmonthcalendar control Pin
toink toink27-Jun-06 17:49
toink toink27-Jun-06 17:49 
QuestionHow to read a binary file created in pure c++ Pin
Nigor27-Jun-06 17:45
Nigor27-Jun-06 17:45 
Say I have a structue defined in c++:

struct Test
{
char first_name[80];
char last_name[80];
}

I then use an ostream to write an instance of that stucture to a binary file. How can I read that binary file in c#? I tried to create a similar structure in C# and then deserialize the binary file, but failed. I then read in my c# book that when you serialize an object, not only does the data get stored in the file but the object schema as well, so I can see why my code failed. So how do I go about reading the "pure" binary file in C#?


Thanks!
AnswerRe: How to read a binary file created in pure c++ [modified] Pin
Judah Gabriel Himango27-Jun-06 18:00
sponsorJudah Gabriel Himango27-Jun-06 18:00 
AnswerRe: How to read a binary file created in pure c++ [modified] Pin
stancrm27-Jun-06 20:54
stancrm27-Jun-06 20:54 
GeneralRe: How to read a binary file created in pure c++ Pin
paulcortez27-Jun-06 21:59
paulcortez27-Jun-06 21:59 
GeneralRe: How to read a binary file created in pure c++ Pin
stancrm28-Jun-06 1:22
stancrm28-Jun-06 1:22 
GeneralRe: How to read a binary file created in pure c++ Pin
paulcortez28-Jun-06 1:44
paulcortez28-Jun-06 1:44 
GeneralRe: How to read a binary file created in pure c++ Pin
stancrm28-Jun-06 1:51
stancrm28-Jun-06 1:51 
GeneralRe: How to read a binary file created in pure c++ [modified] Pin
paulcortez28-Jun-06 2:04
paulcortez28-Jun-06 2:04 
GeneralRe: How to read a binary file created in pure c++ [modified] Pin
stancrm28-Jun-06 2:24
stancrm28-Jun-06 2:24 
GeneralRe: How to read a binary file created in pure c++ Pin
Nigor28-Jun-06 2:21
Nigor28-Jun-06 2:21 
GeneralRe: How to read a binary file created in pure c++ Pin
stancrm28-Jun-06 2:33
stancrm28-Jun-06 2:33 
GeneralRe: How to read a binary file created in pure c++ Pin
Nigor28-Jun-06 4:01
Nigor28-Jun-06 4:01 
GeneralRe: How to read a binary file created in pure c++ Pin
stancrm28-Jun-06 19:57
stancrm28-Jun-06 19:57 
QuestionProblem using Acrobat COM Pin
Awase Ahmed27-Jun-06 17:34
Awase Ahmed27-Jun-06 17:34 
Questionhow to streaming audio/video ? Pin
hdv21227-Jun-06 14:44
hdv21227-Jun-06 14:44 
AnswerRe: how to streaming audio/video ? [modified] Pin
Mike Poz27-Jun-06 15:03
Mike Poz27-Jun-06 15:03 
AnswerRe: how to streaming audio ? Pin
Divyang Mithaiwala27-Jun-06 18:31
Divyang Mithaiwala27-Jun-06 18:31 
QuestionMaking remoting work between multiple versions of the same assembly [modified] Pin
Luis Alonso Ramos27-Jun-06 14:34
Luis Alonso Ramos27-Jun-06 14:34 

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.