|
Hey Phil, as you know doubt know, passing any type
of memory around that is dynamic (e.g. string) as apposed to static (e.g.
integer) is not a good idea. I haven't looked but maybe this class information
uses strings to store different things, and therefore is
unreliable.
How many different types of object are you passing
through? could you perhaps set the object tag value (e.g. tag=1 = twhatever
tag=2 = twhatever2 and then cast type within the dll? ) This would mean
though that you would have to upgrade your dll if you want to support any
additional type of objects.
By the way, I would recommend you not doing this at
all. I would pass what information you need from the object through in a static
object type, create an object of the type required within the dll and do what
you have to do, but of course that would completely depend on the type of object
you are throwing around.
Matt.
|
_______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
