Re: Net/Link: Problems with DLL (3)
- To: mathgroup at smc.vnet.net
- Subject: [mg48889] Re: Net/Link: Problems with DLL (3)
- From: "psa" <psa at laplacian.co.uk>
- Date: Tue, 22 Jun 2004 05:31:35 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
More "tips" than "questions"? Perhaps all this is well documented?
Point 1:
With MakeNETObject[{}], make sure the first element is of the correct type
for all. Without the //N the following would have been rounded to an
iunteger array object {0,0,0}
In[374]:=
dzpl = MakeNETObject[{0, 0.1, 0.2} // N]Out[374]=
«NETObject[System.Double[]]»
Point 2:
In, say, "ByRef fred As Double" there is some case dependency. For example
"as" must be "As".
Peter