|
Is VS 2008 bug free?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Good point. But definitely it has *way* less bugs than VS 2010.
On a different note, I won't practically expect a "bug free" product that's relatively complex and big enough.
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
Bugs to worry about? or just when you do really unsual things?
BTW: I will ask my boss to get the 2008.
Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Visual Studio 2008 is the best of the lot. If it's already been purchased, I say go for it. FWIW, I have observed that moving a project from VC 6 to VS 2008 is harder than from VS 2008 to VS 2010. (My suggestion, once you convert the project, go through ever setting one by one. Specifically, there is a known bug where sometimes the optimization settings are lost [the trick is to change /O2 to none, save the project and then switch it back.])
|
|
|
|
|
Thanks for the advices, but as I told, at the moment has nothing to do with work, I just want to learn more for me. That means I don't think I'll convert any project (and if it was needed, the IT people will do it [I still am in automation]), I will start things from the beginning.
BTW... at work I can not vote, I'll click "good answer" when I got back home.
Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Hi all,
I am using URLDownloadToFile with IBindStatusCallback i would like the OnProgress to show a real progress the problem is that i see in my output that one of the OnProgress statuses is BINDSTATUS_CACHEFILENAMEAVAILABLE
how to tell the interface to d/l the file everytime...i saw in MSDN that i need to set up a flag in the GetBindInfo method...but i need an example code for that
thanks in advanced
Interface basics click here :
http://www.codeproject.com/com/COMBasics.asp
don't forget to vote
|
|
|
|
|
ok i've digging into it i've found out i can use URLDownloadToCacheFile and set the reserved flag to BINDF_GETNEWESTVERSION
this works, but now i have a newer problem that when URLDownloadToCacheFile returns the HRESULT says E_OUTOFMEMORY
this is the code i use
int nLen = m_sFile.GetLength()* sizeof(TCHAR);<br />
HRESULT hr = URLDownloadToCacheFile (NULL,m_sUrl,m_sFile.GetBuffer(nLen),nLen,BINDF_GETNEWESTVERSION,&c); <br />
In MSDN it states that if the result is E_OUTOFMEMORY it means that The buffer length is invalid or there was insufficient memory to complete the operation.
what am i doing wrong here?
thanks for any reply
Interface basics click here :
http://www.codeproject.com/com/COMBasics.asp
don't forget to vote
|
|
|
|
|
well figured it out...
it turns out the 2nd parameter is an out parameter which contains the file that was downloaded and placed in the internet temporary files...
so now it works ok
thanks myself i guess
Interface basics click here :
http://www.codeproject.com/com/COMBasics.asp
don't forget to vote
|
|
|
|
|
hi,
I attach a MFC project in vs2008, which is built by VC6.0.
But the CComBSTR variable is not visable in vs2008, always shown "CXX0017:symbol "xxx" not found".
Another MFC project built by vs2008 is OK.
Why?
|
|
|
|
|
CComBSTR is part of ATL.
Include atlbase.h
|
|
|
|
|
my MFC application (VC6)is worked well.
and this variable(CComBSTR) can be shown well by attach by vc6 and vs2003.
it just can not be shown in vs2008.
maybe other reasons.
anyway,thanks a lot!
|
|
|
|
|
A lot of headers has changed across VC6 and VS2008.
|
|
|
|
|
did you check whether the pdb of your application is loaded correctly? Also how about the pdb of atl dll?
|
|
|
|
|
I need to have direct access to a set of unique keys two ways. First of all each unique key is a composite item. That is each key is composed of 3 items key::[A/B/C]. I need to be able to access each unique key, but I also need to access specific subsets [A/B/*] which would contain [A/B/C1], [A/B/C2], etc. Any suggestions on how to best do this? Currently I'm using a hash container to do the unique key accessing.
|
|
|
|
|
|
Thank you. I'll look into that.
|
|
|
|
|
Back in the day, when I used Visual Studio on Windows, you could break on any exceptions or abrupt termination. With Netbeans and Linux C++ development, however, it seems like I have 3 options: Pass and continue (terminates the program), discard and stop, discard and continue. None of these do anything remotely useful. Discard and continue is probably the most useful one, in that it lets you keep on going until you hit a segmentation fault. My goal is to figure out which line of code is causing the initial SIGABRT.
Any suggestions?
|
|
|
|
|
No idea about Netbeans (frankly, this is the first time I've heard anybody is using that for C++ development), but you can set gdb to stop on a signal here are the instructions[^].
|
|
|
|
|
I guess you can do this if you use GDB from the command line, but too bad it doesn't work well from the debugger frontend. Thanks for the suggestion, I'll see if there's anything else that can be done.
|
|
|
|
|
Nemanja Trifunovic wrote: frankly, this is the first time I've heard anybody is using that for C++ development
Second time (I used just a bit).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
I'm having some trouble getting PC Lint up and running. I'm working on a massive project (several hundred megs of code).
The source is organized into many directories. These directories are then included in the Visual Studio project. Is there any way to import that list of included directories (there's a good 50 or 60 of them)?
Thanks!
|
|
|
|
|
I know this is a problem about RoboHelp but most of the help about RoboHelp is fortecnical authors using it not programmers! Perhaps someone here can help?
I am trying to Link RoboHelp7 into my Visual Studio 2005 project (VC++) and I get errors. I have added "wininet.lib; urlmon.lib; htmlhelp.lib" to my Additional Dependencies in the Linker section of the Project Settings and yet this is the error when I try to compile:-
LINK : fatal error LNK1104: cannot open file 'wininet.lib;'
Is there another setting that I need to change in the Linker so that it can find the file, or do I need to download the files from somewhere?
Any ideas?
Many Thanks,
Ali
|
|
|
|
|
Alison Pentland wrote: LINK : fatal error LNK1104: cannot open file 'wininet.lib;'
This just means it cannot find the file. Have you added the directory location to the "Additional Library Directories" of the Linker.General section of the project properties?
|
|
|
|
|
Thank you for the reply.
I agree, it can't find 'wininet.lib'. I searched my harddisk, found a copy and added the path to "Additional Library Directories".
This is the path on my PC "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Lib"
I still get the same error.
LINK : fatal error LNK1104: cannot open file 'wininet.lib;'
Thanks for your time, any more ideas gratefully received ... beats me why it can't find the file, its driving me nuts!
Thanks,
Ali
|
|
|
|
|
Alison - what I usually resort to in a case like this is to use Process Monitor to see where the linker's looking for the offending library (look for FILE NOT FOUND messages in its output) - that usually gives clues as to why the linker's not finding the library.
However, in this case...I notice you put a semi-colon delimited list into Additional Dependencies - I think you'll find that you don't want the semi-colons...just whitespace.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|