How can I generate .RSR-file for existing Plug-In ?

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

How can I generate .RSR-file for existing Plug-In ?

by ramil_k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

With the plug-in wizard I can create new plug-ins or open existing project from my computer.
But I didn't find how to open and edit an existing old projects from other computers in the
plug-in wizard on my computer.
I have an old project and made some changes (add 3 new commands and functions),
and now I don't know how to generate a new .RSR file for this project.
 
Thanks.

Re: How can I generate .RSR-file for existing Plug-In ?

by Matthias Schmidt-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am/On Fri, 15 May 2009 02:04:48 -0700 schrieb/wrote ramil_k:

>
>Hello,
>
>With the plug-in wizard I can create new plug-ins or open existing project
>from my computer.
>But I didn't find how to open and edit an existing old projects from other
>computers in the
>plug-in wizard on my computer.
>I have an old project and made some changes (add 3 new commands and
>functions),
>and now I don't know how to generate a new .RSR file for this project.

with the plugin wizzard you read in the old ressource file, edit it and
create the project.
This will create the new ressource file as well.
We usually use Resorcerer on MacOS to edit the ressource file.

cheers,
Matthias

------------------------------------------------------------------------
Admilon Consulting GmbH
Am Wiesengrund 9a, 90584 Allersberg, Germany
Geschäftsführer: Peter Frank, Matthias Schmidt
Amtsgericht Nürnberg: HRB 21750
VAT Reg.No: DE242271157
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@...
***********************************************************************


Re: How can I generate .RSR-file for existing Plug-In ?

by ramil_k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How can I read the old ressource file? I don't see it in the project list and can't drag it in to project list ...
I have 4 D v 11 for Windows.

Thanks.

Matthias Schmidt-6 wrote:
Am/On Fri, 15 May 2009 02:04:48 -0700 schrieb/wrote ramil_k:

>
>Hello,
>
>With the plug-in wizard I can create new plug-ins or open existing project
>from my computer.
>But I didn't find how to open and edit an existing old projects from other
>computers in the
>plug-in wizard on my computer.
>I have an old project and made some changes (add 3 new commands and
>functions),
>and now I don't know how to generate a new .RSR file for this project.

with the plugin wizzard you read in the old ressource file, edit it and
create the project.
This will create the new ressource file as well.
We usually use Resorcerer on MacOS to edit the ressource file.

cheers,
Matthias

------------------------------------------------------------------------
Admilon Consulting GmbH
Am Wiesengrund 9a, 90584 Allersberg, Germany
Geschäftsführer: Peter Frank, Matthias Schmidt
Amtsgericht Nürnberg: HRB 21750
VAT Reg.No: DE242271157
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@info.4D.com
***********************************************************************

Re: How can I generate .RSR-file for existing Plug-In ?

by Koen Van Hooreweghe-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Normally you can save your projects in the plugin wizard. Update it  
or if you can't find it any more, recreate it in the plugin wizard.  
Then generate the project files and just keep the newly created rsr.

HTH
Koen
Op 15-mei-09, om 11:56 heeft ramil_k het volgende geschreven:

> How can I read the old ressource file? I don't see it in the  
> project list and
> can't drag it in to project list ...
> I have 4 D v 11 for Windows.

**********************************************************************
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: How can I generate .RSR-file for existing Plug-In ?

by ramil_k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

yes, but if I made any changes manually in .C code after I saved new project, my changes don't show up in the plug-in wizard.

I think the plug-in wizard gets all information from the project file, and not from the .C code

From the old plugin I have only .C code and old .RSR-file. I added new commands und functions in the code and builded new plugin and now I will generate new .RSR file.

Thanks.

Koen Van Hooreweghe-2 wrote:
Hi,

Normally you can save your projects in the plugin wizard. Update it  
or if you can't find it any more, recreate it in the plugin wizard.  
Then generate the project files and just keep the newly created rsr.

HTH
Koen
Op 15-mei-09, om 11:56 heeft ramil_k het volgende geschreven:

> How can I read the old ressource file? I don't see it in the  
> project list and
> can't drag it in to project list ...
> I have 4 D v 11 for Windows.

**********************************************************************
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@info.4D.com
***********************************************************************

Re: How can I generate .RSR-file for existing Plug-In ?

