Hi Viktor,
You've introduced a new permanently set macro called HB_OS_WIN64_32, redefined a Harbour type (which should be avoided by all means)
Is to work with win64 implementation in win32 with minimal changes. If the system is win32, not be used HB_U64 used HB_U32 to compile only win_dll.c
and shifted parameter offset by one for reference types,
It's a bad typo in win64. Try testdll.prg with MinGW in Win32, use CC_FLAGS .- -Wall -Wextra -march=i586 -mtune=pentiumpro -O3 -fomit-frame-pointer Sorry, I explain more later... :) Best regards, Xavi _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour