Anybody looking for a pet Wine project?

Jacek Caban jack at
Thu Jun 30 13:52:34 CDT 2005

I forgot to attach hh.exe...
-------------- next part --------------
#include <windows.h>

typedef int WINAPI DOWINMAIN(HMODULE hMod, LPSTR cmdline);

int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)
    HMODULE hModule;
    DOWINMAIN *doWinMain;

    hModule = LoadLibrary("hhctrl.ocx");
    doWinMain = GetProcAddress(hModule, "doWinMain");

    return doWinMain(hInst, cmdline);

More information about the wine-devel mailing list