I have a major problem in a system developped using Visual Basic 6 SP3. This problem occurs among many components of the system. To easily explain the problem I will describe the architecture of the way I can duplicate the problem.

1. I have an ActiveX DLL containing User Defined Types and Methods used throughout the many modules of the system.

2. I have an ActiveX EXE that Declares and Raise an event that uses an argument that is a User Defined Type contained in the referenced ActiveX DLL.

3. I have a regular EXE that references both the ActiveX DLL and the ActiveX EXE. It declares "WithEvents" the ActiveX EXE object.

The problem is that the event passing the UDT from the ActiveX DLL is raised properly on 2 development systems and thus works flawlessly, but is not on some of the systems where the software is installed. On those systems the event is not raised at all (ie. not fired in the regular EXE). Other events where no UDT's from the ActiveX DLL are passed, do fire in these test systems. Is there an easy way of resolving this problem?

Kindest regards,

Luc Paquin
J. Luc Paquin Consultants Inc.