When the solution matters

Tips...

Registration Documentation Knowledgebase Seminars / Training Technical Support Partner Central

API/Plug-in Center

Tutorials

Code Generation

Once we have completed our commands we are ready to generate our code to disk. All that is needed is to click on the Generate button from our main dialog. This button will ask where on the disk you wish to save your new project. The developer can choose any location they wish; it does not matter where the new or edited project is saved.

screenshot

The following options are available when generating code from the Plug-In Wizard:

Metrowerks Codewarrior project: This will generate a Codewarrior 5.3 project on to disk. You can open this project in v5.3 or a later version of Codewarrior. If you use a version after 5.3 you will be asked if you wish to convert the project. Converting to a newer version will not affect how the code is compiled.

Metrowerks Codewarrior Mac/Win project: This is currently in development and should be released in the very near future. This project will allow the user to create a project that includes both Mac and Windows versions of the plug-in.

Microsoft Visual C++ project: This option generates a Visual C++ project to disk. This project can be opened under v6.0 of Visual C++ or later.

4D Plug-in API Source Files: This copies the 4D Plug-in folder to the projects folder. If you do not want to change any Access Paths in your compiler then you should leave this option checked when creating your project. If you do not mark this checkbox, the 4D API files will not be copied to the plug-in project's folder and you will need to update the Access Paths to point to this folder. The files included in this folder are needed to compile a plug-in for 4D.

Source Files: This option copies the .c and .h files that were created for the plug-in.

Resource Files: This option copies the .rsrc (Mac) or .rsr (Windows) file to disk. The Plug-In Wizard generates the resource files.

Back 1 2 3 4 5 6 Next Step



International | Company | Contact 4D | Site Map | Privacy Policy | © 4D UK 1995-2008 | Change font size: [A] [A] [A] | Print this page