Thanks for taking time to read thru.
Attached is a source code for
- a simple Labview2009/2010 based DLL (child) .
- a simple Visual Studio2008 based C# container (parent) calling the above DLL
Built this DLL (child) in 32bitWindowsXP.
The container (parent) is built in 32 bit mode for x86. Hence container is succesfully launched on all 4 combinations. 32bitXP,64bitXP,32bit7,64bit7
Container is cuccessfully able to launch C# based DLLs (which are built in 32 bit mode)
When I call LabVIEW DLL (using icon on top left), following are results
With 32bitXP......DLL launches cuccessfully
With 64bitXP computer.......Application crashes
With 32bitWin7 computer...Application crashes
With 64bitwin7 computer....Application crashes
Included PPT in the attachment shows picture of crash.
Some background notes are:
Same C# application successfully launches C# based DLLs in all 4 combinations of Oss
.NET framework is 3.5, Visual Studio is 2008
Got the repeatable crashing results when installed
32bit LV run time engine on 64 bit machines
64bit LV run time engine on 64 bit machines
Got the repeatable crashing results when used LabVIEW2010.
If made EXE (instead of DLL) it works in all 4 OS combinations with 32 bit RTEs.
Looking for help
- to identify why LabVIEW DLL crashing in above situation
- to elliminate crash.