Re: What (or where) is LSTATUS ?



On 14/12/2018 16:20, Luca Bacci wrote:
Hi John,

With mingw headers I get:
>> cd /usr/i686-w64-mingw32/include/
>> grep -r LSTATUS
winreg.h:  typedef LONG LSTATUS;



Thanks for the prompt reply Luca but #including 'winreg.h' just gave me a lot more errors... :-(

I've a feeling that LSTATUS might be possibly an obsolete type (on checking other libraries, everything that assigns the return value from RegOpenKeyEx() seems to expect a return type of LONG)

And if I change line 499 to this, everything compiles:-

    LONG status;

(I guess you could also use LRESULT, rather than LONG)

John


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]