I finally created a DLL with ATL!... I build an object and use it from within Visual Basic.
I use the ATL app wizard from VC++ 5.0, then I add some objects, create properties and methods and everithing goes fine!
However all methods I implement return an HRESULT type. WHAT SHOULD I DO TO USE OTHER RETURN TYPES?.
For example I'd like to create a method that returns a BOOLEAN value. This means that when using in VB, when you write for example:
at this moment, VB detects that I'm handling a boolean value and displays a popup combo whith all possibilities (in this case True or False). How can I do this?
... And, how do I do the same wiht ennumerations?
Any help will be greatly appreciated... If you think your knowledge diserves more points just ask me!