Xojo Conferences
XDCMay2019MiamiUSA

TestPlugin (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: plugins interaction
Next thread: stack overflow - more!


Re: class extensions...   -   Jan Erik Moström <
  TestPlugin   -   Scott Griebel
   Re: TestPlugin   -   Kevin Ballard
    Re: TestPlugin   -   Scott Griebel
     Re: TestPlugin   -   Joseph J. Strout
    Re: TestPlugin   -   Klaus Busse
    Re: TestPlugin   -   Joseph J. Strout
   Re: TestPlugin   -   Joseph J. Strout

TestPlugin
Date: 25.09.02 04:20 (Tue, 24 Sep 2002 23:20:18 -0400)
From: Scott Griebel
Hello. I am new to RealBasic and am trying to get plugins to work. I
downloaded the SDK and then was able to open and build the TestPlugin
codewarrior project. I then took the Test Plugin PPC icon and put it in my
realbasic plugins folder. So this example has the add5(x) function in it as
you know. Shouldn't I be able to just refer to this function if the plugin
is available or do I have to do something additional?

Thanks,
Scott

---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>

Re: TestPlugin
Date: 25.09.02 04:26 (Tue, 24 Sep 2002 23:26:22 -0400)
From: Kevin Ballard
Did you restart REALbasic? And are you using the Classic version? The
Carbon version of the IDE won't load PPC-only plugins.

On Tuesday, September 24, 2002, at 11:20 PM, Scott Griebel wrote:

> Hello. I am new to RealBasic and am trying to get plugins to work. I
> downloaded the SDK and then was able to open and build the TestPlugin
> codewarrior project. I then took the Test Plugin PPC icon and put it
> in my
> realbasic plugins folder. So this example has the add5(x) function in
> it as
> you know. Shouldn't I be able to just refer to this function if the
> plugin
> is available or do I have to do something additional?

Re: TestPlugin
Date: 25.09.02 08:29 (Wed, 25 Sep 2002 03:29:47 -0400)
From: Scott Griebel
I am indeed using the Carbon version so that must be it. However, when I go
to try to create a new target for carbon, I was hoping it would be obvious,
but it wasn¹t. I see that the source list is:

PluginMain.cpp
TestPlugin.cpp
InterfaceLib
MSL_Rntime_PPC.lib
TestPlugin Resources

Do I need to add some Carbon Lib? How can I find out what it is called? If
that is not right, how can I create the Carbon plugin? I apologize in
advance if what I am asking is very difficult.

Thanks,
Scott

On 9/24/02 11:26 PM, "Kevin Ballard" <kevin@sb.org> wrote:

> Did you restart REALbasic? And are you using the Classic version? The
> Carbon version of the IDE won't load PPC-only plugins.
>
> On Tuesday, September 24, 2002, at 11:20 PM, Scott Griebel wrote:
>
>> Hello. I am new to RealBasic and am trying to get plugins to work. I
>> downloaded the SDK and then was able to open and build the TestPlugin
>> codewarrior project. I then took the Test Plugin PPC icon and put it
>> in my
>> realbasic plugins folder. So this example has the add5(x) function in
>> it as
>> you know. Shouldn't I be able to just refer to this function if the
>> plugin
>> is available or do I have to do something additional?

---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>

Re: TestPlugin
Date: 25.09.02 17:07 (Wed, 25 Sep 2002 09:07:42 -0700)
From: Joseph J. Strout
At 3:29 AM -0400 9/25/02, Scott Griebel wrote:

>I am indeed using the Carbon version so that must be it. However, when I go
>to try to create a new target for carbon, I was hoping it would be obvious,
>but it wasn't.

That's why there's a "Targeting Carbon" section of the documentation.
But it's also why I suggested starting with one of the newer samples,
which are already fully cross-platform.

Best,
- Joe

Re: TestPlugin
Date: 25.09.02 08:37 (Wed, 25 Sep 2002 09:37:19 +0200)
From: Klaus Busse
>The Carbon version of the IDE won't load PPC-only plugins.

Is this true? If so, it sound like a major bug to me - wouldn't that
mean that you have to build multiplatform plugins to use them under
OS X?

Thanks for any enlightment

Klaus

---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>

Re: TestPlugin
Date: 25.09.02 17:19 (Wed, 25 Sep 2002 09:19:39 -0700)
From: Joseph J. Strout
At 9:37 AM +0200 9/25/02, Klaus Busse wrote:
>>The Carbon version of the IDE won't load PPC-only plugins.
>
>Is this true?

Yes.

> If so, it sound like a major bug to me

It's not.

> - wouldn't that mean that you have to build multiplatform plugins
>to use them under OS X?

No, you could build a Carbon-only plugin. But it'd be much nicer of
you to make it multi-platform, so that it can be used by users of the
IDE on other platforms.

Cheers,
- Joe

Re: TestPlugin
Date: 25.09.02 15:43 (Wed, 25 Sep 2002 07:43:36 -0700)
From: Joseph J. Strout
At 11:20 PM -0400 9/24/02, Scott Griebel wrote:

>Hello. I am new to RealBasic and am trying to get plugins to work. I
>downloaded the SDK and then was able to open and build the TestPlugin
>codewarrior project. I then took the Test Plugin PPC icon and put it in my
>realbasic plugins folder. So this example has the add5(x) function in it as
>you know. Shouldn't I be able to just refer to this function if the plugin
>is available or do I have to do something additional?

Nope, that's it. You should now have an add5() function, just as if
it were a built-in function. If it doesn't work, then my guess is
that it's one of the following:

1. You've built a PPC-only plugin but you're running the Carbon IDE.

2. You're running the Classic IDE, but you've put the plugin in the
wrong place (i.e. it's not really installed).

Incidentally, the Test plugin isn't the easiest one to start with. I
recommend you try one of the newer samples, Dial Control or Long
Processor.

Cheers,
- Joe