|
-
June 1st, 1999, 01:30 AM
#1
How to allocate space in a thread?
I wander how to allocate space in a thread created using
AfxBeginThread(pFunc,param)?
I ever use the malloc function,sometimes it works,Otherwise
it will invoke a error.
It seems that no error occur if i use GlobalAlloc() function .
But I don't know the reason.
Who can tell me what on earth is the proper method to allocate
space dynamically in a thread?
I look forward to your response, thanks a lot!
-
June 1st, 1999, 02:40 AM
#2
Re: How to allocate space in a thread?
new() is the way to go
Sally
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|