Archived:Creating dependencies to Open C components
m (Protected "TSS000698 - Creating dependencies to Open C components": KB [edit=sysop:move=sysop]) |
m |
||
| Line 35: | Line 35: | ||
| | | | ||
====Description:==== | ====Description:==== | ||
| − | |colspan = "3"|To ensure that an Open C application will work, it is worthwhile to create dependencies to any Open C plug-in components that are required to run the application. This way, the user will be warned during installation if Open C libraries are not present in the device.<br>To create dependencies to other components by declaring the required components in the PKG file:<br> (componentUID), version-range, <nowiki>{</nowiki>"Component name for lang 1","Component name for lang n",...<nowiki>}</nowiki><br>For Open C plug-in components, the dependencies can be declared as follows:<br> (0x20009a80), 1, 0, 0, <nowiki>{</nowiki>"Symbian OS PIPS"<nowiki>}</nowiki><br> (0x20009aa2), 1, 0, 0, <nowiki>{</nowiki>"Symbian OS STDIOSERVER"<nowiki>}</nowiki><br> (0x10281f34), 1, 0, 0, <nowiki>{</nowiki>"Open C LIBSSL"<nowiki>}</nowiki><br> (0x10281f2c), 1, 0, 0, <nowiki>{</nowiki>"Open C GLIBRARY"<nowiki>}</nowiki><br>In the above example, the dependencies are created to the four OpenC components:<br> <nowiki>’</nowiki>Symbian OS STDIOSERVER<nowiki>’</nowiki> (installed from stdioserver.sis),<br> <nowiki>’</nowiki>Symbian OS PIPS<nowiki>’</nowiki> (pips_s60_wp.sis),<br> <nowiki>’</nowiki>Open C LIBSSL<nowiki>’</nowiki> (openc_ssl.sis),<br> <nowiki>’</nowiki>Open C GLIBRARY<nowiki>’</nowiki> (openc_glib.sis),<br>Dependencies may also be targeted to specific component versions:<br> (0x0123BABE), 1, 2, 0 <nowiki>~</nowiki> *, *, *, <nowiki>{</nowiki>"ComponentName"<nowiki>}</nowiki> ; Version greater than or equal to 1.2.0 is required<br> (0x0123BABE), 1, 2, 0 <nowiki>~</nowiki> 2, 0, 0, <nowiki>{</nowiki>"ComponentName"<nowiki>}</nowiki> ; Version from 1.2.0 to 2.00 required<br> (0x0123BABE), *, *, * <nowiki>~</nowiki> 2, 0, 0, <nowiki>{</nowiki>"ComponentName"<nowiki>}</nowiki> ; Any older version up to (and including) 2.0.0 is required | + | |colspan = "3"|To ensure that an Open C application will work, it is worthwhile to create dependencies to any Open C plug-in components that are required to run the application. This way, the user will be warned during installation if Open C libraries are not present in the device.<br> |
| + | To create dependencies to other components by declaring the required components in the PKG file:<br> (componentUID), version-range, <nowiki>{</nowiki>"Component name for lang 1","Component name for lang n",...<nowiki>}</nowiki><br> | ||
| + | For Open C plug-in components, the dependencies can be declared as follows:<br> (0x20009a80), 1, 0, 0, <nowiki>{</nowiki>"Symbian OS PIPS"<nowiki>}</nowiki><br> (0x20009aa2), 1, 0, 0, <nowiki>{</nowiki>"Symbian OS STDIOSERVER"<nowiki>}</nowiki><br> (0x10281f34), 1, 0, 0, <nowiki>{</nowiki>"Open C LIBSSL"<nowiki>}</nowiki><br> (0x10281f2c), 1, 0, 0, <nowiki>{</nowiki>"Open C GLIBRARY"<nowiki>}</nowiki><br>In the above example, the dependencies are created to the four OpenC components:<br> <nowiki>’</nowiki>Symbian OS STDIOSERVER<nowiki>’</nowiki> (installed from stdioserver.sis),<br> <nowiki>’</nowiki>Symbian OS PIPS<nowiki>’</nowiki> (pips_s60_wp.sis),<br> <nowiki>’</nowiki>Open C LIBSSL<nowiki>’</nowiki> (openc_ssl.sis),<br> <nowiki>’</nowiki>Open C GLIBRARY<nowiki>’</nowiki> (openc_glib.sis),<br>Dependencies may also be targeted to specific component versions:<br> (0x0123BABE), 1, 2, 0 <nowiki>~</nowiki> *, *, *, <nowiki>{</nowiki>"ComponentName"<nowiki>}</nowiki> ; Version greater than or equal to 1.2.0 is required<br> (0x0123BABE), 1, 2, 0 <nowiki>~</nowiki> 2, 0, 0, <nowiki>{</nowiki>"ComponentName"<nowiki>}</nowiki> ; Version from 1.2.0 to 2.00 required<br> (0x0123BABE), *, *, * <nowiki>~</nowiki> 2, 0, 0, <nowiki>{</nowiki>"ComponentName"<nowiki>}</nowiki> ; Any older version up to (and including) 2.0.0 is required | ||
|- | |- | ||
Revision as of 13:38, 29 August 2007
Subject: |
Creating dependencies to Open C components |
TSS000698 | |
|
|
Platform(s): | Device(s), SW version(s): | |
| S60 3rd Edition S60 3rd Edition, FP1 |
|||
Category: |
Symbian C++ | ||
Subcategory: |
Base & System, SW installer | ||
Description: |
To ensure that an Open C application will work, it is worthwhile to create dependencies to any Open C plug-in components that are required to run the application. This way, the user will be warned during installation if Open C libraries are not present in the device. To create dependencies to other components by declaring the required components in the PKG file: | ||
Creation date: |
June 25, 2007 | ||
Last modified: |
- | ||

