[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-atl
Subject:    Re: BSTR: <Wimper>...
From:       Hocking Steven <hocking () RADIUSPLC ! CO ! UK>
Date:       1999-04-30 9:39:32
[Download RAW message or body]


Hi all,

Thanks for the suggestions, much appreciated in getting the blasted thing
working!

>>STDMETHODIMP CSystemMessage::GetError(int * Severity, BSTR * ErrorMessage,
>BOOL
>>*RetVal)
>
>If you want to use it from VB change BOOL parameter to VARIANT_BOOL and use
>VARIANT_TRUE and VARIANT_FALSE values
>
I'd already found out the problem with this using C++'s BOOL, but had got round
it. :) Thanks for putting me onto this though.

>PS:  VB is happy with [out] parameters, VBScript is not (at least, prior to
>5.0).
>
Something new to consider when we finally get this thing out... :/

Cheers, Steve.

----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info including how to unsubscribe.  Save time, search
the archives at http://discuss.microsoft.com/archives/index.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic