Vincent Povirk : mscoree: Add a trace to _CorExeMain.
Alexandre Julliard
julliard at winehq.org
Fri Nov 12 11:22:44 CST 2010
Module: wine
Branch: master
Commit: 9c238d181dc1f13af234118b8a79630386b07622
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9c238d181dc1f13af234118b8a79630386b07622
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Tue Oct 12 17:06:26 2010 -0500
mscoree: Add a trace to _CorExeMain.
---
dlls/mscoree/corruntimehost.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/mscoree/corruntimehost.c b/dlls/mscoree/corruntimehost.c
index d8ee285..3c26340 100644
--- a/dlls/mscoree/corruntimehost.c
+++ b/dlls/mscoree/corruntimehost.c
@@ -669,11 +669,17 @@ __int32 WINAPI _CorExeMain(void)
ICLRRuntimeInfo *info;
RuntimeHost *host;
HRESULT hr;
+ int i;
get_utf8_args(&argc, &argv);
GetModuleFileNameW(NULL, filename, MAX_PATH);
+ TRACE("%s", debugstr_w(filename));
+ for (i=0; i<argc; i++)
+ TRACE(" %s", debugstr_a(argv[i]));
+ TRACE("\n");
+
filenameA = WtoA(filename);
if (!filenameA)
return -1;
More information about the wine-cvs
mailing list