HPW Posted November 4, 2018 Posted November 4, 2018 Hello, I want to call an Dll which supports a string-parameter in Utf8 Format. The return is also an utf8 string. The DllCall commands has the STR and the WSTR type identifier in the doc. Can I call the Dll somehow? Or can the DllCall command supports a Special Utf8 type identifier to convert to and from the internal Unicode Format in Autoit V3.3 ? Regards Hans-Peter
Danp2 Posted November 4, 2018 Posted November 4, 2018 You will need to use DllStructCreate and convert the string into a UTF8 structure. See the SQLite UDF for example code (__SQLite_StringToUtf8Struct and __SQLite_Utf8StructToString). Latest Webdriver UDF Release Webdriver Wiki FAQs
HPW Posted November 4, 2018 Author Posted November 4, 2018 Hello, Thanks for the hint, I will search the sample and try to understand and adopt it for the Problem. A native Support in the DllCall command would be still nice. Regards Hans-Peter
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now