4 messages in com.mysql.lists.plusplusRe: Unresolved symbols in Query (Lock...
FromSent OnAttachments
Pedro Lamarão26 Apr 2006 11:26 
Warren Young27 Apr 2006 02:01 
Pedro Lamarão27 Apr 2006 09:39 
Warren Young28 Apr 2006 03:24 
Subject:Re: Unresolved symbols in Query (Lockable)
From:Warren Young (mysq@etr-usa.com)
Date:04/28/2006 03:24:56 AM
List:com.mysql.lists.plusplus

Pedro Lamarão wrote:

"Query::lock" and "Query::unlock" are really missing the DLL

They're private member functions -- there is no reason why they should be accessible in the DLL's interface.

I tried adding MYSQLPP_EXPORT to Lockable's members, but that didn't do the trick for me.

If you wanted to try and "fix" this, you'd add MYSQLPP_EXPORT to lock() and unlock() in query.h, not lockable.h. lockable.h just declares virtual member functions, it doesn't define anything that could be exported in the DLL interface.