MySQL connection strange behavior (again...)

miazo miazo at no.spam.please
Wed Feb 22 13:18:31 PST 2012


Problem solved. :-)

I found that it was @4 suffix that was missing. With a 
libmysql.def file as below:

LIBRARY libmysql
EXETYPE NT
SUBSYSTEM WINDOWS
EXPORTS
	_mysql_init at 4 = mysql_init

I was able to generate working libmysql.lib file with implib 
(with /system switch).

That, with changing from extern (C) to extern (System), removed 
the problematic issue.

Thank you for all your hints!


More information about the Digitalmars-d-learn mailing list