flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2 |
Author |
|
Alexander
Azu wrote:
Hi Azu, the terminator is used to convert a BSTR to a C-String or a C-Style-String easyly. |
|||
![]() |
|
Alexander
bitRAKE,
thanks for your suggestions. Japheth's website is great, but not directly what I wanted. Isn't there a simple solution to create a structure in FASM and to export it to the caller (in my case this would be any language which uses the component object model for string manipulation like VB6)? Thanks Alexander |
|||
![]() |
|
bitRAKE
Japheth defines BSTR as "BSTR typedef ptr word" and looking over the code we see stuff like:
Code: invoke SysAllocStringByteLen, NULL, MAX_PATH mov [bstr],eax . . . invoke WideCharToMultiByte,CP_ACP,0,\ [bstr],-1,addr szValue, sizeof szValue,0,0 . . . invoke SysFreeString, [bstr] (Looks like he is using a UTF-16 string - not a BSTR?) |
|||
![]() |
|
Alexander
Thanks bitRAKE
|
|||
![]() |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.