DLL Error Handling
Posted on 2002-05-14
I have written a DLL and this has some public properties eg
Public Property Let BorrowAmount(temp As Long)
intBorrowAmount = temp
If a client uses this DLL and assigns an illegal value to the BorrowAmount, I wish to trap this error and handle it within the DLL rather than the client. What is the best way to accomplish this?