Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #3267
| From | nicktekhne@googlemail.com |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Convert Byte Array to String |
| Date | 2012-03-30 04:21 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <14034464.2071.1333106461543.JavaMail.geo-discussion-forums@vbgx21> (permalink) |
| References | <27581644.2180.1333015566790.JavaMail.geo-discussion-forums@vbvd13> |
Just for the records.... got this clarified with the help of Carlos Rocha. VO is actually converting the byte array returned from the ActiveX control into a VO array in this situation. You can make it return a string instead by using __OLEClientByteArrayAsString. So the previous code can be replaced by LOCAL cResult AS STRING __OLEClientByteArrayAsString(BAS_ONCE) cResult:=SELF:SaveToMemory(9,FALSE) RETURN cResult I don't know whether it's faster, but it's certainly neater ;-) Nick
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread
Convert Byte Array to String nicktekhne@googlemail.com - 2012-03-29 03:06 -0700 Re: Convert Byte Array to String nicktekhne@googlemail.com - 2012-03-30 04:21 -0700
csiph-web