|
Only thing I can think of is that F10 is usually associated with "Step Over" when debugging. You could try re-mapping that command in the IDE to some other key.
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
That's a thought that I had as well, but even when I compile it as release and run it directly from the executable without the debugger, it doesn't work.
|
|
|
|
|
Ultra short question : D.
hbmpBackground = (HBITMAP)LoadImage(NULL, (LPCSTR)Path, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE | LR_CREATEDIBSECTION);
Can I find out the size of hbmpBackground? With x Heigh in pixels?
|
|
|
|
|
<br />
BITMAP bm;<br />
GetObject(hbmpBackground,sizeof(bm),&bm);<br />
int width = bm.bmWidth;<br />
int height = bm.bmHeight;<br />
DeleteObject(hbmpBackground);<br />
Best Wishes,
-Randor (David Delaune)
|
|
|
|
|
I am in BE final year & I am required to do a project.
Friends plz help me in this & suugest me some good topics, I am not asking for any code, I just need TOPICS.
Apurv
|
|
|
|
|
There are thousands of topics on the CodeProject web site alone;
some are solved (articles), some are not solved (parts of the discussion boards).
|
|
|
|
|
How about a multithreaded game engine using a specific graphics API capable of navigating through a heightmapped terrain?
|
|
|
|
|
Don't you have a topic/thesis advisor for this? I would think that a final-year student would be well-equipped to do this sort of thing with little guidance.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
How can i get list of installed softwares on system via Registry ( in my project i mustnt use MSI)
Thank you very much
|
|
|
|
|
Look at the keys under HKLM\software\Microsoft\Windows\CurrentVersion\uninstall
|
|
|
|
|
Thank you very much , but is there a way to get datas of MSI-style installed sws ? For ex. how can i get publisher or version data from registry ?
Regards
|
|
|
|
|
Did you bother opening the registry and navigating to that hive? You have the publisher, version and all other information there.
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
There are APIs for getting that info from MSI. The APIs all start with Msi so they'll be easy to find.
|
|
|
|
|
Thank you Michael , but as you can see from my first post :
i cant use MSI in my project , it must be via registry.
|
|
|
|
|
See here.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hello all,
There is something that I'm missing in VC++2005, and I wanted to ask if it is possible or not.
In VC++6 you were able to modify one line of code and continue executing the program with that modification active... is this possible with the new VC++?
As always thank you in advance.
|
|
|
|
|
Yes, this is possible. You will have to enable "Program database for edit and continue (/ZI)" in your project options.
|
|
|
|
|
Hello,
I've gone to "Project -> properties -> Configuration properties -> C/C++ -> General -> DEBUG INFORMATION FORMAT" and I've seen that "Program Database for Edit & Continue (/ZI)" was already selected.
Do I'm missing something?
Thank you in advance for your feedback.
|
|
|
|
|
Well, question is... is it not working? What's the problem?
Try to edit the file in the middle of the program and see if it does a rebuild during execution.
|
|
|
|
|
It doesn't, it appears a messagebox that says:
---------------------------
Microsoft Visual Studio
---------------------------
This source file has changed. It no longer matches the version of the file used to build the application being debugged.
---------------------------
OK
---------------------------
And then I can see how the program pointer (the current execution line is not following the right line... So the text has changed, but the compiler doesn't know that...
Could you give me an advice?
Thank yu in advance for your feedback.
|
|
|
|
|
Hmm, sorry -- I don't know then. I've only had this behavior work for me by default, which I then disabled (from /ZI to /Zi). I don't have any other suggestions.
|
|
|
|
|
Yes, it's called edit and continue and the project has to have the right settings. I don't recall the section, but when doing debug settings it's where you set the kind of .pdb files to build.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
hi guys
anyone has any idea or know how to,
i hv a dialog based application, in tht suppose i want to bind notepad, bind mean, notepad will be inside the application and should behave as a child to my dialog, ie, u see a button or editbox they are bind to dialog n they act as a child to the app n they move with the app, same way in my app notepad has to do, move with the dialog.if i click some where out of ma app n then again click on ma app notepad should be in its place.
any idea,
thanks
|
|
|
|
|
There is a technology for that - OLE. To do what you want, first the client side (e.g. notepad) should support OLE activization/embedding. Second, your app should support the facilities of OLE controllers. As far as i know, Notepad is not an OLE client, so it cannot 'bound' (as you call) to other applications. For more details, search for 'OLE Visual Editing' in the web.
--
=====
Arman
|
|
|
|
|
Dear all
what happened when the issue occurred below? thanks.
fatal error RC1015: cannot open include file 'res\OhMyGod.rc2'.
Li Zhiyuan
30/06/2007
|
|
|
|