Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Re: Cool FTP implementation with "minimal" Python

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119486] Re: Cool FTP implementation with "minimal" Python
  • From: Alexey Popkov <lehin.p at gmail.com>
  • Date: Mon, 6 Jun 2011 06:23:47 -0400 (EDT)
  • Reply-to: comp.soft-sys.math.mathematica at googlegroups.com

David Bailey vrote:
> It is also possible in 8.0 to call C code
> in a DLL directly (i.e. with no inter-process overhead) and although I
> have not made use of this yet, this feature obviously has interesting
> possibilities.

I have no access to version 8 at the moment but could you explain more? It is very interesting to have the ability to call DLL's directly, especially system libraries under like kernel32.dll under Windows. Could you give an example of using it (I am especially interested in calling GlobalMemoryStatusEx function that "retrieves information about the system's current usage of both physical and virtual memory." In C# it is easy to get this information in numerical form:

http://msdn.microsoft.com/en-us/library/aa366589%28VS.85%29.aspx

It is also possible to get it via NETLink:

https://groups.google.com/d/msg/comp.soft-sys.math.mathematica/CECRZekCGdU/OkF1kyxf014J

But how can this be done in Mathematica 8 without using NETLink?


  • Prev by Date: Getting a chess with circles
  • Next by Date: Re: plotting contours on a sphere
  • Previous by thread: Re: Cool FTP implementation with "minimal" Python
  • Next by thread: Re: Cool FTP implementation with "minimal" Python