author | Dominic Pinkman <dominic.pinkman@nokia.com> |
Wed, 16 Jun 2010 10:24:13 +0100 | |
changeset 10 | d4524d6a4472 |
parent 7 | 51a74ef9ed63 |
permissions | -rw-r--r-- |
7
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
1 |
<?xml version="1.0" encoding="utf-8"?> |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
2 |
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
3 |
<!-- This component and the accompanying materials are made available under the terms of the License |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
4 |
"Eclipse Public License v1.0" which accompanies this distribution, |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
5 |
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
6 |
<!-- Initial Contributors: |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
7 |
Nokia Corporation - initial contribution. |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
8 |
Contributors: |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
9 |
--> |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
10 |
<!DOCTYPE concept |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
11 |
PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
12 |
<concept id="GUID-960B2F4E-9012-53EE-973A-C3426A7DD48F" xml:lang="en"><title>Dynamically |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
13 |
Loading Link Libraries Example Code</title><shortdesc>Examples that explain how to use Polymorphic DLLs.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
14 |
<section id="GUID-D3BB6165-14ED-44AD-83A9-C314A43D35B4"><title>Description</title> <p> <filepath>UsingDLLs</filepath> is |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
15 |
an example which shows how to load and use the two DLLs implemented in the |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
16 |
two examples <xref href="GUID-960B2F4E-9012-53EE-973A-C3426A7DD48F.dita#GUID-960B2F4E-9012-53EE-973A-C3426A7DD48F/GUID-6B26A481-BBDC-53C3-A3AA-8CA3EA0F9F30">PolymorphicDLL1</xref> and <xref href="GUID-960B2F4E-9012-53EE-973A-C3426A7DD48F.dita#GUID-960B2F4E-9012-53EE-973A-C3426A7DD48F/GUID-BE92D9E1-5C3E-5276-86E9-07BD751187A4">PolymorphicDLL2</xref>. |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
17 |
Both DLLs implement the same interface in different ways. </p> <p>Note that |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
18 |
this example just shows basic principles. In practice, applications will use |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
19 |
the ECOM mechanism to load DLLs. </p> </section> |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
20 |
<section id="GUID-0CF0BBCF-8FE1-4DB6-AA07-3CBAB0BAFCD2"><title>Build Notes</title> <p> <xref href="GUID-960B2F4E-9012-53EE-973A-C3426A7DD48F.dita#GUID-960B2F4E-9012-53EE-973A-C3426A7DD48F/GUID-6B26A481-BBDC-53C3-A3AA-8CA3EA0F9F30">PolymorphicDLL1</xref> and <xref href="GUID-960B2F4E-9012-53EE-973A-C3426A7DD48F.dita#GUID-960B2F4E-9012-53EE-973A-C3426A7DD48F/GUID-BE92D9E1-5C3E-5276-86E9-07BD751187A4">PolymorphicDLL2</xref> must |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
21 |
be built before <filepath>UsingDLLs</filepath>. </p> </section> |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
22 |
<section id="GUID-8D80DB9E-08AC-42D7-8FB9-2717BAB76E45"><title>Class summary</title><p> <xref href="GUID-25327159-83D6-3507-B187-09EA4BB3727F.dita"><apiname>RLibrary </apiname></xref> <xref href="GUID-0DD554D7-B9B1-3FD3-898F-4D855144FCEA.dita"><apiname>CleanupStack </apiname></xref> <xref href="GUID-E263C747-946F-35AA-9F1D-41833BD350FC.dita"><apiname>RFs</apiname></xref> </p></section> |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
23 |
<section id="GUID-6B26A481-BBDC-53C3-A3AA-8CA3EA0F9F30"><title>PolymorphicDLL1: |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
24 |
polymorphic interface DLL 1</title><p> Part of</p><p><xref href="GUID-960B2F4E-9012-53EE-973A-C3426A7DD48F.dita#GUID-960B2F4E-9012-53EE-973A-C3426A7DD48F/GUID-F99F3254-BB8A-5BE5-8D25-6BD14F2CC38C">Using polymorphic interface DLLs</xref></p> </section> |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
25 |
<section id="GUID-BE92D9E1-5C3E-5276-86E9-07BD751187A4"><title>PolymorphicDLL2: |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
26 |
polymorphic interface DLL 2</title><p>Part of </p><p><xref href="GUID-960B2F4E-9012-53EE-973A-C3426A7DD48F.dita#GUID-960B2F4E-9012-53EE-973A-C3426A7DD48F/GUID-F99F3254-BB8A-5BE5-8D25-6BD14F2CC38C">Using polymorphic interface DLLs</xref></p> </section> |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
27 |
<section id="GUID-F99F3254-BB8A-5BE5-8D25-6BD14F2CC38C"><title>UsingDLLs: |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
28 |
using polymorphic interface DLLs</title> <p><b>Download</b> </p> <p>Download |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
29 |
the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-ba7b9fcb-839a-45e8-be09-00bba76a0895.zip" scope="external">Dll.zip</xref></p><p> Download some additional files required |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
30 |
by the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-4184e6d4-8dbe-4267-b1a3-8737c8bf64ce.zip" scope="external">CommonFramework.zip</xref> </p> <p><b>Example code</b> </p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-ba7b9fcb-839a-45e8-be09-00bba76a0895.html" scope="peer">browse</xref> to view the example code.</p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-4184e6d4-8dbe-4267-b1a3-8737c8bf64ce.html" scope="peer">browse</xref> to view the addition file.</p> </section> |
51a74ef9ed63
Week 12 contribution of API Specs and fix SDK submission
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
31 |
</conbody></concept> |