>>
>>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