I need help with my MASM dll. I'm counting elements in array then I want to allocate memory for another array, in C I'm using vector. I tried to use:
invoe GetProcessHeap
invoke HeapAlloc, eax, HEAP_NO_SERIALIZE + HEAP_ZERO_MEMORY, <size>
or
invoke GlobalAlloc, GMEM_ZEROINIT, <size>
mov tab, eax
but I'm getting errors undefined symbol : GetProcessHeap
undefined symbol : HeapAlloc
I'm using this library in C# application. Can you show me example how can I dynamically allocate memory?