I want to make a global variable:
PHP Code:
char *str
Let's start by allocating some space:
PHP Code:
str GloballAlloc(GPTR10); 
later pass some string:
PHP Code:
lstrcpy(str"123"); 
let's say, later I want to make a bigger string
PHP Code:
lstrcpy(str"somestringthatisbigger"); 
How can I implement GlobalReAlloc? Is there another way to re-alloc some variable for future smaller or bigger strings?