zhe
2005-02-17 08:18:48 UTC
I tried to allocate memory with Malloc and return the result to
(*pUserContext)->memory like below:
(*pUserContext)->memory = Malloc(userProcessSize);
memset(((*pUserContext)->memory), '\0', userProcessSize);
However, when I test the size of Context, it says UserContext is pointing to
NULL, or = 0,
please help!
Thanks
Zhe
(*pUserContext)->memory like below:
(*pUserContext)->memory = Malloc(userProcessSize);
memset(((*pUserContext)->memory), '\0', userProcessSize);
However, when I test the size of Context, it says UserContext is pointing to
NULL, or = 0,
please help!
Thanks
Zhe