Timinator
❔ PInvoke, Reflection or winapi for loading a DLL?
well if you attempt to allocate memory on the heap and the underlying OS and to that extend kernel is not able to allocate the memory for you because, not enough ram, not enough consequtive free memory in ram, no or insufficient page file, corrupted hardware(RAM) etc etc then it returns a null pointer which tells u that the OS was not able to allocate memory for you
186 replies
❔ PInvoke, Reflection or winapi for loading a DLL?
i can change it to reference, a range based for loop requires more time than using vector.size() to get the size, ppArray is not too big but i want it of dynamic size, i check if its not null because heap allocations can throw bad allocs
186 replies
❔ PInvoke, Reflection or winapi for loading a DLL?
it doesnt like me using values.size() to index the size somehow if i use a primitive int and iterate trough the vector til the end and increment the index and then use this index theres no problem whatsoever
186 replies