-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
Based on Daniel Atallah's patch: https://hg.pidgin.im/util/drmingw/rev/088532978452 Fixes #10.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,7 +101,9 @@ You can use ExcHndl by: | |
|
||
* compiling and linking `exchndl2.cpp` source file | ||
|
||
* or by explicitly calling `LoadLibrary("exchndl.dll")` | ||
* or by explicitly calling `LoadLibraryA("exchndl.dll")` | ||
|
||
* you can also override the report location by invoking the exported `SetLogFileNameA` entry-point. | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jrfonseca
Author
Owner
|
||
|
||
Example | ||
------- | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
EXPORTS | ||
SetLogFileNameA |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* Copyright 2002-2015 Jose Fonseca | ||
* | ||
* This library is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
* License as published by the Free Software Foundation; either | ||
* version 2.1 of the License. | ||
* | ||
* This library is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this library; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
*/ | ||
|
||
|
||
#include <windows.h> | ||
|
||
|
||
EXTERN_C BOOL APIENTRY SetLogFileNameA(const char *szLogFileName); | ||
|
||
EXTERN_C BOOL APIENTRY DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved); |
Is it possible provide some little example how use it entry-point? Can't understand myself.