Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Programming
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Logan" data-source="post: 223166"><p>My big Q & A about RealBasic:</p><p></p><p>1 Q) Does it support custom API manipulation on multiple platforms, and can you create platform dependant code routines?</p><p></p><p>2 A) Platform API's</p><p></p><p>API usage is different in REALbasic than in Visual Basic. REALbasic is richer due to its support for Windows, Linux, Mac OS X and Mac Classic. Just as you use a UDT in Visual Basic, you can use a Structure in REALbasic to define a custom data structure for use with the Declare statement. You will need to do some homework to ensure there is a replacement for your target OS. I suggest carefully thinking about why you are using an API call. In some cases an API call is no longer necessary because REALbasic includes support for the desired feature within the REALbasic class framework itself.</p><p></p><p>However, you should feel comfortable that you can mix and match platform-specific code using REALbasic as shown below.</p><p></p><p>#If TargetMacOS Then</p><p> //Mac specific code here.</p><p>#ElseIf TargetWin32 Then</p><p> //Windows code goes here.</p><p>#ElseIf TargetLinux Then</p><p> //Linux code goes right here.</p><p>#EndIf</p><p></p><p>2 Q) Does it support ActiveX Controls? This was a feature that made VB actually shine with simplicity and power.</p><p></p><p>2 A) Both [VB + RB] support ActiveX controls or OLE (Windows only!), but REALbasic also supports cross-platform "Plug-ins." Since Mac and Linux do not support ActiveX, ActiveX controls will not port to other operating systems, even though they will port to REALbasic Windows builds.</p><p></p><p>I keep seeing more and more positives about this OS. If anyone is interested, I can start writing a review about it in a topic on these forums. Or I can just blog it I suppose.</p></blockquote><p></p>
[QUOTE="Logan, post: 223166"] My big Q & A about RealBasic: 1 Q) Does it support custom API manipulation on multiple platforms, and can you create platform dependant code routines? 2 A) Platform API's API usage is different in REALbasic than in Visual Basic. REALbasic is richer due to its support for Windows, Linux, Mac OS X and Mac Classic. Just as you use a UDT in Visual Basic, you can use a Structure in REALbasic to define a custom data structure for use with the Declare statement. You will need to do some homework to ensure there is a replacement for your target OS. I suggest carefully thinking about why you are using an API call. In some cases an API call is no longer necessary because REALbasic includes support for the desired feature within the REALbasic class framework itself. However, you should feel comfortable that you can mix and match platform-specific code using REALbasic as shown below. #If TargetMacOS Then //Mac specific code here. #ElseIf TargetWin32 Then //Windows code goes here. #ElseIf TargetLinux Then //Linux code goes right here. #EndIf 2 Q) Does it support ActiveX Controls? This was a feature that made VB actually shine with simplicity and power. 2 A) Both [VB + RB] support ActiveX controls or OLE (Windows only!), but REALbasic also supports cross-platform "Plug-ins." Since Mac and Linux do not support ActiveX, ActiveX controls will not port to other operating systems, even though they will port to REALbasic Windows builds. I keep seeing more and more positives about this OS. If anyone is interested, I can start writing a review about it in a topic on these forums. Or I can just blog it I suppose. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Programming
Top