Dmitry Timoshkov wrote:
Do you really need this define? It looks like it's unused (not mentioning that it breaks Wine rules on using unicode APIs).
I thought that too before I sent the patch, so I removed it and recompiled just to make sure. It's used by the following definition in include/msiquery.h:
#define MSIDBOPEN_READONLY (LPCTSTR)0
So, yes, I need it to open the database using MsiOpenDatabaseW.
Mike