REALInDebugMode is the correct way,

works for me.

On 13.11.2008, at 03:26, Brendan Murphy wrote:

What is the proper way to find out if the application is being run
in the debugger or as a standalone application? The method
REALInDebugMode seems to not be working for me. From the
documentation it says...

Determines whether the plugin is executing within a debug
application or not. If the plugin is executing code but the user's
application is not currently running (in debug or release mode),
this function will still return true. The only time when this
function will return accurate results is if REALinRuntime returns
true (meaning that the plugin is executing from a compiled
application instead of from the IDE itself).

This explanation seems rather convoluted. So what is the proper
way to detect this so that I can put my plugin into a demo mode
when running as a compile application without a license? Is there
a bug in the REALInDebugMode method?

(Using RB2008r4.2)


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

--
______________________________________________________________________
Björn Eiríksson                        [EMAIL PROTECTED]
Einhugur Software
http://www.einhugur.com/
______________________________________________________________________
Einhugur Software has sold its products in 56 countries world wide.
______________________________________________________________________
For support:                           [EMAIL PROTECTED]
To post on the maillist:               [EMAIL PROTECTED]


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to