realbasic-plugins
[Top] [All Lists]

RE: REALGetEventInstance returns NULL

To: "REALbasic Plugins" <realbasic-plugins at lists dot realsoftware dot com>
Subject: RE: REALGetEventInstance returns NULL
From: Thomas Tempelmann <listuser at tempel dot org>
Date: Fri, 22 Jul 2005 17:31:49 +0200
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
Darren Boon wrote:

>This
>required them to be declared static to avoid linking errors and they also
>happened to be in the extern "C" block used to expose the methods.
>
>Apparently this prevents RB from linking up the events properly

That has nothing to do with RB - if you declare static vars of the same 
name in separate files and link them together, they'll become separate 
entities in memory as well. So, it was simply a C coding error.

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