Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8800

Problems getting DLL Functioncalls to work properly

From Guido <guido.reichert@gmx.de>
Newsgroups comp.soft-sys.math.mathematica
Subject Problems getting DLL Functioncalls to work properly
Date 2012-03-01 10:32 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jinj73$cr4$1@smc.vnet.net> (permalink)

Show all headers | View raw


I am having trouble to get DLL function calls to work properly on my
system. To start with the examples in the help documentation do not
work:

In[3]:= Needs["NETLink`"]
In[6]:= NETLink[]
Out[6]= LinkObject["C:\\Program Files\\Wolfram \
Research\\Mathematica\\8.0\\SystemFiles\\Links\\NETLink\\\
InstallableNET.exe", 16, 8]

In[7]:= getTickCount =
 DefineDLLFunction["GetTickCount", "kernel32.dll", "int", {}]

Out[7]= Function[Null,
 If[NETLink`DLL`Private`checkArgCount["GetTickCount", {##1}, 0],
  Wolfram`NETLink`DynamicDLLNamespace`DLLWrapper4`GetTickCount[##1], \
$Failed], {HoldAll}]

Where is my mistake?

Thanks for helping in advance

Guido

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Problems getting DLL Functioncalls to work properly Guido <guido.reichert@gmx.de> - 2012-03-01 10:32 +0000
  Re: Problems getting DLL Functioncalls to work properly Szabolcs <szhorvat@gmail.com> - 2012-03-02 12:48 +0000
  Re: Problems getting DLL Functioncalls to work properly "Oleksandr Rasputinov" <oleksandr_rasputinov@ymail.com> - 2012-03-02 12:51 +0000

csiph-web