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:
01599927
Vues:
135
>>
>>This is main.cpp file of that project (I see lots of files in that project, so I don't know which one actually implements everything):
>>
>>
>>// main.cpp : Implementation of Cmain
>>#include "stdafx.h"
>>#include "Ww.h"
>>#include "main.h"
>>#include "mainengine.h"
>>
>>/////////////////////////////////////////////////////////////////////////////
>>// Cmain
>>
>>
>>STDMETHODIMP Cmain::invoke(BSTR query, BSTR *result)
>
>>
>
>Ah, that would be the class method. The actual function is called Invoke1 (most likely it's a wrapper function that gets exported so that you can call it from VFP). I'd do a search through the code for Invoke1 - it will probably show up as a function in a CPP file and in a .def or .h file. If you can find/post those definitions as well, we can at least make sure the signature matches.

I guess I'll end up downloading the whole solution :) I thought I'll take a quick look in SOS (Source of Site) and would not need to get the whole thing locally.
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