Creating & Registering Transport Types for Drag and Drop...

If I am trying to register a transport type that has a structure that has
members that are STL objects (list, string, etc.) what do I need to do to
properly pack these items?

Take a simple class:

class test {
int foo;
string bar;
list string_list;
};

They just don’t seem to fit the bill of PACK_RAW, PACK_STRING,
PACK_STRUCT…

I would imagine as a side note if I had a struct/class that had inclusive
members of other classes that I could register those subclasses and in the
fixup’s specify Tr_TYPE of my registered subtypes? Is this true?

“John Ernster” <jernster@us.gaussinterprise.com> wrote in message
news:9nip1c$i87$1@inn.qnx.com

If I am trying to register a transport type that has a structure that has
members that are STL objects (list, string, etc.) what do I need to do to
properly pack these items?

Take a simple class:

class test {
int foo;
string bar;
list string_list;
};

They just don’t seem to fit the bill of PACK_RAW, PACK_STRING,
PACK_STRUCT…

That’s not possible, a class object can’t be copied or moved. The class
would need some sort of method to lay it’s data in memory then send that
data. The receiving part must then take that data and recreate the class
data. Under Windows classes are send by serializing the data, every MFC
derived class must be supply with a serial in and serial out type of
function member to allow transmission and reception.

I would imagine as a side note if I had a struct/class that had inclusive
members of other classes that I could register those subclasses and in the
fixup’s specify Tr_TYPE of my registered subtypes? Is this true?
\