On 8/6/2010 10:40, bill lam wrote:
> Птн, 06 Авг 2010, David Mitchell писал(а):
>> gij=: '"c:\users\me\documents\visual studio
>> 2010\Projects\Gijswijt\Release\Gijswijt.dll" ?gij@@yaxh...@z +n i *c'&cd
> I guess you may add extern "C" to prevent mangled names.
>
Perhaps there are more changes required. I had tried
extern "C" void gij(int nm, char *a) {
and the DLL no longer showed any external definition for the function gij.
And, as expected, I could not call the function from J.
--
David Mitchell
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm