Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FXDLL.h

Go to the documentation of this file.
00001 /********************************************************************************
00002 *                                                                               *
00003 *             D y n a m i c   L i n k   L i b r a r y   S u p p o r t           *
00004 *                                                                               *
00005 *********************************************************************************
00006 * Copyright (C) 2002,2006 by Jeroen van der Zijp.   All Rights Reserved.        *
00007 *********************************************************************************
00008 * This library is free software; you can redistribute it and/or                 *
00009 * modify it under the terms of the GNU Lesser General Public                    *
00010 * License as published by the Free Software Foundation; either                  *
00011 * version 2.1 of the License, or (at your option) any later version.            *
00012 *                                                                               *
00013 * This library is distributed in the hope that it will be useful,               *
00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of                *
00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU             *
00016 * Lesser General Public License for more details.                               *
00017 *                                                                               *
00018 * You should have received a copy of the GNU Lesser General Public              *
00019 * License along with this library; if not, write to the Free Software           *
00020 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
00021 *********************************************************************************
00022 * $Id: FXDLL.h,v 1.8 2006/01/22 17:58:00 fox Exp $                              *
00023 ********************************************************************************/
00024 #ifndef FXDLL_H
00025 #define FXDLL_H
00026 
00027 namespace FX {
00028 
00029 /**
00030 * Open library with given name, returning handle to the
00031 * library, or NULL if the operation failed.
00032 */
00033 extern FXAPI void* fxdllOpen(const FXchar *dllname);
00034 
00035 
00036 /**
00037 * Close library represented by dllhandle.
00038 */
00039 extern FXAPI void fxdllClose(void* dllhandle);
00040 
00041 
00042 /**
00043 * Return address of the symbol in the library represented by
00044 * dllhandle, or NULL if the operation failed.
00045 */
00046 extern FXAPI void* fxdllSymbol(void* dllhandle,const FXchar* dllsymbol);
00047 
00048 
00049 /**
00050 * Return the string error message when loading dll's.
00051 */
00052 extern FXAPI FXString fxdllError();
00053 
00054 
00055 }
00056 
00057 #endif
00058 

Copyright © 1997-2005 Jeroen van der Zijp