|
AnayKulkarni wrote: Can anyone tell me how to do this?
By reading the mail-related articles here.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Which C++ compiler is the best ? VC6, VC7, VC8?
Thanks
modified 7-Mar-17 16:30pm.
|
|
|
|
|
|
Usually the upper is the number, the better is the compiler.
The above rule is wrong when applied to their operative systems.
BTW the compiler name is CL .
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've read that VC6 generates the fastest executables. My impression is consistent with that. I like VC6's GUI better too. I seem to remember reading a claim that it wouldn't work on Vista, but I'm not sure about that.
|
|
|
|
|
VC6 has worked fine for me on Vista for years, you just have to run it elevated. I have a post on my CP blog about how to install it.
|
|
|
|
|
how to set the cmd line option in visual studio 2005
|
|
|
|
|
Go to menu option Project->Properties... and select "Debugging" and enter your command line options in "Command Arguments"
Rams
modified on Friday, October 31, 2008 5:31 AM
|
|
|
|
|
I Create a scroll view in my dialog.
CMyDlg::OnInitDialog()
{
...
CSize size(1600,1200);
m_scroll_view.SetScrollSizes(MM_TEXT,size);
}
When running, the scroll bar appears, and the thumbs' sizes are right. When I'm trying to scroll,
all is ok until LButtuonUp, the thumb will go back to the start of bar then.
What's the problem?
Thanks.
modified on Friday, October 31, 2008 7:35 AM
|
|
|
|
|
I'm guessing that as you don't show it, you don't have any handlers for the WM_V/HSCROLL messages that the scroll bar produces. Add a handler for those to your dialog, and then have a look at the docs for those messages.
Iain.
|
|
|
|
|
It's my careless, I changed the base class from CWnd to CScrollView ,
but I forgot to change it in BEGIN_MESSAGE_MAP .
I'm finding a better framework than MFC.
modified on Friday, October 31, 2008 9:24 AM
|
|
|
|
|
followait wrote: I'm finding a better framework than MFC
Rajesh's remark: "Impossible.".
Carlo's remark: "Impossible to fail."
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]
|
|
|
|
|
followait wrote: I'm finding a better framework than MFC
Indeed, one that keeps you from forgetting to change the code generated by a Wizard. Yes, must find new framework, good idea. Keep up the good work!
led mike
|
|
|
|
|
Hi All
My parent dialog will open the child dialog. I would like to edit some
values in the child dialog and upon clicking the ok button, will load
the new data back to the parent dialog.Plz help me
Thanks in advance
|
|
|
|
|
See here [^].
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]
|
|
|
|
|
Thanks for help..It's working
|
|
|
|
|
MsmVc wrote: It's working
Nice to know.
MsmVc wrote: Thanks for help
You're welcome.
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]
|
|
|
|
|
hi,
i want to create a resume support file download program using socket.
it can be like i am downloading a large file and stopping it for today and want to continue tomorrow from the bytes i left.
it is like 50kb today and 50kb tomorrow.
i dont want use third party resume support programs.
and the file is in a remote http server
normally i am requesting a file like the following
GET /filename.ext HTTP1.1
Host: host.com
Connection: Close
is there a way to request a file with another protocol and not with HTTP (port 80)
because http gives a header and other decoding stuffs
and i haven't used the byte range header of a http request which could
help me do my work...
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
modified on Friday, October 31, 2008 4:07 AM
|
|
|
|
|
You can user partial content 206 rule for reading a part of a file from remote server.
The header is "Range: bytes=100-200"
which fetches 100 bytes starting from 100th byte to 199.
|
|
|
|
|
Hay genius ,
i have a small doughs for a comment line "// or /*.........*/"
i am using lot of comments line in my mfc program,its taking a long time for execution and compiling .
1, if its taking a time for compile and execution. and one more doughs
2,if the command line occupy a memory space. if not means how to compiler identify command lines.
Regard's
Mathy's
|
|
|
|
|
mathy wrote: 2,if the command line occupy a memory space. if not means how to compiler identify command lines.Confused
You mean comment line, don't you?
Regards,
Sandip.
|
|
|
|
|
mathy wrote: i am using lot of comments line in my mfc program
Good.
Don't bother about and keep commenting a lot.
BTW (just common sense observations)
- Possibly your program takes a lot of time for compiling because it is huge.
- Possibly your program executes slowly because of design inefficiency.
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]
|
|
|
|
|
The compiler never sees your comments as they are stripped out by the preprocessor.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Inoa orbix is inatalled on my machine, I am trying to compile idl file at command prompt using nmake -e, the following error appears
'nmake' is not recognized as an internal or external command,
operable program or batch file.
then I copied nmake.exe in the folder, when I try now
the below error appears.
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'cl' : return code '0x1'
Stop.
Please help
|
|
|
|
|