• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Create own REALbasic PlugIn

Hi folks!

I was wondering whether someone here could explain how I setup a project in CodeWarrior 6 to create a REALbasic PlugIn?
I tried the examples from RB 5.5.5 but they won't compile out of the box. When opening the project CW tells me it has to convert it first. After that there are a bunch of messages that some settings have been converted and some were newer and have been reset to defaults (this could be my problem).

As I'm using Mac OS 8.6, CW 6 is the last version that's compatible and the documentation from REALbasic for these example PlugIns and setting up CW isn't that good.

Thanks for your help! :)
 
Have you seen if the RealBasic SDK offers any better documentation? I haven't really used RealBasic, so I can't offer any guidance but in researching a project I did learn RealBasic had a SDK. You can get it at https://macintoshgarden.org/apps/realbasic-2005
I meant the SDK. The documentation isn't really helpful.

Maybe the problem is a too old version of CW. The examples for RB-PlugIns seem to run and compile out of the box. But not in my version of CW. The projects have to be converted to be opened. - The SDK doesn't mention any minimum requirements according to CW or anything else.

So I assume that some project settings are missing.

What I need is a „template“ for RB-PlugIns (PPC) for CW6.
 

twelvetone12

Well-known member
I have a copy of the Plugins SDK from around 2000/2001 (version 3.0 I think?) It includes stuff for CW and some examples but I have no idea if it works with CW 6.
 

Phipli

Well-known member
I have a copy of the Plugins SDK from around 2000/2001 (version 3.0 I think?) It includes stuff for CW and some examples but I have no idea if it works with CW 6.
Can I ask why you're specifically tied to CW6? Why not switch to a period matching version? Isn't CW6 from many years before?

Edit : yeah, CW6 is from 1995?!
 
I have a copy of the Plugins SDK from around 2000/2001 (version 3.0 I think?) It includes stuff for CW and some examples but I have no idea if it works with CW 6.
Would you share this SDK with me? - I have the SDK from RB 5.5.5. If you have an older one that would be worth a try! :)

Can I ask why you're specifically tied to CW6? Why not switch to a period matching version? Isn't CW6 from many years before?

Edit : yeah, CW6 is from 1995?!
Of course you can ask! 😄
I'm using it because (according to macintoshgarden) this is the last version which is compatible with Mac OS 8.6. CW7 needs Mac OS 9.
CW6 was released around 2000.
 

cheesestraws

Well-known member
Yeah, incredibly annoyingly, CodeWarrior did a RedHat and restarted their version numbering. If you are using CW6 and the instructions call for CW Pro 6, you will be Very Confused and it won't work properly.
 
Hum.... Sorry to disagree, but :

CodeWarrior 6 was released around 1995.

CodeWarrior Pro 6 was released around 2000.

These are not the same.
Yeah, incredibly annoyingly, CodeWarrior did a RedHat and restarted their version numbering. If you are using CW6 and the instructions call for CW Pro 6, you will be Very Confused and it won't work properly.
Uff… Didn't know that!
Okay then: I'm using CodeWarrior Pro 6. 😄
 

twelvetone12

Well-known member
This is what I have. I also found a template for a starter plugin? I haven't touched this stuff in almost 25 years so I hope all is there!
 

Attachments

  • TT's Plugin Starter.sit.bin
    63.6 KB · Views: 1
  • Plugins SDK.sit.bin
    736.8 KB · Views: 1
This is what I have. I also found a template for a starter plugin? I haven't touched this stuff in almost 25 years so I hope all is there!
Thank you very much! - The starter plugin seems to be better documented than the RB SDK.
I'll definitely give this a try and will report back. :cool:
 

marciot

Well-known member
Maybe the problem is a too old version of CW. The examples for RB-PlugIns seem to run and compile out of the box. But not in my version of CW. The projects have to be converted to be opened. - The SDK doesn't mention any minimum requirements according to CW or anything else.
I think you have this backward. You probably have a version of CW which is too new. If your version of CW was too old, it would error out when opening the project, since it would not be able to interpret the newer project. On the other hand, if you had a newer version, it would offer to convert the project to the newer format, since it would have knowledge of all previous project formats.

So you need to find an older version of CW if you want to avoid the conversion and possible incompatibilities. Please be aware that the numbering system used for CW is very confusing, for example, Code Warrior 8 Gold is older than Code Warrior 4 Pro. It helps to consult this table when determining which version to try:

 
This is what I have. I also found a template for a starter plugin? I haven't touched this stuff in almost 25 years so I hope all is there!
Today I tried the starter PlugIn. - Not compatible with RB 5.5.5. But it works in 3.5.2. This is absolutely sufficient for my (current) needs.
After opening the project in CW Pro 6, I only had to re-add the linked libraries, then it compiled "out of the box".
Thank you very much, that helped a lot! :)
 
Top