>
> But why a 32bit application can run 64bit OS no problem?

Microsoft puts an incredible emphasis on (and resources towards) backward
compatibility:
http://en.wikipedia.org/wiki/WoW64


> Can dlopen supports both 32 and 64 bits module?


No, WoW64 doesn't go quite that far. DLL architecture must still match
process architecture within a given process.

I would suggest to install 64-bit Anaconda if you are trying to use some
included package via PyCall.


On Thu, Feb 5, 2015 at 12:46 AM, 进陆 <[email protected]> wrote:

> I am using Julia Version 0.3.4 (2014-12-26 10:42 UTC)( Official release,
> x86_64-w64-mingw32) coming with Juno bundle on Win7 64 bits
> I have both Anaconda-python27(which is 32 bits) and
> python-3.4.2.amd64(which is 64 bits)
>
> But I can't let PyCall run, so I traced it and found that dlopen could not
> load 32 bit module on Win7 64 bits.
> But why a 32bit application can run 64bit OS no problem? Can dlopen
> supports both 32 and 64 bits module?
> Thanks.
>
> [quote]
> julia> isfile("E:\\prg\\py\\Anaconda\\python27.dll")
> true
>
> julia> dlopen("E:\\prg\\py\\Anaconda\\python27.dll",
> RTLD_LAZY|RTLD_DEEPBIND|RTLD_GLOBAL)  #this is 32bits DLL
> ERROR: could not load module E:\prg\py\Anaconda\python27.dll: The
> specified module could not be found.
>
> julia> dlopen("E:\\prg\\py\\python-3.4.2.amd64\\python34.dll",
> RTLD_LAZY|RTLD_DEEPBIND|RTLD_GLOBAL)#this is 64 bits DLL
> Ptr{Void} @0x000000000737a500
> [/quote]
>
>
>
>

Reply via email to