From: <dan...@us...> - 2009-07-27 19:29:18
|
Revision: 1348 http://cegcc.svn.sourceforge.net/cegcc/?rev=1348&view=rev Author: dannybackx Date: 2009-07-27 19:29:07 +0000 (Mon, 27 Jul 2009) Log Message: ----------- Print the address of an API too. Modified Paths: -------------- trunk/cegcc/tools/dll/testapi.c Modified: trunk/cegcc/tools/dll/testapi.c =================================================================== --- trunk/cegcc/tools/dll/testapi.c 2009-07-25 06:08:21 UTC (rev 1347) +++ trunk/cegcc/tools/dll/testapi.c 2009-07-27 19:29:07 UTC (rev 1348) @@ -27,7 +27,7 @@ mbstowcs(wapi, argv[i], 64); *(FARPROC *)&fun = GetProcAddress(dll, wapi); if (fun) { - printf("\t%s implements %s\n", argv[1], argv[i]); + printf("\t%s implements %s (0x%08X)\n", argv[1], argv[i], fun); } else { DWORD e = GetLastError(); printf("%s doesn't know about %s\n", argv[1], argv[i]); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |