Re: using an MSVC C DLL with Cygwin gcc
On 8/17/2012 5:45 PM, Daniel Brown wrote: > for(i=0;i<10;i++) > printf("%d\n", b[i]); ^^ You want %g or %f. signature.asc Description: OpenPGP digital signature
using an MSVC C DLL with Cygwin gcc
Hi all, So I have a C dll written in MSVC which is being called by a Cygwin programmed compiled with gcc. So far it all works ok apart from when I try and pass an array that the dll should then change. For example I have this in the dll: __declspec(dllexport) void array_read_write(double *sr