realbasic-nug
[Top] [All Lists]

Re: Windows Declare Help/Crash

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Windows Declare Help/Crash
From: Mars Saxman <mars at realsoftware dot com>
Date: Thu, 31 Mar 2005 08:06:56 -0800
Delivered-to: realbasic-nug at lists dot realsoftware dot com
realbasic at nc dot rr dot com wrote:

> I am trying to convert a VB6 project to RB.  It seems to be working
> except when it makes the following call:
> Declare Function SetOptionValueA Lib "engine.dll"(ByRef Name  as
> cstring, ByRef Value  as cstring) as integer

This seems strange. Why do you believe that these CString parameters need to
be passed ByRef? 

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>