realbasic-plugins
[Top] [All Lists]

Re: Variant, VariantType = 0

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Variant, VariantType = 0
From: Mars Saxman <mars at realsoftware dot com>
Date: Sat, 14 Jan 2006 20:10:41 -0800
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <82be81d002555ca8c415399b22955437 at mac dot com>

On Jan 14, 2006, at 8:35 AM, Alfred Van Hoek wrote:

The Plugin Api provides entry points to create Variants with REALNewVariantxxx. It does not provide REALNewVariantObject because it wasn't necessary; One simply can return any REALobject as a variant to the RB runtime. But if the REALobject = NULL, will the "conversion" to a variant give a valid variant with VarType = 0?

Sure - that's exactly how it works.

Mars Saxman
REAL Software

_______________________________________________
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>


<Prev in Thread] Current Thread [Next in Thread>