🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.activex
2 messages
2 total messages Started by Tomas Krag Hansen Fri, 03 Sep 1999 00:00
Problems checking OLEVariant value
#38
Author: Tomas Krag Hansen
Date: Fri, 03 Sep 1999 00:00
18 lines
1487 bytes
Greetings

I'm trying to check the return value from a COM object that returns an
OLEVariant. My problem is that the only documentation of the return values
are a (friggin) VB example. The COM object (at one time) returns a VB value
of Nothing... what is this value in Delphi and how do I check the OLEVariant
returned?

Thanks in advance...

Tomas...
To reply remove the nospam_
--
"If you hold back anything, I'll kill ya. If you bend the truth or I think
your bending the truth, I'll kill ya. If you forget anything I'll kill ya.
In fact, you're gonna have to work very hard to stay alive, Nick. Now do you
understand everything I've said? Because if you don't, I'll kill ya."
Rory Breaker in Lock, Stock and Two Smoking Barrels
Re: Problems checking OLEVariant value
#41
Author: Jason Swager
Date: Fri, 03 Sep 1999 00:00
19 lines
1276 bytes
You can use the VarIsNull function to see if it NULL, VarIsEmpty to
see if it unassigned.
Jason Swager

On Fri, 3 Sep 1999 13:14:03 +0100, "Tomas Krag Hansen"
<krag@nospam_ahead.com> wrote:

>Greetings
>
>I'm trying to check the return value from a COM object that returns an
>OLEVariant. My problem is that the only documentation of the return values
>are a (friggin) VB example. The COM object (at one time) returns a VB value
>of Nothing... what is this value in Delphi and how do I check the OLEVariant
>returned?
>
>Thanks in advance...
>
>Tomas...
>To reply remove the nospam_
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads