At 2:46 PM -0400 4/6/06, GregO wrote:
The reason I'm asking this question is that I have a DLL that includes a bunch of supplied code in VB and I've been working on documenting the changes that need to be made. The problem I'm seeing is this VB Looseness / RB Tightness because the DLL can only return integers....
That's not a problem; you just need to typecast the integer to the enum type. This lets the compiler (and any future readers of the code, possibly including yourself!) know that this you are intentionally converting an integer to an enum, and it's not simply a mistake.
Best, - Joe -- Joseph J. Strout [EMAIL PROTECTED] _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
