New topic: 

Declaring a function and using Variants

<http://forums.realsoftware.com/viewtopic.php?t=43956>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        LeosDad          Post subject: Declaring a function and using 
VariantsPosted: Fri May 11, 2012 7:51 am                         
Joined: Fri May 11, 2012 7:43 am
Posts: 1                Good afternoon all,

I am trying to migrate from VB6 to RB. The contex seems very similar and looks 
like the idea opertunity as VB6 is no longer supported. But, I write software 
based on a suppliers .dll. 

The suppliers .dll uses the declaration 

Declare function StartJob Lib "c:\calcdll.dll" (ByRef p1 As Double, ByRef p2 As 
Variant, ByRef p3 as Double) As Boolean

And since I have tried to use this in RB I am having issues. From research I 
can't pass a vairiant to a .dll or any other external function. 

This is a major issue as it is one of the key components of my programming. The 
output is from the .dll is an array of mostly doubles with a couple of strings 
so its a mixxed bag to be honest.

Has anyone else had this issue and if so how did they over come it?

Thank you in advance.   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to