04-10-2007 06:47 PM
04-11-2007 08:28 AM
04-11-2007 08:41 AM
Have you tried loading and calling your mixed-mode DLL from a plain C program in Visual Studio? I would suggest that you try this. You may get get the same crashes as in CVI. Various rules need to be followed when loading and calling mixed-mode DLLs; specifically, the Microsoft C/C++ runtime library might need to be initialized by calling certain functions or creating certain objects. You can find more information on this from msdn. For example:
http://msdn2.microsoft.com/en-us/library/aa290048(VS.71).aspx
04-11-2007 10:43 AM
04-11-2007 10:49 AM
04-12-2007 09:54 AM
04-12-2007 12:09 PM
04-12-2007 10:17 PM
04-16-2007 10:28 PM
04-17-2007 10:28 AM