Search found 5 matches

by Ascend4nt
Jan 04, 2013 15:53
Forum: Windows
Topic: using unicode (tips and tricks)
Replies: 13
Views: 2487

Re: using unicode (tips and tricks)

That's a known issue, the fbc-0.24.0 import libraries are broken Cool. Thanks for that! Search doesn't always get me what I need :) However, I'm always curious just what will be pulled into the executable.. The executable gets just a few additional bytes (name of library, declarations of the used f...
by Ascend4nt
Jan 04, 2013 12:09
Forum: Windows
Topic: using unicode (tips and tricks)
Replies: 13
Views: 2487

Re: using unicode (tips and tricks)

One thing that usually stops me from including large support libraries is the resultant executable size. However, I'm always curious just what will be pulled into the executable.. Out of curiousity, I tried a really simple GLib test: #include "glib.bi" Dim OSVer As guint OSVer = g_win32_ge...
by Ascend4nt
Jan 03, 2013 20:50
Forum: Windows
Topic: using unicode (tips and tricks)
Replies: 13
Views: 2487

Re: using unicode (tips and tricks)

Huh, how'd I miss this. I was just discussing unicode text handling in Windows in another forum. The problem with FreeBASIC is it has weird half-arsed support for WString.. you can create WString's on the fly by combining two values in a function call, but otherwise you have to be very specific abou...
by Ascend4nt
Jan 02, 2013 8:38
Forum: Windows
Topic: Windows headers const ptr issue (especially winnt.bi)
Replies: 4
Views: 1498

Re: Windows headers const ptr issue (especially winnt.bi)

Oops, yeah.. the 'const' position for OLE_LPCSTR should be corrected to 'const zstring ptr'.

If you like, you can verify my changes by checking out 'Windows Data Types' on MSDN, which lists a number of LPC/PC types.
by Ascend4nt
Dec 30, 2012 18:29
Forum: Windows
Topic: Windows headers const ptr issue (especially winnt.bi)
Replies: 4
Views: 1498

Windows headers const ptr issue (especially winnt.bi)

Hi, There's a problem I've just seen with the windows headers (inc\win), especially in 'winnt.bi' header. The constant pointer types are all wrong! 'LPCWSTR' in Windows speak means a 'long pointer to a constant wide string', which in FreeBASIC should be 'Const WString Ptr', however in the winnt.bi h...

Go to advanced search