Home Help Center

A problem of using ICE in a C# project.

We have a existing system using ICE. This time, we need to use some functions of the existing system by ICE, so we packed all the ICE function in a win32 DLL, and we used C++ to develop the win32 DLL. After the win32 DLL was build, we develop an other .net DLL using C++. The .net DLL use functions packed in the win32 DLL. Finally we build C# project, and the C# project use the .net DLL. But the exe created by C# project does not work properly. The problem is that when the C# exe try to create class in the .net DLL, exception will occur. The Exception is System.IO.FileNotFoundException. We found that the exception occur if we use ICE in the win32 DLL, and if we do not use ICE in the win32 DLL, the exception does not occur. Thank you very much.

rano 12.7.2006


  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    It would be useful to get a stack trace for the exception, so at least we know at what point in the code the exception occurs.

    I suspect that you problem is related to the system PATH. From the information you have provided, it seems that the .NET DLL can't locate the Win32 DLL, hence the exception.

    Make sure that the location of the Win32 DLL is in the system PATH, or located in the same directory as the .NET application exe.


Sign In or Register to comment.