Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Realbasic > Re: VB6 to Real...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 9 Topic 3310 of 3326
Post > Topic >>

Re: VB6 to RealBasic

by support@[EMAIL PROTECTED] (Christian Schmitz) Apr 9, 2008 at 05:01 PM

Boris Danner <rbkbd@[EMAIL PROTECTED]
> wrote:

> I think there are some favoured Win API functions (like
> FindFirstFile/FindNextFile, SendMessage, f.e.) which are very often used
> in windows based programs which should have correspondent Linux
functions,
> so that it might be possible to write OS dependent code modules which
> encapsulate these functions.

Wrong way. You should not try to convert all your declares to Linux
dependend declares. Instead you should start and use the REALbasic
cl***** and commands.

You will not need FindFirstFile and the equalivalent Linux API if you
use the folderitem class.

SendMessage is a very Windows specific thing which you can use in
REALbasic if you use a declare and wrap it in #if lines.

#if targetwin32
// windows only code
#elseif targetlinux
// linux only code
#endif

Gruß
Christian

-- 
Over 1000 cl***** with 20000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.2. 

<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
 




 9 Posts in Topic:
VB6 to RealBasic
"Boris Danner"   2008-04-09 16:49:34 
Re: VB6 to RealBasic
support@[EMAIL PROTECTED]  2008-04-09 17:01:17 
Re: VB6 to RealBasic
"Boris Danner"   2008-04-11 14:45:42 
Re: VB6 to RealBasic
"Raoul Watson"   2008-04-11 22:33:35 
Re: VB6 to RealBasic
support@[EMAIL PROTECTED]  2008-04-12 00:40:47 
Re: VB6 to RealBasic
"Boris Danner"   2008-04-12 18:27:53 
Re: VB6 to RealBasic
Lewis Gardner <lgardne  2008-04-13 00:14:01 
Re: VB6 to RealBasic
"Raoul Watson"   2008-04-13 13:10:17 
Re: VB6 to RealBasic
"Raoul Watson"   2008-04-19 13:17:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 2:51:07 CDT 2008.