I have a DLL written in Delphi 7 that is being called from a .NET application. The .NET application has been written in Visual Studio 2005 and uses .NET 3.0.
The DLL exports several functions, most of them do math calculations, one or two draw some graphs using Win32 graphic functions into an internal buffer.
The DLL and the .NET application has been running successfully for the past year in Windows XP 32 bit.
Recently the client has updated his systems to Windows XP 64 bit and we've ran into a problem.
The DLL and his .NET application run fine. However, when the .NET application is closed, it crashes with an error message.
What is the reason for this error, and what are possible fixes for it?
Please don't hesitate to ask any additional questions if you need more information. Thank you.