I have the following code that I cannot get to compile. I get the error "A
Sealed class cannot be abstract."
[Serializable]
public __value struct DVRAVIFileHeader : public ISerializable
{
double EventID;
String *EventName;
USHORT EventNum;
String *EventType;
String *Location;
ULONG CameraList;
// ISerializable Interface
void GetObjectData(SerializationInfo *info, StreamingContext
*context)
{
}
};
The MSDN help shows that this can be done with an example using IClonable.
If I use IClonable, then it compiles, but for some reason, I cannot use
ISerializable.
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------