Get rid of W->A calls

hatky hatkyinc at yahoo.com
Fri Sep 5 13:24:11 CDT 2003


Ok, one last line:

        strcpy(((char*)lpwh) + sizeof(WINHELP),
lpHelpFile);

I do not realy get what it means.... (but I know it
shouldn't be this way becouse I get a warning:

passing arg 1 of `strcpy' from incompatible pointer
type


lpHelpFile is a LPCWSTR unicode variable and 
lpwh is of type WINHELP*
where WINHELP

typedef struct
{
    WORD size;
    WORD command;
    LONG data;
    LONG reserved;
    WORD ofsFilename;
    WORD ofsData;
} WINHELP;

Hatky.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the wine-devel mailing list