Re: [Vala] Windows Low level with Vala



Hello,
in vala-1.0.vapi I've found some type name unichar.
This is the unicode (16bit character) representation in glib.
I think unichar* could be one solution to get LPCWSTR to run.

Regards
Uwe


2009/3/10 <fsw fb comcast net>
Thank you both for your info.

Got invoked MessageBoxA into the vapi file and it compiled successfully. 8)

Tried the same with MessageBoxW and got 2 warnings about 2 incompatible pointers, this being theĀ  LPCWSTR types of the Text and Caption of the messagebox but this time as "wide char" pointers.

Is there an equivalent in vala to LPCWSTR?

Now If I can get this figured out it could mean I'm able to generate Win32-API vapi files - well at least the start of - they are really big indeed...

Thanks again you both and thanks to all others that might give me more tips on how to do a sane datatype conversion...

Bye
fsw


_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list




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