realbasic-plugins
[Top] [All Lists]

Re: plugin assertion failure on windows

To: "REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>" <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: plugin assertion failure on windows
From: William Yu <william at realsoftware dot com>
Date: Wed, 20 Apr 2005 14:57:25 -0500
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
On 4/20/05 2:34 PM, "Alexander Cohen" <xrite at toomuchspace dot com> wrote:

>>> Im working on a large plugin for mac and windows. The complete plugin
>>> compiles fine on mac and windows. Then, the rb app compiles fine also
>>> for mac and windows.
>> 
>> Is this an RBX based plug-in or a resource based one?
> 
> This is resource based.

Can you use some kind of resource editor and check that the PL86 resource
looks correct?  The file name of the DLL should be located at the beginning.
Or try using the RB Plugin Converter and looking at the directory structure
of the RBX plugin it spits out.

>> This usually means that the DLL could not be loaded.  Is it possible
>> that
>> you included the wrong library?
> 
> What libraries are you talking about? If you mean all the regular libs
> for plugin dev, they are all there.

Sorry, I meant the wrong DLL.  I'm just trying to make sure you've linked in
the correct stuff, and not somehow included your Mac shared library in your
PL86 resource.  Assuming your plug-in is correct, then the only other
possibilities are that the DLL could not be written out properly when
running the app, or you didn't export the PluginEntry function (doubtful,
unless you hacked our SDK, or didn't really build a DLL).  Run as
administrator and see if that solves your problem.  If you have a copy of
the Windows IDE, you could also try debugging it there by copying the DLL
into the Plugins folder and running the IDE.  If it doesn't load in the IDE,
then something's wrong with how you built your DLL.


Regards,
William Yu
william at realsoftware dot com

_______________________________________________
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>