Page 1 of 1

Query on "wide" function {PPL 0.7b]

PostPosted: Aug 23, 2004 @ 1:06pm
by mervjoyce
Kornalius,

Can you confirm that the "wide" function still works.

My combobox_add function no longer adds strings to comboboxes correctly - only the first character of the string is added. The string looks in tact as far as I can trace up to the wide call, immediately before generating the "sendmessage".

PostPosted: Aug 23, 2004 @ 4:05pm
by kornalius

PostPosted: Aug 23, 2004 @ 7:01pm
by kornalius

PostPosted: Aug 23, 2004 @ 7:21pm
by PointOfLight

PostPosted: Aug 23, 2004 @ 7:31pm
by kornalius

PostPosted: Aug 23, 2004 @ 8:17pm
by PointOfLight

PostPosted: Aug 23, 2004 @ 8:22pm
by kornalius

PostPosted: Aug 23, 2004 @ 8:43pm
by PointOfLight

PostPosted: Aug 24, 2004 @ 11:15am
by mervjoyce

PostPosted: Aug 24, 2004 @ 1:40pm
by PointOfLight
I'm just curious: why where you passing the variable as &text$? I've never had to use the & when I've called the sendmessage functions (at least not for the combobox calls).

PostPosted: Aug 24, 2004 @ 3:01pm
by kornalius
The problem with passing &var$ text variables to an API call will result in passing an address value, therefore PPL won't be able to convert the string to widechar. It simply won't know.