Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Calling kernel.dll from Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108809] Re: Calling kernel.dll from Mathematica
  • From: Todd Gayley <tgayley at wolfram.com>
  • Date: Thu, 1 Apr 2010 06:01:13 -0500 (EST)

At 04:09 AM 3/28/2010, Alexey Popkov wrote:
>Todd,
>
>Is there a straightforward way to determine which of the loaded NETTypes
>corresponds to a function returned by DefineDLLFunction? Or the only way is
>to use Definition[]?


Alexey,

There isn't a particularly elegant way to do this. Looking at the 
body of the function returned by DefineDLLFunction usually tells you 
all you need to know. You could also call LoadedNETTypes[] before 
DefineDLLFunction, and then call it afterwards, and use 
Complement[after, before] to see what types were created by DefineDLLFunction.


Todd Gayley
Wolfram Research



  • Prev by Date: Export a vector
  • Next by Date: Re: 0/1 knapsack-like minimalization problem and
  • Previous by thread: Re: Export a vector
  • Next by thread: Re: 0/1 knapsack-like minimalization problem and