| |
|
|
![Georg Hovenbitzer: 06/15/08](.././../../i/a/199623250643725492e11ec.jpg) Georg Hovenbitzer | Hello together,
Perhaps can someone a hint give. I get a function The address one Strings back. now can it unfortunately his, that this one Unicode or one normal String is. How can I this detect circa properly hereon react to. |
|
|
| Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a) | 06/15/08 ▲ |
|
|
|
|
![Frank Abbing: 06/15/08](.././../../i/a/noavatar.gif) Frank Abbing | for such Cases there probably the API IsTextUnicode(). have you got tappt im dunkeln already tested? |
|
|
| |
|
|
|
![Georg Hovenbitzer: 06/15/08](.././../../i/a/199623250643725492e11ec.jpg) Georg Hovenbitzer | Hello Frank,
with the API I had already try made, it comes not plenty sinnvolles out. The problem is, The API desires The length the Strings, these ermittle I with WideCharToMultiByte. LenA& = WideCharToMultiByte(0,0,ptrUnicode&,-1,0,0,0,0) IsTextUnicode(ptrUnicode&,LenA&,0) thereby comes but with not Unicode strings a incorrect length out. me missing yet so The right idea to Solution. |
|
|
| Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a) | 06/15/08 ▲ |
|
|
|
|
![Sebastian König: 06/15/08](.././../../i/a/95394891549b7cb32600d3.png) Sebastian König | Georg Hovenbitzer
Perhaps can someone a hint give. I get a function The address one Strings back. now can it unfortunately his, that this one Unicode or one normal String is. How can I this detect circa properly hereon react to.
i'd say, that to the alone through viewing the Strings not at all sure say can... If you in the Grunde only ANSI-characters expect, can You naturally bad, whether each second byte zero is. but to that a is Unicode not same absolutely, that The characters 16bit big are (see [...] ) and to that others could the String Yes characters outside the ANSI-Fensters include.
in the Documentation the function ought to though somewhere stand, take off a String tappt im dunkeln zurückgibt...
MfG
Sebastian |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...] ![](/intl/i/lnk.gif) Alte Profan²-Seite: [...] ![](/intl/i/lnk.gif) | 06/15/08 ▲ |
|
|
|
|
![Jörg Sellmeyer: 06/15/08](.././../../i/a/8132362004294faafc5e8c.jpg) Jörg Sellmeyer | |
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... ![](https://www.wuestensand.info/images/CoverFataMorganaklein.jpg) | 06/15/08 ▲ |
|
|
|
|
![Dieter Zornow: 06/15/08](.././../../i/a/101212027948ca98cf1d74c.jpg) Dieter Zornow | |
|
|
|
![Frank Abbing: 06/15/08](.././../../i/a/noavatar.gif) Frank Abbing | Jaja, very. having today tommorrow none Source parat, but the Tipp fitting Yes. ![](.././../../i/s/-smile.png) |
|
|
| |
|
|
|
![Georg Hovenbitzer: 06/15/08](.././../../i/a/199623250643725492e11ec.jpg) Georg Hovenbitzer | Hello together,
many Thanks for whole hints. I have only a problem with the API IsTextUnicode. Since I only a address have where the String hinterlegt is, komm I do not on The length ran and accordingly it can API not use. i'll too time whom Stefan Töngi, the developer the audiogenie.dll, moreover question. there its function dependent upon MP3 File time Unicode or normalen String zurückgibt. |
|
|
| Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a) | 06/15/08 ▲ |
|
|
|