const71
asked on
MsgBox never gets called within my ActiveX DLL
I have a very strange problem with my Visual Basic 6.0...
I have commented all the code so I am basically left with somthing like this
in my DLL class ...
Public Function TestFunction ( ...some parameters here ...) As Boolean
MsgBox "This never gets called!!"
End Function
The strange part is the MsgBox never gets called...I pass in a string (call by reference) and I
am able to assign to it no problem so I know the function itself is being invoked...Is this due
to a bug? or am i missing somthing very obvious here?? I am quite certian i was able to use MsgBox with DLL calls before so perhaps I have some incorrect settings..please help
Thanks
CN
I have commented all the code so I am basically left with somthing like this
in my DLL class ...
Public Function TestFunction ( ...some parameters here ...) As Boolean
MsgBox "This never gets called!!"
End Function
The strange part is the MsgBox never gets called...I pass in a string (call by reference) and I
am able to assign to it no problem so I know the function itself is being invoked...Is this due
to a bug? or am i missing somthing very obvious here?? I am quite certian i was able to use MsgBox with DLL calls before so perhaps I have some incorrect settings..please help
Thanks
CN
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That fixed it :)
Thanks alot