00001 // helloworlddllexample.cpp 00002 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). 00003 // All rights reserved. 00004 // This component and the accompanying materials are made available 00005 // under the terms of "Eclipse Public License v1.0" 00006 // which accompanies this distribution, and is available 00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00008 // 00009 // Initial Contributors: 00010 // Nokia Corporation - initial contribution. 00011 // 00012 // Contributors: 00013 // 00014 // Description: 00015 // 00016 00017 // This example is a simple PIPS STDDLL application that contains the export function definition. 00018 #include "helloworlddllexample.h" 00019 #include <stdio.h> 00020 00021 /* 00022 Definition of the export function declared in the header file. 00023 This function prints a welcome message. 00024 */ 00025 void PrintHelloWorld() 00026 { 00027 char str[90]=" Welcome to HelloWorld Basic EXE and DLL example, using symbolic name lookup\n"; 00028 printf("%s",str); 00029 getchar(); 00030 }
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.