I'm not a C++ developer and with this project I'm doing I was forced to use C++. The problem is that when I run my app and try to open a service its says Access violation reading location 0x00000000. The pointer is
I've looked around on how to allocate memory but I don't seem to understand as to how could I assign this as the size will be returned by a function and I don't know the size by head. Any help?