This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Query on "wide" function {PPL 0.7b]


Query on "wide" function {PPL 0.7b]

Postby mervjoyce » Aug 23, 2004 @ 1:06pm

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".
Merv Joyce
mervjoyce
pm Member
 
Posts: 113
Joined: Jun 1, 2004 @ 2:05pm
Location: Brisbane, AUSTRALIA


Postby kornalius » Aug 23, 2004 @ 4:05pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby kornalius » Aug 23, 2004 @ 7:01pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby PointOfLight » Aug 23, 2004 @ 7:21pm

Attachments
TEMP.zip
.ppl file and database
(18.76 KiB) Downloaded 315 times
Eric Pankoke
Programmer
Point Of Light Software
http://www.polsoftware.com/
PointOfLight
pm Member
 
Posts: 525
Joined: Nov 2, 2003 @ 8:39pm


Postby kornalius » Aug 23, 2004 @ 7:31pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby PointOfLight » Aug 23, 2004 @ 8:17pm

Eric Pankoke
Programmer
Point Of Light Software
http://www.polsoftware.com/
PointOfLight
pm Member
 
Posts: 525
Joined: Nov 2, 2003 @ 8:39pm


Postby kornalius » Aug 23, 2004 @ 8:22pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby PointOfLight » Aug 23, 2004 @ 8:43pm

Eric Pankoke
Programmer
Point Of Light Software
http://www.polsoftware.com/
PointOfLight
pm Member
 
Posts: 525
Joined: Nov 2, 2003 @ 8:39pm


Postby mervjoyce » Aug 24, 2004 @ 11:15am

Merv Joyce
mervjoyce
pm Member
 
Posts: 113
Joined: Jun 1, 2004 @ 2:05pm
Location: Brisbane, AUSTRALIA


Postby PointOfLight » Aug 24, 2004 @ 1:40pm

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).
Eric Pankoke
Programmer
Point Of Light Software
http://www.polsoftware.com/
PointOfLight
pm Member
 
Posts: 525
Joined: Nov 2, 2003 @ 8:39pm


Postby kornalius » Aug 24, 2004 @ 3:01pm

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.
Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Return to Pocket Programming Language (PPL)


Sort


Forum Description

Discuss this new development tool.

Moderator:

kornalius

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron