Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Mon Oct 23, 2017 10:04 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: declare a variable belonging to a dll in RB
PostPosted: Tue Oct 25, 2011 10:25 am 
Offline

Joined: Wed Nov 17, 2010 10:49 am
Posts: 38
Hi All,

To declare a method in a .dll file we use

Soft Declare Function Method_in_dll Lib "Blah.dll" (nComPort As integer, IBaudrate As Integer) As Integer

suppose if there is a variable called Blah_Variable in dll file which changes when you call the method,

How can you access it from Realbasic ?

Any help will be a lifesaver....


Top
 Profile  
Reply with quote  
 Post subject: Re: declare a variable belonging to a dll in RB
PostPosted: Tue Oct 25, 2011 10:32 am 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
declares work only with functions.

The DLL needs to have function to give you the new value.

Greetings
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: declare a variable belonging to a dll in RB
PostPosted: Tue Oct 25, 2011 10:35 am 
Offline

Joined: Wed Nov 17, 2010 10:49 am
Posts: 38
Thanks christian, that will save me lot of time.. keep up the great work at monkeybread..


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group