I have a BIG problem with a SMALL Visual C++ 8 solution stored on an USB flash. The original solution was made with Visual C++ 7 and worked fine. For some reason when I switched to version...
You obviously are an experienced programmer. I have a big problem and maybe you can help me. We have to start a new project (windows/desktop/graphics). So far I have only used...
David, thank you for your reply. Unfortunately I do not “speak” C#. I only “speak” C++. I must learn C++/CLI and I need a good book; I do not want to waste any time or money.
I am not a STL expert but I guess each time you use “vector:: push_back” there is a chance to allocate memory for the new element. This may slow down your application. Try to use “vector:: reserve”....
There are still errors in your code. For instance: LPCTSTR is a pointer to a vector of constant TCHAR. TCHAR is different from char, that is “*Valor=(LPCSTR )res;” is not all right.
...