I need to use the API (i think) to create a dynamic string but the address is fixed.
The memory area is created by a specific api call, an array with String ptrs will be used to access these strings.
I can not use asciiz.
------------------
http://www.hellobasic.com
The memory area is created by a specific api call, an array with String ptrs will be used to access these strings.
I can not use asciiz.
Code:
Global MyArray() As String Ptr '''' Redim MyArray( 1 to 1000 ) Dim pAddr As Dword pAddr = >> this is the problem, Malloc or sort of, don't know exactly.. MyArray( 1 ) = pAddr Dim PBString As String At MyArray( 1 ) (Or string ptr if necessary) Msgbox PBString
------------------
http://www.hellobasic.com
Comment