Passing and object from VB into CVF COM DLL

Passing and object from VB into CVF COM DLL

I have now created an object in VB which I want pass into my CVF COM DLL. I have created and Property Put / Get for a VARIANT in the CVF COM DLL. The code in VB to pass the object is Set MBE.TestClass = OMbal, where MBE is an instance of my CVF COM object, and TestClass is the property. OMbal is a local VB object.
Running this in the CVF debugger, I put breakpoints on the first line of the Get and Put functions. When the VB code is executed, it breaks in the Get property for TestClass, not the Put ! Why is this? I am trying to set the CVF object (left hand side of the VB assignment), yet CVF is breaking in the Get?

1 post / novo 0
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.