Thanks. I am still unable to get it to work though. mxCreateDoubleMatrix() returns a Zero IntPtr. I get a subsequent exception "ArgumentNullException: Value cannot be null. Parameter name: Destination" when I try to do a Marshal.Copy() from the double array to the IntPtr.
I recompiled chared.dll to make it working, however, when I call csharedInitialize(), there is runtime error. Though I can still get the returned value, I am wondering is there anything I can do to remove the error.
I tried to run the application with mode 3 but get the following error:
Unable to load DLL 'cshared.dll': The specified module could not be found.
However I saw the CShared.dll in the directory. I use visual studio 2008 pro.
Comment only