Hello, I am currently using
HeapAlloc() in my program instead of
malloc().
I need to check if the memory was correctly allocated. What should I do?
- Check the return value of HeapAlloc()?
- Use Structured Exception Handling (SEH)?
- Use malloc() instead (and check its return value).