Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Neo wrote:In Win32 if a DLL calls malloc() where is the memory allocated from local heap or global heap?
Calls to a DLL (including the initial call to DllMain) occur in the context of the process or thread in question, so it comes from the same place that process or thread would get memory from if it called malloc itself.