While the previous commentor is correct using a profiling tool will help you identify where the inefficiencies are in your software. If you don't have access to a profiler try making a smaller project that focuses on a potential issue. Use a timing class to record how long two different...
I'm attempting to create a CList object in a C++ class.
I've created an MFC AppWizard (exe) project.
The declaration code looks like:
CList<int,int> test;
For some reason I'm getting the error codes back:
Any thoughts or suggestions on this would be appreciated. I'm fairly certain there is a...
I'm having a problem with wincrypt.h as well.
I know that one is supposed to install the Platform SDK.
I've done this and maybe that is the guys problem above. Unfortunately I've had it work where it solves the errors C2146 and error C2501 problems. I ghosted my Windows 2000 machine with the...
Ok,
I see your approach. I don't have access to VC++ currently, the compiler is at work. In the mean time please explain why the shorter sql call works while the longer one does not. If the VC++ editor just wasn't showing the full length of what was really in the CString object then I would...
While I agree with you that the documented max length of CString objects is a couple million. I too am experiencing similar troubles.
I'm testing the length by looking at the my CString object in the VC++ debugger. Interestingly enough I'm also using my CString object for a SQL statement. I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.