i'm sorry - i haven't found anything that helped me to solve this problem. I want to update a string by using resources.
Here's my source for the father:
Code: Select all
h = BeginUpdateResource_("client.exe", 0)
*buffer = AllocateMemory(255)
size=255
r = UpdateResource_(h, 1, "TEST", 0, *buffer, size)
r = EndUpdateResource_(h, 0)
Code: Select all
text$ = Space(255)
TextWnd = LoadString_(hinstance,1,@text$,10)
If TextWnd <> 0
MessageRequester("Info", PeekS(TextWnd))
MessageRequester("Info", Str(TextWnd))
Else
MessageRequester("error","no resource")
EndIf
I hope you can help me...
