|
Russell` wrote: you can't use the address of a local variable,
You can, but the value gained us useless, thats the pitty!
Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal. George Orwell, "Keep the Aspidistra Flying", Opening words
|
|
|
|
|
So, finally, it is the same of "you can't use it".
Do you agree?
Russell
|
|
|
|
|
Yeah, your right.
My brain-internal search&replace put 'get' in place of the 'use' you had written!
Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal. George Orwell, "Keep the Aspidistra Flying", Opening words
|
|
|
|
|
jhwurmbach wrote: My brain-internal search&replace put 'get' in place of the 'use' you had written!
Damned multithreading...
Russell
|
|
|
|
|
Thanks a lot for your answers.
For Q1, I have one member function like fun(), if i am creating 2 objects and calling the function, how many copies are stored in the memory:
Test t1, t2;
t1.fun();
t2.fun();
|
|
|
|
|
Why don't you suggest an answer, and from there we will be glad to help you; because now it seems we are doing all the hard work.
|
|
|
|
|
Hi,
I have to plot a graph using MFC for one of my projects.Is there any example or tutorial which explains how to do that.
Regards,
Mayank
|
|
|
|
|
The Scribble example from MSDN is possibly your best starting point. It already contains all the framework and most of the drawing code you need along with mouse interaction which you won't want at least to start with. It should be straight forwrd to adapt it to read a file of axis and point data and generate a graph. 3 hours tops
Nothing is exactly what it seems but everything with seems can be unpicked.
|
|
|
|
|
I developped a charting control some time ago. Check my sig for the link. There are some other similar controls in the same category also.
|
|
|
|
|
Hi,
I have VC 6 in my machine. I need to install the VC 2005. I have to use VC 6 for creating the release of projects. So if I install the VC 2005, will it affect the VC 6? Also will it affect the release product?
Thanks in advance.
- NS -
|
|
|
|
|
I have VC6 and VC2005 installed on my machine and I don't have any problems.
|
|
|
|
|
Thank you for the information. Since I have to do it in my office computer, I am a little bit confused about that. Someone told me that it would affect the building of projects and the release will not be reliable. He said that the dlls and/or lib of the VC 6 might be replaced by that of the VC 2005.
- NS -
|
|
|
|
|
NS17 wrote: Someone told me that it would affect the building of projects and the release will not be reliable.
|
|
|
|
|
Not you. I am sure....
- NS -
|
|
|
|
|
I have installed VC6, VC 2003 and VC 2005 on one machine. It is working fine since then.
For ease of use you better dont change the default installation settings as directories.
Greetings from Germany
|
|
|
|
|
I installed vc6 at first, then I installed vs2005, at last, I uninstalled vs2005. But the file associations with vc6 are lost (.dsw/.dsp/.c/.cpp etc.) . I don't know the principle of file association by now. Who can help me to find them. Thanks very much.
|
|
|
|
|
This happens on my machine, but I can still right click on them, choose "Open With" then choose VC6 or VS2005. I didn't do anything special to make this happen - some guru may be able to explain if it doesn't work for you.
Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."
|
|
|
|
|
If you installed VC8 on top of VC6 then the files associations in the registry will go to VC8. In order to get them back just right click and select "open with", though it would be better to just do a clean install of VC6 because you don't know what else has been messed up.
Waldermort
|
|
|
|
|
i want to post message from one dialog to another dialog
|
|
|
|
|
If your dialogs have a parent child relationship where one know about the window handle of the other then the chances are you want to look at WM_NOTIFY. If not or you're doing something way out like multiple UI threads then you'll need to post a lot more details.
Nothing is exactly what it seems but everything with seems can be unpicked.
|
|
|
|
|
Cant you use PostMessage API?
- NS -
|
|
|
|
|
bhogavalli suresh wrote: i want to post message from one dialog to another dialog
Ok, so what's the problem?
"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
|
|
|
|
|
ANy can help me for postmessage and send message ,how to prcessed with it
|
|
|
|
|
You can use PreTranslateMessage to process they...
Russell
|
|
|
|
|
bhogavalli suresh wrote: how to prcessed with it
Means!!!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|