Hi Jack,
for one of my projects I keep the dlls in two different folders and decide with mode64bit what dll to use:
$ filename "HelloWorld1.exe"
'uses rtl32
'uses rtl64
includepath "../include/"
#ifndef mode64bit
extern lib "../IUP32/iup.dll"
uses "iup.h"
end extern
extern cdecl
#else
extern lib "../IUP64/iup.dll"
uses "iup.h"
end extern
#endif
sub main()
IupOpen(0,0)
IupMessage("Hello World 1", "Hello world from IUP.")
IupClose()
end sub
main()
I suppose there are some more options.
You can also find examples of using mode64bit e.g. in \inc\Msvcrt.inc and inc\MinWin.inc
Roland