Cmd tokenized but not recognized

View: New views
2 Messages — Rating Filter:   Alert me  

Cmd tokenized but not recognized

by Matthias Schmidt-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

today I appended 1 command to my plugin.
The command is recognized in the plugins list of 4D, but when I paste
it, it is not displayed as Plugin Command, but like a variable.
When I try to compile the database, the compiler complains about the
plugin cmd.

Obviously I can't debug to see what's going on, I never reach the case
statement in which the command would be called.
This is all on a intel Mac with 4D v11.
The Plugin API is from 2007 last version
- the command is in the rsrc file
- it's also listed in the THM#
- it's in the header file as well

all the other commands of that plugin do work and I also can debug them.

Any idea?

Thanks and all the best

Matthias

------------------------------------------------------------------------
Admilon Consulting GmbH <http://www.admilon.de>
Am Wiesengrund 9a, 90584 Allersberg
Geschäftsführer: Peter Frank, Jürgen Krey, Matthias Schmidt
Amtsgericht Nürnberg: HRB 21750
Tel.: 09174 - 6646
-------------------------------------------------------------------------



**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/


    Did you know?  The 4D Partner Program now gives you
    access to Hotfix releases as soon as they are available!
    To learn more, go to http://www.4D.com/support/partner.html

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: Cmd tokenized but not recognized [solved]

by Matthias Schmidt-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am/On Mon, 11 Feb 2008 19:22:04 +0900 schrieb/wrote Matthias Schmidt:

>today I appended 1 command to my plugin.
>The command is recognized in the plugins list of 4D, but when I paste
>it, it is not displayed as Plugin Command, but like a variable.
>When I try to compile the database, the compiler complains about the
>plugin cmd.
>
>Obviously I can't debug to see what's going on, I never reach the case
>statement in which the command would be called.
>This is all on a intel Mac with 4D v11.
>The Plugin API is from 2007 last version
>- the command is in the rsrc file
>- it's also listed in the THM#
>- it's in the header file as well
>
>all the other commands of that plugin do work and I also can debug them.
>
>Any idea?

nice when one answer his own questions ;-)

the name for the command was too long.

cheers,

Matthias

------------------------------------------------------------------------
Admilon Consulting GmbH
Am Wiesengrund 9a, 90584 Allersberg, Germany
Geschäftsführer: Peter Frank, Jürgen Krey, Matthias Schmidt
Amtsgericht Nürnberg: HRB 21750
Tel.: +49-9174 - 6646 Fax: +49-9174 - 6647
<http://www.admilon-consulting.de>
-------------------------------------------------------------------------


**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/


    Did you know?  The 4D Partner Program now gives you
    access to Hotfix releases as soon as they are available!
    To learn more, go to http://www.4D.com/support/partner.html

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************