Hello all,

I have a User Defined Type which can hold information about an Employee. I just don't know where exactly to declare it.
If I declare in it a standard module, and try to reference it, I get the following error:

Only user-defined types defined in public object modules can be coerced to or from a variant or passed to late-bound functions.

If I declare the UDT on a class module of a (second) project added to the current group, it's working. (I also added a reference to the DLL created by this second project).

If I declare my UDT in a class module on the first project, I get the same error. So where should I declare the UDT if I am not using the DLL from the second project??

Imar

[Edited by Imar on 05-02-2000 at 12:19 AM]