Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C++ dll in C# code
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01599867
Message ID:
01599975
Vues:
147
>>------------------------
>>So, could it be that I need to specify (for now) the whole path to that dll? The dll is included into the project (not as a reference) and I checked Always copy as you suggested in another message.
>
>The error:
>
>A first chance exception of type 'System.DllNotFoundException' occurred in Siriusware.Middleware.dll
>
>Seems to suggest that yes, it's not finding your DLL (well, it's not finding SOME DLL, not sure which). Yes, embed the full path (prefix with @"C:\PathToDll\").

Here is the new error I got:
------ Run test started ------
An exception occurred while invoking executor 'executor://mstestadapter/v1': Object reference not set to an instance of an object.
========== Run test finished: 0 run (0:03:28.8149436) ==========
I guess I need to send this info to the developer of this dll. May be some properties need to be initialized properly. In case of VFP we're using ini file with ODBC and DB settings. In C# we're using connection string. May be this is what's causing the problem.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform