realbasic-plugins
[Top] [All Lists]

Re: MSVC++ Error (newbie)

To: jkohns <jkohns at callerid dot com>, REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: MSVC++ Error (newbie)
From: Jonathan Johnson <jonj at realsoftware dot com>
Date: Wed, 8 Dec 2004 14:28:20 -0600
Cc:
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <20041208201601 dot 13564 dot qmail at server278 dot com>

On Dec 8, 2004, at 2:16 PM, jkohns 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()
{
        return false;
}

REALmethodDefinition TestMe = {
        (REALproc) CreateOneAppMutex,
        REALnoImplementation,
        "TestMe() as Boolean"
};

I believe the compiler is complaining that you named both a function and a variable the same name. Try renaming the REALmethodDefinition to something like TestMeMethod.

HTH,
Jon


--
Jonathan Johnson
REAL Software, Inc.

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

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