On 12/8/04 2:16 PM, "jkohns" <jkohns at callerid dot com> wrote:
> So I started looking at the plugin sdk today on MSVC++, and was able to open
> and compile the testPlugin example, but when I add on function
>
> in testPlugin.cpp:
> --------------------------
>
> Boolean TestMe()
> REALmethodDefinition TestMe = {
This is like having two variables of the same name, you need to rename one
of them. Perhaps you wanted something more like this:
Boolean TestMe()
{
return false;
}
REALmethodDefinition TestMeDefn = {
(REALproc) TestMe,
REALnoImplementation,
"TestMe() as Boolean"
};
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
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>
|