Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.forethought.net!news.forethought.net.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 13 Aug 2008 14:07:43 -0500
Date: Wed, 13 Aug 2008 13:08:12 -0600
From: Dan Hensley <somewhere@over.there>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Re: 64 bit .dll
References: <g7uv6m$5e4$1@fred.mathworks.com>
In-Reply-To: <g7uv6m$5e4$1@fred.mathworks.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <LqednXFKwdpirT7VnZ2dnUVZ_rfinZ2d@forethought.net>
Lines: 20
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-RuLSBKBYQZ/wZAGW3/YEWB+l0yH51eloTKkD3kycc8q1ksmBWKkTTMfogCnanHf6v8VmU/Om4FRnhZR!C9ndVC3V9WlDZPkSJIoq/hDfMCBJz/PFuc/wZQuPUzFUcAKJY8tHRl4rxFfMpI+QfF0iiBy3rQx8!7siRKsTplooRITJU00h8EqS1
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.39
Bytes: 1782
Xref: news.mathworks.com comp.soft-sys.matlab:485329



C M wrote:
> I want to create a 64-bit .dll file using c code and get it 
> working with a matlab script on a 64 bit machine.  Has 
> anyone tried doing this, or knows how to do this?  It works 
> on a 32 bit machine, when it's obviously a 32-bit .dll file.

Do you mean recompile on a 64bit machine using a 64bit compiler?  Have 
you done this?

You can also cross-compile to a 64bit target from a 32bit machine if you 
have the cross-compiling tools set up, but I'll leave that as an 
exercise for the user (note that I have this set up).

Dan



> 
> When I try, I get the following error: "Undefined function 
> or method for input arguments of type 'char'".