knowledge-database (beta)

Current group: comp.soft-sys.powerbuilder

Problem sending Strings using SendMessage / PostMessage

Problem sending Strings using SendMessage / PostMessage  
Lozza
 Re: Problem sending Strings using SendMessage / PostMessage  
ffa
From:Lozza
Subject:Problem sending Strings using SendMessage / PostMessage
Date:2 Dec 2004 00:26:25 -0800
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?
From:ffa
Subject:Re: Problem sending Strings using SendMessage / PostMessage
Date:28 Dec 2004 06:47:59 -0800
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
   

Copyright © 2006 knowledge-database   -   All rights reserved