Please get a good debugging tool (MSVS, GDB) and go through your code line by line. This method will help you to resolve some big mistakes you have done here. Then ask the people what you have missed...
Type: Posts; User: davidk
Please get a good debugging tool (MSVS, GDB) and go through your code line by line. This method will help you to resolve some big mistakes you have done here. Then ask the people what you have missed...
Check whether you can compile your program as EXE, not LIB. If everything is ok with EXE, then perhaps it is an exporting issue of your code and 3rd party headers. Give some more info about 1-2 exact...
It is not possible to separately initialize static class member in the global scope of code. But it is possible to allocate your array separately in any function like initialize_pointer() written by...
That is good, because one buffer here is better than two.
But you now have to write
NumOfBytes = GetPrivateProfileSection("OurApp Update PlugIns", Buf, 2048, m_OldIniPath);
NumOfBytes +=...