by Koen Van Hooreweghe-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The plugin wizard stores the project info in its own datafile. The  
wizard is a 4D application!
If you still have the data, you'll have the project info of your  
original plugin.

You can modify this plugin project data in the wizard or create it  
from scratch. Just keep in mind you'll have to recreate your methods  
in the same order as you originally created them.
Then let the wizard generate your project files in a separate place.  
Keep the new .RSR file.

Replace the .RSR from your current with the new .RSR.
To be sure you can compare your header and c code with the code the  
wizard created to see if every method still has the same number.

Koen

Op 15-mei-09, om 12:11 heeft ramil_k het volgende geschreven:

> yes, but if I made any changes manually in .C code after I saved  
> new project,
> my changes don't show up in the plug-in wizard.
>
> I think the plug-in wizard gets all information from the project  
> file, and
> not from the .C code
>
> From the old plugin I have only .C code and old .RSR-file. I added new
> commands und functions in the code and builded new plugin and now I  
> will
> generate new .RSR file.

**********************************************************************
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: How can I generate .RSR-file for existing Plug-In ?

by Rob Laveaux :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 15 mei 2009, at 11:04, ramil_k wrote:

> I have an old project and made some changes (add 3 new commands and
> functions), and now I don't know how to generate a new .RSR file for  
> this project.

You can use this resource editor, which is written in 4D:
http://www.orchardsoft.com/4dapps/resource_editor.htm

Then edit the STR# resource to add the new commands and define their  
signature.
If you need to add new themes, you need to edit the THM# resource.
Finally update the FON# resource, which links each plugin command to  
its theme.

HTH,

- Rob Laveaux

--------------------------------------------------------
Pluggers Software
Bleriotlaan 62
2497 BM  Den Haag
The Netherlands

Email: rob.laveaux@...
Website: http://www.pluggers.nl

--------------------------------------------------------



**********************************************************************
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: How can I generate .RSR-file for existing Plug-In ?

by ramil_k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

yes, I can make new project and make new plgin at start,
but why I need some plug-in wizard, íf I can't open my project on other computer?
I need to generate only new .RSR file for my new plugin.
All information about my new plugin is in .H file, why I can't  simply generate new
.RSR file or edit existing .RSR file ???

Thanks.

Koen Van Hooreweghe-2 wrote:
The plugin wizard stores the project info in its own datafile. The  
wizard is a 4D application!
If you still have the data, you'll have the project info of your  
original plugin.

You can modify this plugin project data in the wizard or create it  
from scratch. Just keep in mind you'll have to recreate your methods  
in the same order as you originally created them.
Then let the wizard generate your project files in a separate place.  
Keep the new .RSR file.

Replace the .RSR from your current with the new .RSR.
To be sure you can compare your header and c code with the code the  
wizard created to see if every method still has the same number.

Koen

Op 15-mei-09, om 12:11 heeft ramil_k het volgende geschreven:

> yes, but if I made any changes manually in .C code after I saved  
> new project,
> my changes don't show up in the plug-in wizard.
>
> I think the plug-in wizard gets all information from the project  
> file, and
> not from the .C code
>
> From the old plugin I have only .C code and old .RSR-file. I added new
> commands und functions in the code and builded new plugin and now I  
> will
> generate new .RSR file.

**********************************************************************
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@info.4D.com
***********************************************************************

Re: How can I generate .RSR-file for existing Plug-In ?

by ramil_k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, it was helpful.

Rob Laveaux wrote:
On 15 mei 2009, at 11:04, ramil_k wrote:

> I have an old project and made some changes (add 3 new commands and
> functions), and now I don't know how to generate a new .RSR file for  
> this project.

You can use this resource editor, which is written in 4D:
http://www.orchardsoft.com/4dapps/resource_editor.htm

Then edit the STR# resource to add the new commands and define their  
signature.
If you need to add new themes, you need to edit the THM# resource.
Finally update the FON# resource, which links each plugin command to  
its theme.

HTH,

- Rob Laveaux

--------------------------------------------------------
Pluggers Software
Bleriotlaan 62
2497 BM  Den Haag
The Netherlands

Email: rob.laveaux@pluggers.nl
Website: http://www.pluggers.nl

--------------------------------------------------------



**********************************************************************
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@info.4D.com
***********************************************************************