realbasic-plugins
[Top] [All Lists]

Re: Windows Platform Plugins ( suggested direction )

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Windows Platform Plugins ( suggested direction )
From: Joshua Demori <jddemori at earthlink dot net>
Date: Wed, 20 Jul 2005 11:27:04 -0400
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=simple; s=test1; d=earthlink.net; h=Mime-Version:In-Reply-To:References:Content-Type:Message-Id:From:Subject:Date:To:X-Mailer; b=TRNyzau9/yat865NX57pT3eXNMREFdwHg+4oreK4K9O40kloc71EJABFZjb/HSc8;
References: <S dot 0000515639 at mail dot tempel dot org>
CodeWarrior 6,

I had updated it centuries ago, but between updates and reinstalling systems, not sure, I'll check this again. How about this. Here's a simple code.

#include "rb_plugin.h"

static void test_Josh( int *x, int *y)
{
        
        *y = 77 + *y;
        *x = 33 + *x;
}

REALmethodDefinition test_JoshDefn = {
(REALproc) test_Josh, REALnoImplementation, "test_Josh(BYREF x as integer, BYREF y as integer)"
};


void PluginEntry(void)
{
        REALRegisterMethod(&test_JoshDefn);
}

Could you please stick this in your cw project template send me the results. I know it complies for mac, cant get the windows to work.

Um, we haven't stuck you with CW as your only option.  You can use
XCode, gcc, VC++ and mingw for creating plugins for REALbasic.

Err, and to create a plugin for all platforms, you have to use almost ALL
of them, isn't it so?

And I write code to be generic which should allow any one to take that code compile it on any machine. Of course you can't take advantage of win/mac specific features, REALBASIC should have interfaces for the good stuff, yet what I believe and what I want to use plugins for is that generic code written in c/c++ to do things faster than real basic can and much more powerfully than it can. I just use real basic for WINDOW INTERFACES AND CONTROLS because its good for that.






Joshua Demori

RFI INGREDIENTS
Inventory / IT
300 Corporate Drive Suite 14
Blauvelt, NY 10913

(845) 358-8600  ext. 115
FAX: (845) 358-9003
On Jul 20, 2005, at 11:05 AM, Thomas Tempelmann wrote:

Joshua Demori wrote:

Which version of Code Warrior? I have version 6 and it is a nightmare
crashes like crazy, and have not been able to get the sdk code to work
on it.

I use CW Pro 4, 5, 6 and 7 for plugin devel, all without crashes.
Have you update the CD version with the updates from the MW site?

The only thing which will compile with tinkering is tt's
original code.

 :)

Um, we haven't stuck you with CW as your only option.  You can use
XCode, gcc, VC++ and mingw for creating plugins for REALbasic.

Err, and to create a plugin for all platforms, you have to use almost ALL
of them, isn't it so?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>