|
I dont know why you got vote 3?
|
|
|
|
|
Doesn't matter to me. If the OP needs more info then (s)he's free to ask.
Explaining all of the basics of GDI (which is well documented) here is kind
of beyond the scope of this forum.
Cheers,
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Mark replied my question in its entirety, I don't know why someone voted 3... I didn't even know there was a voting system until Hamid said that and I figured it out. o_O
*Is voting... takes some time*
Windows Calculator told me I will die at 28.
|
|
|
|
|
Yeah you can of 1 to 5 give to someone (like 5 to me )
|
|
|
|
|
Do you like, win something with high scores?
Windows Calculator told me I will die at 28.
|
|
|
|
|
For win we need to write a good article and submit it on the codeproject.(I told you because it's first time that you are using of vote so I was thinking you start with 5
Except it I like to ask a question of you whats the meaning of your Signature I saw it already?
|
|
|
|
|
|
Lord Kixdemp wrote: Good article? Hmm... I've got a great idea in mind.
Good luck.
Lord Kixdemp wrote: Coincidence or reality? Only destiny will know
I dont like think to it I am because I can think.;)
|
|
|
|
|
Hi,
How do I generate line number information in the MAP files for C++/VC++ projects? I am using Visual C++ 2005 and could not find any option to generate such information. VC++ 6.0 had an option for generating line number information in the MAP file. This option is present on C++ tab, Debug info drop-down in VC++ 6.0
Thanks and Regards.
|
|
|
|
|
It looks like the /MAPINFO:LINES linker option has been removed starting with VS 2005.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
May I ask what you need the MAP file for? Many people are under the mistaken impression that to debug a release build you need a MAP file, whereas in reality you can just enable debug information in your release build and use your debugger (almost) as per normal.
Steve
|
|
|
|
|
Every now and then when I am looking at crash dumps from the field.... if the debugger's not helping (using a PDB), sometimes the map has a clue.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.soonr.com">SoonR Inc -- PC Power delivered to your phone</A>
|
|
|
|
|
Map files does have information at times which can be useful. More over I receive a screen shot from customers or beta testers which has just offset information. Using map files and line number information is sometimes easier to locate the crash location as discussed in some of the articles on this site.
|
|
|
|
|
In my solution I have 2 projects, a static library project and a executable project.
How do you set the entry point on the executable project to the WinMain() inside the static library?
|
|
|
|
|
In the linker/advanced properties of the project, you should be able to set
an entry point.
Remember you may be bypassing CRT library initialization if that applies.
See /ENTRY (Entry-Point Symbol)[^]
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi,
I want to make my program full screen on device, now when a device key is hit a message or a tool bar come on top and does not go. I want that message dose not come or go after few seconds.
Please help
Thanks a lot
|
|
|
|
|
Suggestion: You can use DirectX APIs to get an exclusive full screen.
|
|
|
|
|
I have to use a third-party ActiveX control in my project,it creates many classes when used in VC 6.0 and is very powerful,but in VC.NET,it creates only one class,and only a few methods,and there are many methods that we can not know the meaning by their names,such as Wrapper1(),Wrapper2()...,so I can not use the control easily,can you tell me how I can use it`s all methods,thanks very much!
|
|
|
|
|
I have picture box within dialog box.
I want to find it's location on dialog box
I used the function as
CRect myRect;
CWnd *ptr = GetDlgItem(IDC_PICTURE);
ptr->GetClientRect(&myRect);
but this gives me height and width of picture box
but i want to find the exact location of picture box
i.e. top-left coordinate of picturebox according to the dialog box client area.
Please help me for this......
Chetan
|
|
|
|
|
CRect myRect;
CWnd *ptr = GetDlgItem(IDC_PICTURE);
ptr->GetWindowRect(&rect);
ScreenToClient(&rect); Using GetWindowRect() returns the screen coordinates of the control. The ScreenToClient() call converts the screen coordinates to client coordinates, in this case relative to the dialog.
Software Zen: delete this;
|
|
|
|
|
Hi,
I recently installed VS8, but don't like it much and would like to switch back to VS6.
Is it possible to install VS8 and VS6 on the same WinXP system. Will this create any conflict?
Thanks.
Fortitudine Vincimus!
|
|
|
|
|
Tara14 wrote: Hi,
I recently installed VS8, but don't like it much and would like to switch back to VS6.
Is it possible to install VS8 and VS6 on the same WinXP system. Will this create any conflict?
Yes, it is possible. I do it without a problem. Just make sure you install VS6 first (uninstall VS8 if currently installed and then reinstall it after VS6).
John Carson
|
|
|
|
|
Thank you.
Fortitudine Vincimus!
|
|
|
|
|
as John said, yes, Both IDE can cohabit.
BTW, do you know that VC6 compiler doesn't fit to the C++ standard ?
VS2003 is far more compliant, and it's said that VS2005 respect it to about 98%.
it's up to you to use VC6 then, but you'd better used yourself to VS2005 anyways...
|
|
|
|
|
We can't blame them for not writing with Industry standard. The finalized version of Visual C++ standard was last released in 1998. I think at the time time, Microsoft released Visual C++ 98 (version 12 I think). still many people are using the same compiler and IDE as they've made up their system using this popular old compiler.
-Sarath.
"Great hopes make everything great possible" - Benjamin Franklin
|
|
|
|