> ; NOTE 2: I've checked win/watcom -6s option, but it's still not > good because it appends '_' to exported symbols, so > watcom -shared executables stop working with mingw/msvc > Harbour .dll. Any idea how to solve that?
I've found information regarding this issue on this link: http://www.azillionmonkeys.com/qed/watfaq.shtml#25 quote: --- - WATCOM will, by default, use registers for its parameter passing convention which makes it incompatible with regular COFF format libraries and object files. However, adding the extra declaration information via "#pragma aux <function> frame;" will force WATCOM to pass parameters to the function via the stack. --- Maybe it's useful. Here's some relevant watcom doc, but it's not extremely helpful: http://www.openwatcom.org/index.php/Calling_Conventions I also recommend this link for calling convention topic in general: http://www.agner.org/optimize/calling_conventions.pdf Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour