comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Call external 64bit
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Call external 64bit [message #67293 is a reply to message #67290] Mon, 13 July 2009 07:56 Go to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Mon, 13 Jul 2009, Wox wrote:

> Hi
>
> Calling a 32bit dll from IDL 64 bit doesn't work (see below). Is this
> normal behaviour?
>
> IDL> print,!version
> { x86_64 Win32 Windows Microsoft Windows 7.1 Apr 21 2009 64 64}
> IDL> print,call_external('test.dll','test',2u,/ALL_VALUE,/I_VALUE )
> % CALL_EXTERNAL: Error loading sharable executable.
> Symbol: test, File = Test.dll
> %1 is not a valid Win32 application.
>
>
> Normal behaviour (IDL 32bit):
> IDL> print,!version
> { x86 Win32 Windows Microsoft Windows 7.1 Apr 21 2009 32 64}
> IDL> print,call_external('test.dll','test',2u,/ALL_VALUE,/I_VALUE )
> 10
>
>
> Dll file used: http://xrdua.ua.ac.be/public/Test.dll


I think this is normal. You can not mix 32 and 64 bit code in a single app
(eg. call_external passes 64 bit pointers to the DLL while the DLL expects
32 bit ones).

regards,
lajos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: An approximation of the cumulative integral of Y
Next Topic: Contour lines are disappearing

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Mon Dec 01 19:06:59 PST 2025

Total time taken to generate the page: 1.92253 seconds