changeset 5472:a2acc2b79ff1

[gaim-migrate @ 5864] This enables crash reports to be written out to gaim.RPT if exchndl.dll is placed in the gaim install dir committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Wed, 21 May 2003 16:12:54 +0000
parents e4696979ba19
children 794d81c10d0a
files src/win32/win32dep.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/win32/win32dep.c	Wed May 21 16:02:45 2003 +0000
+++ b/src/win32/win32dep.c	Wed May 21 16:12:54 2003 +0000
@@ -307,9 +307,15 @@
 	WSADATA wsaData;
 	char* locale=0;
 	char newenv[128];
+	char* drmingw;
 
 	debug_printf("wgaim_init\n");
 
+	/* Load exception handler if we have it */
+	drmingw = g_build_filename(wgaim_install_dir(), "exchndl.dll", NULL);
+	LoadLibrary(drmingw);
+	g_free(drmingw);
+
 	load_winver_specific_procs();
 
 	/* Initialize Wingaim systray icon */