Птн, 06 Авг 2010, David Mitchell писал(а):
> 
> 
> 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

Did you export the function? There is an example in j under folder
examples/dllwrite

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to