|
Thanks
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.
|
|
|
|
|
Get 2008 or wait till March - you might be able to get 2010 then!
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
MVP for 2010 - who'd'a thunk it!
|
|
|
|
|
Thank you.
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.
|
|
|
|
|
VS 2010 beta is still buggy and I'd recommend that you get VS 2008.
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
Thanks for feedback
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.
|
|
|
|
|
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]
|
|
|
|