On 1 Dec 2008, at 17:45, Bastian Bense wrote:

Hey guys,

I'm trying to get started with REALbasic plugins, and I have some
experience with writing Python modules in C++.
It seems that REALbasic's SDK is not so much different from the way
plugins are written for any other high level language or software;
however, I have the feeling that the REALbasic SDK is old and
outdated, not optimized and not tested with recent compilers and IDEs.

Here are a few things I noticed:
- the example project for Xcode is outdated and does not work
- there is not a single example project that actually compiles on OS X
- typedefs for "Boolean" (and some others) only exist in the Win32
header includes resulting in compilation errors on other platforms?

Is it just me, or is the RB-SDK a really big mess? Can someone point
me to a good tutorial, fixed headers/makefiles/xcode projects or
anything that helps with the compilation of plugins for REALbasic?

I have my own SDK :( So I can't help you much there. The reason was I was planning to let people use ElfData outside of REALbasic and wanted to keep REALbasic's lock/unlock mechanism, so I had to rework a lot of stuff to make it happen.

Then I later decided I didn't have time to port my plugin to C++ :D I mean it does work, I just didn't release it, but I've used ElfData in the past in a private C++ based project.

I also improved a few things here and there to make them go faster and make it easier to use ;) And removed a lot of useless stuff.

Personally... I don't like it when the headers define "bool". A bool should be a 1 byte sized int of 1 or 0. In Xcode you can turn on "one byte bool" compilation, which is a good idea.

But yeah the SDK is a mess, and most of the projects don't compile or work. It's a real mess.

I'd send you my plugin SDK only... if you used it you'd never be able to use plugin code from other authors ;) Even the names are different. Like OPLock instead of REALLockObject (OP stands for ObjectPlatform)

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to