tags:

views:

413

answers:

2

Anybody know what my DLLImport statement should look like here:

extern "C" __declspec(dllexport) long SomeFunction(VARIANT *argNames, VARIANT *argValues, VARIANT *pVal) { ... }

+1  A: 

A variant is an object. http://msdn.microsoft.com/en-us/library/aa719104(VS.71).aspx

Geoffrey Chetwood
A: 

Tip: An useful resource when working with pinvoke and win32: http://pinvoke.net