I have a problem running a C# application(WPF, .Net 4.0, Visual Studio 2010) targeted to x64 and uses 64bit dll (3rd party).
The problem appear when I run the 64bit version with 64bit dll(on 64bit Win7/WindowsServer2003). The application start OK. But when I hit start button on the app, where the app create thread and start interacting with the dll, the thread will crash/stop at the first call to dll function. Below is the error generated, when I close the app.
Problem signature:
Problem Event Name: APPCRASH
Application Name: DelayServer.exe
Application Version: 1.0.0.0
Application Timestamp: 52092104
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.17965
Fault Module Timestamp: 506dcae6
Exception Code: e0434352
Exception Offset: 000000000000bccd
OS Version: 6.1.7601.2.1.0.272.7
Locale ID: 2057
Additional Information 1: 7315
Additional Information 2:
73159f4fb34892aabcc4ba245f14f64eAdditional Information 3: d5ec
Additional Information 4:
d5ec134b8e354c23783e48c0e2e572da
I understand that this is possible if there is a mismatch between the EXE and DLL i.e. EXE being a 32bit and DLL being 64bit or vice versa. Attached is the screenshot of my settings. I didn't find a way to verify/edit my x64 platform settings.
x64 Project Build Settings screenshot
My Development computer is Win Vista 32bit and I have installed 64bit compilers.
I have 32bit targeted application using 32bit dll working OK on 32bit comupters. The crash happens when I run 64bit targeted application with 64bit dll on 64bit computer
I tried dependencywalker, but I can't expland further to find any dependencies.
Can someone please help me with this.
Many Thanks Sam