Re: Win32lib setText

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- Original Message ----- 
From: "H.W Overman" <euman at bellsouth.net>
To: <EUforum at topica.com>
Subject: Win32lib setText


> 
> 
> Hey all,
> 
> Using Win32lib v.59.1 I seem to have an issue with setText to SLE Edit
> controls.
> If I specifically send a string sequence e.g; setText(Diag[i],"work")
> this seems fine but, if I return a string sequence from a buffer it doesnt
> work correctly.
> 
> Has anyone else ran across this?

<soapbox>Please be a LOT more explicit when asking for help. This request is
*way* to vague for anyone to guess correctly what your problem is.</soapbox>

Its not much use just saying "it doesnt work correctly" because that does not
give us any information to help you. It would be better if you said what *does*
happen rather than what does not happen. For example, is it displaying nothing or
displaying strange characters? And what does "return a string sequence from a
buffer" actually mean? I guess you are using an API functon which is returning a
zero-terminated string at a RAM location and you are getting that string out of
RAM and converting it to a sequence then using setText(). Can you see what is in
the sequence-string before calling setTExt() using the trace or even the '?'
method? What is the contents? Are you sure you are fetching the string correctly
from RAM? What is the API routine you are using? Is it just this API routine or
all API routines that return a RAM string? Can you display the sequence string in
a console window?

-- 
Derek

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu