Dear Elaine,
To add to the emails of Jaap:
There is only a 32-bit version of **Ox Console** for Windows (the 64-bit version
is part of Ox Professional). (The stand-alone version of OxEdit does not include
Ox).
64-bit Windows can run both 32 and 64-bit programs (e.g. if you use Chrome it
may well still be the 32-bit version, as is Excel).
64-bit executables can only call 64-bit DLLs (and 32-bit programs only 32-bit DLLs).
So to create a DLL for Ox Console under Windows, you need to
1. compile a 32-bit DLL,
2. use the correct calling convention (see Chapter D2 in the developers manual), and
3. import the names correctly from Ox (dev/liboxwin.a or dev/oxwin.lib),
4. export the undecorated name.
These aspects are platform and compiler specific, which is why there are 8
separate examples for threes (and that is just for C/C++ code).
It appears that dev/samples/threes/win_gcc is the relevant example, assuming the
compiler is called gcc and can compile to 32-bit.
Best wishes, Jurgen
oxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxox
oxoxoxox 18th OxMetrics user conference 2016
oxoxoxox Cass Business School, 12-13 Sept
oxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxox
Dr Jurgen A Doornik
James Martin Fellow, Institute for New Economic Thinking
at the Oxford Martin School, University of Oxford
http://www.doornik.com
http://www.oxmetrics.net
oxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxox
On 2016-07-25 16:35, Vries, J.J. de wrote:
> http://www.doornik.com/download.html#oxedit
> has a link for
> 64-bit OxEdit
> (the arrangement of the lines is not optimal)
>
>
> OxEdit 7.10 for 32-bit Windows (8, 7, Vista, XP; Exe, 1.7 MB), choose a download site:
> 64-bit OxEdit
> 32-bit OxEdit
> OxEdit 7.10 for 64-bit Windows (8, 7, Vista, XP; Exe, 2.0 MB), choose a download site:
>
> I suppose that that is 64-bits OxEdit, not a 64-bits installer for a 32-bits OxEdit.
>
> Jaap
> ________________________________________
> Van: The ox-users list is aimed at all Ox users [[log in to unmask]] namens Eliane Pinheiro [[log in to unmask]]
> Verzonden: maandag 25 juli 2016 17:15
> Aan: [log in to unmask]
> Onderwerp: Re: cannot load dll
>
> Continuing...
>
> I could not compile with -m64 in Ox version 6. There is oxwin.a only for 32-bit.
>
> There is no download site for OxEdit 7.10 for 64-bit Windows (8, 7, Vista, XP; Exe, 2.0 MB).
>
> I wonder if it will work with it. Does anybody know when will OxEdit 7.10 for 64-bit Windows 10 will be avaiable?
>
> Greetings!
>
|