For Programmers: Free Programming Magazines  


Home > Archive > PowerBuilder > December 2004 > Problem sending Strings using SendMessage / PostMessage









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem sending Strings using SendMessage / PostMessage
Lozza

2004-12-02, 9:01 am

I have been trying to send Text from one Powerbuilder application to
another, but haven't had much luck.

I use the SendMessage and PostMessage API calls, and Pass a String
value, but when the receiving application gets the message, it only
receives a pointer to the passed string.

Can you please help me in working out how to find this String
referenced by the pointer?

ffa

2004-12-28, 4:00 pm

Get the value by using the "address" format qualifier, as such:

ls_TextFromPointer = String(ll_PointerValue, "address")


The "address" format for the String function isn't documented very well
in PB, btw.
HTH,
f

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com