00001 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies). 00002 // All rights reserved. 00003 // This component and the accompanying materials are made available 00004 // under the terms of "Eclipse Public License v1.0" 00005 // which accompanies this distribution, and is available 00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00007 // 00008 // Initial Contributors: 00009 // Nokia Corporation - initial contribution. 00010 // 00011 // Contributors: 00012 // 00013 // Description: 00014 // A simple program which uses the statically linked dll "eulibd1b.dll" 00015 // 00016 00017 // standard example header 00018 #include "CommonFramework.h" 00019 #include "CreateStaticDLL.h" 00020 00021 _LIT(KTxt1,"statically linked DLL example \n\n"); 00022 _LIT(KTxt2,"Hello!"); 00023 _LIT(KTxtNewLine,"\n"); 00024 00025 LOCAL_C void doExampleL() 00026 { 00027 console->Printf(KTxt1); 00028 CMessenger* myMessage = CMessenger::NewLC(*console, KTxt2); 00029 myMessage->ShowMessage(); 00030 console->Printf(KTxtNewLine); 00031 CleanupStack::PopAndDestroy(); 00032 } 00033 00034
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.