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

.NET (Core and Framework)

 
GeneralRe: VS.NET ClassWizard? Pin
Mazdak5-Mar-02 4:19
Mazdak5-Mar-02 4:19 
GeneralRe: VS.NET ClassWizard? Pin
Travis D. Mathison5-Mar-02 4:21
Travis D. Mathison5-Mar-02 4:21 
GeneralRe: VS.NET ClassWizard? Pin
Chandram5-Mar-02 21:26
Chandram5-Mar-02 21:26 
GeneralRe: VS.NET ClassWizard? Pin
Kevin McFarlane26-Mar-02 8:28
Kevin McFarlane26-Mar-02 8:28 
GeneralEfficiency issues from VC++6.0 to VC++.NET Pin
myenigmaself4-Mar-02 9:51
myenigmaself4-Mar-02 9:51 
GeneralRe: Efficiency issues from VC++6.0 to VC++.NET Pin
Rick Crone14-Mar-02 9:29
Rick Crone14-Mar-02 9:29 
GeneralRe: Efficiency issues from VC++6.0 to VC++.NET Pin
16-Mar-02 6:54
suss16-Mar-02 6:54 
GeneralNeed help serializing object in c++ Pin
HJB4173-Mar-02 16:16
HJB4173-Mar-02 16:16 
Hi, I'm trying to send an object across a network and I'm trying to implement serialization but I'm not doing it right. I tried searching for tutorials and articles but they're for C#.

[Serializable]
__gc class FileTransferHeader
{
public:
FileTransferHeader(String* theFileName, Int64 theFileSize);
__property Int64 get_Size(){return fileSize;}
__property String* get_Name();
private:
Char fileName __nogc[256];
Int64 fileSize;
Int16 fileNameLength;
};

and later in some other class that has a networkstream, and a BinaryFormatter() and an object of type FileTransferHeader named theHeader.
I try theBinaryFormatter->Serialize(theNetworkStream, theHeader);
and I get an UE.

Unhandled Exception: System.Runtime.Serialization.SerializationException: The type $ArrayType$0x2984d64b in Assembly WinsockContinued, Version=1.0.792.39872, Culture=neutral, PublicKeyToken=null is not marked as serializable.


--------------------------
One problem with the programmer's mentality is insecurity. This goes deep. An insulting college litany says that failed mathematicians become computer programmers. They are also ridiculed for being nerdy losers, for being too fat or too skinny, and for having few social skills. Most programmers can be spotted easily in a crowd. Nobody really wants to hang out with them. Put thousands of these people in one company and if you can get them to work, you become a billiona
QuestionHow much of .NET is .NET ? Pin
1-Mar-02 16:41
suss1-Mar-02 16:41 
AnswerRe: How much of .NET is .NET ? Pin
James T. Johnson1-Mar-02 18:13
James T. Johnson1-Mar-02 18:13 
AnswerRe: How much of .NET is .NET ? Pin
Daniel 'Tak' M.9-Mar-02 9:47
Daniel 'Tak' M.9-Mar-02 9:47 
QuestionEpsilon Emmulation in VS.NET? Pin
28-Feb-02 7:02
suss28-Feb-02 7:02 
GeneralInteraction with MSN Messenger Pin
27-Feb-02 3:30
suss27-Feb-02 3:30 
General.Net and ZoneAlarm !!!!!!! Pin
Stan Shannon27-Feb-02 0:44
Stan Shannon27-Feb-02 0:44 
GeneralRe: .Net and ZoneAlarm !!!!!!! Pin
Jörgen Sigvardsson27-Feb-02 1:05
Jörgen Sigvardsson27-Feb-02 1:05 
GeneralRe: .Net and ZoneAlarm !!!!!!! Pin
Stan Shannon27-Feb-02 1:15
Stan Shannon27-Feb-02 1:15 
GeneralWebService using CORBA Pin
26-Feb-02 23:28
suss26-Feb-02 23:28 
GeneralC# - MC++ friend,internal, and templates Pin
pattyweb26-Feb-02 17:05
pattyweb26-Feb-02 17:05 
GeneralRe: C# - MC++ friend,internal, and templates Pin
Anders Molin26-Feb-02 22:25
professionalAnders Molin26-Feb-02 22:25 
GeneralRe: C# - MC++ friend,internal, and templates Pin
pattyweb27-Feb-02 2:17
pattyweb27-Feb-02 2:17 
GeneralRe: C# - MC++ friend,internal, and templates Pin
Anders Molin27-Feb-02 2:23
professionalAnders Molin27-Feb-02 2:23 
Questioncan i deploy .net in small size? Pin
25-Feb-02 20:31
suss25-Feb-02 20:31 
AnswerRe: can i deploy .net in small size? Pin
James T. Johnson25-Feb-02 20:47
James T. Johnson25-Feb-02 20:47 
GeneralRe: can i deploy .net in small size? Pin
25-Feb-02 21:37
suss25-Feb-02 21:37 
GeneralRe: can i deploy .net in small size? Pin
Anders Molin26-Feb-02 2:52
professionalAnders Molin26-Feb-02 2:52 

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.