Dealing with the MFC

Introduction

To use the MFC in a Winelib application you will first have to recompile the MFC with Winelib. In theory it should be possible to write a wrapper for the Windows MFC as described in Dealing with binary only dlls. But in practice it does not seem to be a realistic approach for the MFC:

This is why this guide includes a section dedicated to helping you compile the MFC with Winelib.