winelib/mfc queries

Dimitrie O. Paun dpaun at
Tue Apr 8 08:12:53 CDT 2003

On April 8, 2003 08:09 am, KK singh wrote:
> I am using 20030318 build of wine ...
> 1. WINE_UNICODE_TEXT is no longer defined anywhere in
> any of the header files ? What should i do now with

-#define OLESTR(str) WINE_UNICODE_TEXT(str)
+#define OLESTR(str) L##str

Make sure you have a recent version of gcc (like 3.2), 
and use winegcc to compile your code.

> 2. Should i define _AFXDLL while compiling mfc ?

I don't have MFC so I can not comment on this one, but
if you do manage to compile it, please post a report
on what you needed to change/steps you took/etc.


More information about the wine-devel mailing list