Make sure that the C-Style dll can be loaded.  Usually this means putting it in the 
same directory as the executable/mc++ assembly.

        -----Original Message----- 
        From: Miguel Ángel Chacón [mailto:[EMAIL PROTECTED]] 
        Sent: Wed 4/24/2002 11:21 AM 
        To: [EMAIL PROTECTED] 
        Cc: 
        Subject: [DOTNET] MC++ help: managed/unmanaged DLL
        
        

        Hi, i need some help with MC++. I´m creating a managed DLL wrapper for a
        DLL (C-style) in MC++, to use it with C#. I´m mixing managed with
        unmanaged code. There is no problem with the build time. The
        assembly(viewed with ILDASM) have my namespace and the ‘std’ namespace
        and a lot of strange definitions, like the functions in the C DLL. These
        don´t bore me initially. I create a C# windows form app, and add a
        reference to the C++ project. When I run the app, and try to load the
        assembly created in C++, a FileNotFoundException with the name of the
        assembly occurs. I look in the C# project directory and all is correct.
        What I´m doing wrong? Thanks a lot.
        
        
        You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
        subscribe to other DevelopMentor lists at http://discuss.develop.com.
        

vg^6rz칻&~&:+rz(
ޖLz{hXƭibˬׯzZ)r


Reply via email to