<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments for Jochen Kalmbach's Blog</title>
	<link>http://blog.kalmbach-software.de</link>
	<description>Infos about Windows development and dotNET Framework</description>
	<pubDate>Thu, 11 Mar 2010 17:27:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>Comment on Forums NntpBridge and DateTime by Hermann Hippen</title>
		<link>http://blog.kalmbach-software.de/2010/03/02/forums-nntpbridge-an-datetime/#comment-872</link>
		<dc:creator>Hermann Hippen</dc:creator>
		<pubDate>Tue, 09 Mar 2010 23:37:58 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2010/03/02/forums-nntpbridge-an-datetime/#comment-872</guid>
		<description>Nice find. Good job. Works fine. Thanks a lot. :-)</description>
		<content:encoded><![CDATA[<p>Nice find. Good job. Works fine. Thanks a lot. <img src='http://blog.kalmbach-software.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Forums NntpBridge and DateTime by Marc Sherman</title>
		<link>http://blog.kalmbach-software.de/2010/03/02/forums-nntpbridge-an-datetime/#comment-852</link>
		<dc:creator>Marc Sherman</dc:creator>
		<pubDate>Wed, 03 Mar 2010 14:18:27 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2010/03/02/forums-nntpbridge-an-datetime/#comment-852</guid>
		<description>Awesome on multiple levels!</description>
		<content:encoded><![CDATA[<p>Awesome on multiple levels!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Debugging Tools for Windows is now part of the WDK by Jochen Kalmbach&#8217;s Blog &#187; Blog Archive &#187; Major bug in the new dbghelp.dll</title>
		<link>http://blog.kalmbach-software.de/2010/02/27/debugging-tools-for-windows-is-now-part-of-the-wdk/#comment-845</link>
		<dc:creator>Jochen Kalmbach&#8217;s Blog &#187; Blog Archive &#187; Major bug in the new dbghelp.dll</dc:creator>
		<pubDate>Tue, 02 Mar 2010 21:06:44 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2010/02/27/debugging-tools-for-windows-is-now-part-of-the-wdk/#comment-845</guid>
		<description>[...] latest dbghelp.dll (version 6.12.2.633), which can be downloaded via the newest WDK, seems to have a major bug regarding the function SymGetModuleInfo64 (which is used in almost every [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] latest dbghelp.dll (version 6.12.2.633), which can be downloaded via the newest WDK, seems to have a major bug regarding the function SymGetModuleInfo64 (which is used in almost every [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Shim Database by Jochen Kalmbach’s Blog &#187; Blog Archive &#187; Die Shim Datenbank</title>
		<link>http://blog.kalmbach-software.de/2010/02/22/the-shim-database/#comment-831</link>
		<dc:creator>Jochen Kalmbach’s Blog &#187; Blog Archive &#187; Die Shim Datenbank</dc:creator>
		<pubDate>Mon, 22 Feb 2010 10:03:01 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2010/02/22/the-shim-database/#comment-831</guid>
		<description>[...] Wenn jemand mal interesse an den Tiefen der Shim-Datenbank hat, der kann gerne auf mein Projekt verweisen, welches ich in meinem englischen Blog gepostet habe: The Shim Database [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Wenn jemand mal interesse an den Tiefen der Shim-Datenbank hat, der kann gerne auf mein Projekt verweisen, welches ich in meinem englischen Blog gepostet habe: The Shim Database [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deployment of VC2008 apps without installing anything by Troubleshooting VC++ Side by Side Problems &#171; DAVID Systems &#8211; R&#38;D Blog</title>
		<link>http://blog.kalmbach-software.de/2009/05/27/deployment-of-vc2008-apps-without-installing-anything/#comment-829</link>
		<dc:creator>Troubleshooting VC++ Side by Side Problems &#171; DAVID Systems &#8211; R&#38;D Blog</dc:creator>
		<pubDate>Thu, 18 Feb 2010 15:36:02 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2009/05/27/deployment-of-vc2008-apps-without-installing-anything/#comment-829</guid>
		<description>[...] http://blog.kalmbach-software.de/2009/05/27/deployment-of-vc2008-apps-without-installing-anything/ [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] <a href="http://blog.kalmbach-software.de/2009/05/27/deployment-of-vc2008-apps-without-installing-anything/" rel="nofollow">http://blog.kalmbach-software.de/2009/05/27/deployment-of-vc2008-apps-without-installing-anything/</a> [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Screencast: Static link to the C-Runtime to prevent vcredist and overcome &#8220;Application configuration&#8221; problems by jkalmbach</title>
		<link>http://blog.kalmbach-software.de/2008/03/03/screencast-statically-link-to-the-c-runtime-to-prevent-vcredist-and-overcome-application-configuration-problems/#comment-823</link>
		<dc:creator>jkalmbach</dc:creator>
		<pubDate>Wed, 27 Jan 2010 07:03:11 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2008/03/03/screencast-statically-link-to-the-c-runtime-to-prevent-vcredist-and-overcome-application-configuration-problems/#comment-823</guid>
		<description>Hi Al!

I have explaint this about 3000 times via words... then I got about 2000 responses that it does not work or they cannot find it... the I responded again, that you should *look* exactly what I have written... After about 1000 responses again, I made the 2 min screencast....

Maybe my words are not able to express, what screencasts can ;)</description>
		<content:encoded><![CDATA[<p>Hi Al!</p>
<p>I have explaint this about 3000 times via words&#8230; then I got about 2000 responses that it does not work or they cannot find it&#8230; the I responded again, that you should *look* exactly what I have written&#8230; After about 1000 responses again, I made the 2 min screencast&#8230;.</p>
<p>Maybe my words are not able to express, what screencasts can <img src='http://blog.kalmbach-software.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Screencast: Static link to the C-Runtime to prevent vcredist and overcome &#8220;Application configuration&#8221; problems by Al Dimond</title>
		<link>http://blog.kalmbach-software.de/2008/03/03/screencast-statically-link-to-the-c-runtime-to-prevent-vcredist-and-overcome-application-configuration-problems/#comment-822</link>
		<dc:creator>Al Dimond</dc:creator>
		<pubDate>Tue, 26 Jan 2010 21:55:17 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2008/03/03/screencast-statically-link-to-the-c-runtime-to-prevent-vcredist-and-overcome-application-configuration-problems/#comment-822</guid>
		<description>Why post a screencast when you could explain it in words? Words are a lot easier to use!</description>
		<content:encoded><![CDATA[<p>Why post a screencast when you could explain it in words? Words are a lot easier to use!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IE8 smashes Visual Studio 2005 / 2008 Class-Wizard by Wolfgang Schneider</title>
		<link>http://blog.kalmbach-software.de/2009/03/29/ie8-smashes-visual-studio-2005-2008-class-wizard/#comment-792</link>
		<dc:creator>Wolfgang Schneider</dc:creator>
		<pubDate>Wed, 02 Dec 2009 09:58:42 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2009/03/29/ie8-smashes-visual-studio-2005-2008-class-wizard/#comment-792</guid>
		<description>Hallo lieber Jochen, liebe Betreiber von blog.kalmbach-software.de, 

mein Name ist Wolfgang Schneider, Redakteur und Mitarbeiter am 
freien Webportal www.webmasterpro.de. 

Webmasterpro.de gehört mit rund 9000 Besuchern am Tag zu 
den größten Anlaufstellen für Webmaster, Designer und Webworkern 
im deutschsprachigen Raum. 

Wir verlosen ab sofort ein Ticket für die Basta!-Konferez 2010 in 
Darmstadt im Wert von 1149,-€. Das Ticket gilt für beide Kongresstage. 
Für die Teilnahme an der Verlosung muss lediglich ein 
Kommentar unterhalb der Meldung platziert werden. Ich dachte die 
Verlosung wäre für Euch und eure Besucher vielleicht auch interessant: 

http://www.webmasterpro.de/portal/news/2009/12/02/verlosung-ticket-fuer-die-basta-konfernz-im-wert-von-1149-.html

Wenn ihr kurz darüber berichten würdet, würden wir uns sehr freuen. 
Außerdem freuen wir uns auch immer über neue aktive Mitglieder die 
an dem gemeinsamen Projekt Webmasterpro.de mitarbeiten möchten, 
z.B. durch die Veröffentlichung eines Artikels. 

Mit freundlichen Grüßen 

Wolfgang</description>
		<content:encoded><![CDATA[<p>Hallo lieber Jochen, liebe Betreiber von blog.kalmbach-software.de, </p>
<p>mein Name ist Wolfgang Schneider, Redakteur und Mitarbeiter am<br />
freien Webportal <a href="http://www.webmasterpro.de." rel="nofollow">http://www.webmasterpro.de.</a> </p>
<p>Webmasterpro.de gehört mit rund 9000 Besuchern am Tag zu<br />
den größten Anlaufstellen für Webmaster, Designer und Webworkern<br />
im deutschsprachigen Raum. </p>
<p>Wir verlosen ab sofort ein Ticket für die Basta!-Konferez 2010 in<br />
Darmstadt im Wert von 1149,-€. Das Ticket gilt für beide Kongresstage.<br />
Für die Teilnahme an der Verlosung muss lediglich ein<br />
Kommentar unterhalb der Meldung platziert werden. Ich dachte die<br />
Verlosung wäre für Euch und eure Besucher vielleicht auch interessant: </p>
<p><a href="http://www.webmasterpro.de/portal/news/2009/12/02/verlosung-ticket-fuer-die-basta-konfernz-im-wert-von-1149-.html" rel="nofollow">http://www.webmasterpro.de/portal/news/2009/12/02/verlosung-ticket-fuer-die-basta-konfernz-im-wert-von-1149-.html</a></p>
<p>Wenn ihr kurz darüber berichten würdet, würden wir uns sehr freuen.<br />
Außerdem freuen wir uns auch immer über neue aktive Mitglieder die<br />
an dem gemeinsamen Projekt Webmasterpro.de mitarbeiten möchten,<br />
z.B. durch die Veröffentlichung eines Artikels. </p>
<p>Mit freundlichen Grüßen </p>
<p>Wolfgang</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on StackWalker moved to CodePlex by Alexander</title>
		<link>http://blog.kalmbach-software.de/2009/11/01/stackwalker-moved-to-codeplex/#comment-728</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Mon, 23 Nov 2009 09:33:15 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2009/11/01/stackwalker-moved-to-codeplex/#comment-728</guid>
		<description>Hello, I need you help

I use this code to process exception 
I found some times the result of StackWalker doesn't like vs2005's result?

	nRetCode = StackWalk64(
		IMAGE_FILE_MACHINE_I386, 
		m_hProcess, 
		m_hThread, 
		&#38;m_Stackframe, 
		&#38;m_Context, 
		ReadProcessMemory, 
		SymFunctionTableAccess64, 
		SymGetModuleBase64, 
		NULL
	);


how to explain it? 
Wish you EMail</description>
		<content:encoded><![CDATA[<p>Hello, I need you help</p>
<p>I use this code to process exception<br />
I found some times the result of StackWalker doesn&#8217;t like vs2005&#8217;s result?</p>
<p>	nRetCode = StackWalk64(<br />
		IMAGE_FILE_MACHINE_I386,<br />
		m_hProcess,<br />
		m_hThread,<br />
		&amp;m_Stackframe,<br />
		&amp;m_Context,<br />
		ReadProcessMemory,<br />
		SymFunctionTableAccess64,<br />
		SymGetModuleBase64,<br />
		NULL<br />
	);</p>
<p>how to explain it?<br />
Wish you EMail</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upgrade to VC20xx: Problems with Exception Handling by Okko Willeboordse</title>
		<link>http://blog.kalmbach-software.de/2009/11/13/upgrade-to-vc20xx-problems-with-exception-handling/#comment-652</link>
		<dc:creator>Okko Willeboordse</dc:creator>
		<pubDate>Tue, 17 Nov 2009 19:31:33 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2009/11/13/upgrade-to-vc20xx-problems-with-exception-handling/#comment-652</guid>
		<description>See;

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=402589

for a similar problem</description>
		<content:encoded><![CDATA[<p>See;</p>
<p><a href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=402589" rel="nofollow">https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=402589</a></p>
<p>for a similar problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unhandled exceptions in VC8 and above&#8230; for x86 and x64 by jkalmbach</title>
		<link>http://blog.kalmbach-software.de/2008/04/02/unhandled-exceptions-in-vc8-and-above-for-x86-and-x64/#comment-648</link>
		<dc:creator>jkalmbach</dc:creator>
		<pubDate>Tue, 17 Nov 2009 14:08:23 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2008/04/02/unhandled-exceptions-in-vc8-and-above-for-x86-and-x64/#comment-648</guid>
		<description>Good point... I need to make an "undo" function ;)</description>
		<content:encoded><![CDATA[<p>Good point&#8230; I need to make an &#8220;undo&#8221; function <img src='http://blog.kalmbach-software.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unhandled exceptions in VC8 and above&#8230; for x86 and x64 by huasheng</title>
		<link>http://blog.kalmbach-software.de/2008/04/02/unhandled-exceptions-in-vc8-and-above-for-x86-and-x64/#comment-645</link>
		<dc:creator>huasheng</dc:creator>
		<pubDate>Tue, 17 Nov 2009 12:52:53 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2008/04/02/unhandled-exceptions-in-vc8-and-above-for-x86-and-x64/#comment-645</guid>
		<description>First of all, thanks for posting the solution. One question is if this function is invoked in a dll which is loaded and free dynamically, the application may crash because the dummy funciton address becomes invalid. 

I tried write the original address back when the dll is detached from the main app process. It seems it works but not fully tested cross platform.

Could you please shed light on how to solve it?

Thanks
hs</description>
		<content:encoded><![CDATA[<p>First of all, thanks for posting the solution. One question is if this function is invoked in a dll which is loaded and free dynamically, the application may crash because the dummy funciton address becomes invalid. </p>
<p>I tried write the original address back when the dll is detached from the main app process. It seems it works but not fully tested cross platform.</p>
<p>Could you please shed light on how to solve it?</p>
<p>Thanks<br />
hs</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on StackWalker moved to CodePlex by frank28_nfls</title>
		<link>http://blog.kalmbach-software.de/2009/11/01/stackwalker-moved-to-codeplex/#comment-626</link>
		<dc:creator>frank28_nfls</dc:creator>
		<pubDate>Mon, 16 Nov 2009 08:55:38 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2009/11/01/stackwalker-moved-to-codeplex/#comment-626</guid>
		<description>very nice! I personally discovered your software about 1 year ago, and  was using it in my several projects, and found that it really helps! But I always wondering why you didn't use any VCS to manage the source code and release. Now finally, lol

btw, is there any update in Codeplex since RC9?

thanks again for your work, anyway~</description>
		<content:encoded><![CDATA[<p>very nice! I personally discovered your software about 1 year ago, and  was using it in my several projects, and found that it really helps! But I always wondering why you didn&#8217;t use any VCS to manage the source code and release. Now finally, lol</p>
<p>btw, is there any update in Codeplex since RC9?</p>
<p>thanks again for your work, anyway~</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing MiniDumps in C# by Jochen Kalmbach’s Blog &#187; Blog Archive &#187; Source-Indexing (TFS) und Smbols-Store</title>
		<link>http://blog.kalmbach-software.de/2008/12/13/writing-minidumps-in-c/#comment-582</link>
		<dc:creator>Jochen Kalmbach’s Blog &#187; Blog Archive &#187; Source-Indexing (TFS) und Smbols-Store</dc:creator>
		<pubDate>Mon, 09 Nov 2009 14:51:38 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2008/12/13/writing-minidumps-in-c/#comment-582</guid>
		<description>[...] einzige was Du bekommst ist ein Dump-File (z.B. entweder via WER oder durch eigenes schreiben von MiniDumpWriteDump). Jetzt beginnt für Dich das [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] einzige was Du bekommst ist ein Dump-File (z.B. entweder via WER oder durch eigenes schreiben von MiniDumpWriteDump). Jetzt beginnt für Dich das [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deployment of VC2008 apps without installing anything by Gautam Jain</title>
		<link>http://blog.kalmbach-software.de/2009/05/27/deployment-of-vc2008-apps-without-installing-anything/#comment-557</link>
		<dc:creator>Gautam Jain</dc:creator>
		<pubDate>Mon, 02 Nov 2009 11:58:41 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2009/05/27/deployment-of-vc2008-apps-without-installing-anything/#comment-557</guid>
		<description>Fantastic. Thanks.

_BIND_TO_CURRENT_VCLIBS_VERSION tip worked for me.</description>
		<content:encoded><![CDATA[<p>Fantastic. Thanks.</p>
<p>_BIND_TO_CURRENT_VCLIBS_VERSION tip worked for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unhandled exceptions in VC8 and above&#8230; for x86 and x64 by Ed</title>
		<link>http://blog.kalmbach-software.de/2008/04/02/unhandled-exceptions-in-vc8-and-above-for-x86-and-x64/#comment-555</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Fri, 30 Oct 2009 19:02:52 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2008/04/02/unhandled-exceptions-in-vc8-and-above-for-x86-and-x64/#comment-555</guid>
		<description>Hi,
Thanks for this discussion, it is very useful. 

This works for my 32 bit program however I have an issue with 64 bit program.
My program loads MbCustom.dll (32 bit version for 32 bit program &#38; 64 bit version for 64 bit program), for 64 bit version when the dll is loaded
I see access violation in the debugger output and MbCustom.dll will unload. If I disable the call to PreventSetUnhandledExceptionFilter()
then I don't see this issue and MbCustom.dll loads fine.

Enabling the loader logs, I see following (have copied portion that will be useful) 

when it is working fine...
1aac:16e0 @ 847138126 - LdrGetProcedureAddressEx - INFO: Locating procedure "EncodePointer" by name
1aac:16e0 @ 847138126 - LdrGetProcedureAddressEx - INFO: Locating procedure "RtlEncodePointer" by name
1aac:16e0 @ 847138126 - LdrGetProcedureAddressEx - INFO: Locating procedure "DecodePointer" by name
1aac:16e0 @ 847138126 - LdrGetProcedureAddressEx - INFO: Locating procedure "RtlDecodePointer" by name
1aac:16e0 @ 847138141 - LdrGetDllHandleEx - INFO: Searching for DLL "msvcrt.dll" from path "f:\myapp\x64\DebugU;C:\Windows\system32;C:\Windows\system;C:\Windows;.;C:\Program Files (x86)\Microsoft DirectX 9.0 SDK (October 2005)\Utilities\Bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Common Files\Adobe\AGL;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Windows\System32\
1aac:16e0 @ 847138141 - LdrGetProcedureAddressEx - INFO: Locating procedure "_set_error_mode" by name
1aac:16e0 @ 847138141 - LdrGetProcedureAddressEx - INFO: Locating procedure "?set_terminate@@YAP6AXXZP6AXXZ@Z" by name
1aac:16e0 @ 847138141 - LdrGetProcedureAddressEx - INFO: Locating procedure "_get_terminate" by name
1aac:16e0 @ 847138141 - LdrGetDllHandleEx - INFO: Searching for DLL "kernel32.dll" from path "f:\myapp\x64\DebugU;C:\Windows\system32;C:\Windows\system;C:\Windows;.;C:\Program Files (x86)\Microsoft DirectX 9.0 SDK (October 2005)\Utilities\Bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Common Files\Adobe\AGL;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Windows\System3
1aac:16e0 @ 847138141 - LdrGetProcedureAddressEx - INFO: Locating procedure "FindActCtxSectionStringW" by name
1aac:16e0 @ 847138141 - LdrGetDllHandleEx - INFO: Searching for DLL "MSCoree.dll" from path "f:\myapp\x64\DebugU;C:\Windows\system32;C:\Windows\system;C:\Windows;.;C:\Program Files (x86)\Microsoft DirectX 9.0 SDK (October 2005)\Utilities\Bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Common Files\Adobe\AGL;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Windows\System32


When it throws the access violation...
0340:1778 @ 847589889 - LdrGetProcedureAddressEx - INFO: Locating procedure "EncodePointer" by name
0340:1778 @ 847589889 - LdrGetProcedureAddressEx - INFO: Locating procedure "RtlEncodePointer" by name
0340:1778 @ 847589889 - LdrGetProcedureAddressEx - INFO: Locating procedure "DecodePointer" by name
0340:1778 @ 847589889 - LdrGetProcedureAddressEx - INFO: Locating procedure "RtlDecodePointer" by name
First-chance exception at 0x77ccfd7d in TestApp.exe: 0xC0000005: Access violation writing location 0x00000000109ff858.
0340:1778 @ 847589889 - LdrpGenericExceptionFilter - ERROR: Function LdrpLoadDll raised exception 0xc0000005
	Exception record: .exr 000000000011A580
	Context record: .cxr 000000000011A0B0
0340:1778 @ 847589889 - LdrpLoadDll - ERROR: Running the init routines of DLL "MbCustom.dll" and its static imports failed with status 0xc0000005

Thanks.
ed</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thanks for this discussion, it is very useful. </p>
<p>This works for my 32 bit program however I have an issue with 64 bit program.<br />
My program loads MbCustom.dll (32 bit version for 32 bit program &amp; 64 bit version for 64 bit program), for 64 bit version when the dll is loaded<br />
I see access violation in the debugger output and MbCustom.dll will unload. If I disable the call to PreventSetUnhandledExceptionFilter()<br />
then I don&#8217;t see this issue and MbCustom.dll loads fine.</p>
<p>Enabling the loader logs, I see following (have copied portion that will be useful) </p>
<p>when it is working fine&#8230;<br />
1aac:16e0 @ 847138126 - LdrGetProcedureAddressEx - INFO: Locating procedure &#8220;EncodePointer&#8221; by name<br />
1aac:16e0 @ 847138126 - LdrGetProcedureAddressEx - INFO: Locating procedure &#8220;RtlEncodePointer&#8221; by name<br />
1aac:16e0 @ 847138126 - LdrGetProcedureAddressEx - INFO: Locating procedure &#8220;DecodePointer&#8221; by name<br />
1aac:16e0 @ 847138126 - LdrGetProcedureAddressEx - INFO: Locating procedure &#8220;RtlDecodePointer&#8221; by name<br />
1aac:16e0 @ 847138141 - LdrGetDllHandleEx - INFO: Searching for DLL &#8220;msvcrt.dll&#8221; from path &#8220;f:\myapp\x64\DebugU;C:\Windows\system32;C:\Windows\system;C:\Windows;.;C:\Program Files (x86)\Microsoft DirectX 9.0 SDK (October 2005)\Utilities\Bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Common Files\Adobe\AGL;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Windows\System32\<br />
1aac:16e0 @ 847138141 - LdrGetProcedureAddressEx - INFO: Locating procedure &#8220;_set_error_mode&#8221; by name<br />
1aac:16e0 @ 847138141 - LdrGetProcedureAddressEx - INFO: Locating procedure &#8220;?set_terminate@@YAP6AXXZP6AXXZ@Z&#8221; by name<br />
1aac:16e0 @ 847138141 - LdrGetProcedureAddressEx - INFO: Locating procedure &#8220;_get_terminate&#8221; by name<br />
1aac:16e0 @ 847138141 - LdrGetDllHandleEx - INFO: Searching for DLL &#8220;kernel32.dll&#8221; from path &#8220;f:\myapp\x64\DebugU;C:\Windows\system32;C:\Windows\system;C:\Windows;.;C:\Program Files (x86)\Microsoft DirectX 9.0 SDK (October 2005)\Utilities\Bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Common Files\Adobe\AGL;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Windows\System3<br />
1aac:16e0 @ 847138141 - LdrGetProcedureAddressEx - INFO: Locating procedure &#8220;FindActCtxSectionStringW&#8221; by name<br />
1aac:16e0 @ 847138141 - LdrGetDllHandleEx - INFO: Searching for DLL &#8220;MSCoree.dll&#8221; from path &#8220;f:\myapp\x64\DebugU;C:\Windows\system32;C:\Windows\system;C:\Windows;.;C:\Program Files (x86)\Microsoft DirectX 9.0 SDK (October 2005)\Utilities\Bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Common Files\Adobe\AGL;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Windows\System32</p>
<p>When it throws the access violation&#8230;<br />
0340:1778 @ 847589889 - LdrGetProcedureAddressEx - INFO: Locating procedure &#8220;EncodePointer&#8221; by name<br />
0340:1778 @ 847589889 - LdrGetProcedureAddressEx - INFO: Locating procedure &#8220;RtlEncodePointer&#8221; by name<br />
0340:1778 @ 847589889 - LdrGetProcedureAddressEx - INFO: Locating procedure &#8220;DecodePointer&#8221; by name<br />
0340:1778 @ 847589889 - LdrGetProcedureAddressEx - INFO: Locating procedure &#8220;RtlDecodePointer&#8221; by name<br />
First-chance exception at 0&#215;77ccfd7d in TestApp.exe: 0xC0000005: Access violation writing location 0&#215;00000000109ff858.<br />
0340:1778 @ 847589889 - LdrpGenericExceptionFilter - ERROR: Function LdrpLoadDll raised exception 0xc0000005<br />
	Exception record: .exr 000000000011A580<br />
	Context record: .cxr 000000000011A0B0<br />
0340:1778 @ 847589889 - LdrpLoadDll - ERROR: Running the init routines of DLL &#8220;MbCustom.dll&#8221; and its static imports failed with status 0xc0000005</p>
<p>Thanks.<br />
ed</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deployment of VC2008 apps without installing anything by Gavin</title>
		<link>http://blog.kalmbach-software.de/2009/05/27/deployment-of-vc2008-apps-without-installing-anything/#comment-552</link>
		<dc:creator>Gavin</dc:creator>
		<pubDate>Fri, 23 Oct 2009 21:28:37 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2009/05/27/deployment-of-vc2008-apps-without-installing-anything/#comment-552</guid>
		<description>You are a star, sir.  This page has been really helpful.  Thankyou.</description>
		<content:encoded><![CDATA[<p>You are a star, sir.  This page has been really helpful.  Thankyou.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deployment of VC2008 apps without installing anything by Remington Furman</title>
		<link>http://blog.kalmbach-software.de/2009/05/27/deployment-of-vc2008-apps-without-installing-anything/#comment-548</link>
		<dc:creator>Remington Furman</dc:creator>
		<pubDate>Tue, 13 Oct 2009 18:00:15 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2009/05/27/deployment-of-vc2008-apps-without-installing-anything/#comment-548</guid>
		<description>Thank you very much for the tip about manually correcting the version in the manifest files.  I never would have guessed that they'd ship a bogus manifest with the DLLs.

Setting version="9.0.21022.8" worked perfectly for me.</description>
		<content:encoded><![CDATA[<p>Thank you very much for the tip about manually correcting the version in the manifest files.  I never would have guessed that they&#8217;d ship a bogus manifest with the DLLs.</p>
<p>Setting version=&#8221;9.0.21022.8&#8243; worked perfectly for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deployment of VC2008 apps without installing anything by Alex</title>
		<link>http://blog.kalmbach-software.de/2009/05/27/deployment-of-vc2008-apps-without-installing-anything/#comment-542</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 11 Sep 2009 01:26:42 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2009/05/27/deployment-of-vc2008-apps-without-installing-anything/#comment-542</guid>
		<description>Thanks for the _BIND_TO_CURRENT_VCLIBS_VERSION tip!</description>
		<content:encoded><![CDATA[<p>Thanks for the _BIND_TO_CURRENT_VCLIBS_VERSION tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on TFS: Automatically insert Check-In comments into source-code by Christian</title>
		<link>http://blog.kalmbach-software.de/2009/07/24/tfs-automatically-insert-check-in-comments-into-source-code/#comment-536</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Thu, 03 Sep 2009 15:06:16 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2009/07/24/tfs-automatically-insert-check-in-comments-into-source-code/#comment-536</guid>
		<description>Thx 4 the quick reply. I have it working on VS 2010 after a recompile. But VS 2005 is tough. Your code is .net 3.5 and I needed to rewrite it to 2.0 However, now I'm getting a cast exception :-( I probably added a bug somewhere. If anyone has this running on VS 2005 - any feedback would be helpful. I need to get some other work done...</description>
		<content:encoded><![CDATA[<p>Thx 4 the quick reply. I have it working on VS 2010 after a recompile. But VS 2005 is tough. Your code is .net 3.5 and I needed to rewrite it to 2.0 However, now I&#8217;m getting a cast exception <img src='http://blog.kalmbach-software.de/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> I probably added a bug somewhere. If anyone has this running on VS 2005 - any feedback would be helpful. I need to get some other work done&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
