|
The code that I tried in my previous reply seems to be working now. I don't know why now but I know that it didn't work until I clicked "Layout/Test" in the Dialog Editor for that form, where the form worked just fine. I wish I knew what the problem was. If you can help me find out why it's doing that, I'd be thankful, but if not then I can use what I just got working.
Thanks David
|
|
|
|
|
Hi,
I have working on a monitoring application which has to spawn another application and monitor it to if the application crashes or hangs or sleeps during its life time, restart the application again, it should monitor the application for 72 hours, I was looking to almost all articles and some like createProcessEx was good but I don't know why it doesn't work for me, my application gets sleepy after a while and doesn't come back to the parent process, how can I find out that?
I have WaitforSingleObject and getExitCode but it doesn't come back to parent process, it just sleep somewhere
Is there anyone who can help me in that matter? I will appreciate that
Coral
|
|
|
|
|
So you have application A that will start application B using CreateProcessEx() . Application A will wait on application B to finish using WaitForSingleObject() . Is that correct so far? When application B finishes (both normally and abnormally), what, if anything, does application A do?
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
When I bring upp my open file dialog I get int 3 error,
At the same time I have a timer that make some things with a interval of 1 sec. If I kill the timer I can bring up the open file dialog but when a open the file I get the same error int 3. What Im I doing wrong?
Way do I get that error?
Please help me.
|
|
|
|
|
Hi,
I've to enter characters in 1 edit box.
I need to get character by character for each click of the control button in another edit box.
How is it possible?
Pls help.
Mithuna
|
|
|
|
|
char text[1024],set[1024];
GetDlgItemText(hdlg,IDC_EDIT1,text,sizeof(text));
strcpy(set,text[1]);
for (int i=1; i
|
|
|
|
|
Set up a EN_SELCHANGE handler function for the first edit control. In that handler function, add characters to the second edit control.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Hello Friends,
Do anybody have an idea where can we download VC++ Decompliers. My friend has send some .exe file, and the program has been written in VC++ only. I want to decompile so that I can get an idea about the program.
Thank you
Neelesh J Jain.
|
|
|
|
|
you cannot decompile an executable to a human readable format, the BEST you can have is a very partial view of one small part of a method somewhere in assembler.
you will have something like, oh, here the original compiler decided to put some value in a register, and check it and branch somewhere to anther adress, and mult with the value pointed by the memory adress offseted by another registry value ...
me think it's useless...
the best to get an idea about a program is to go about it the other way ... start from higher level, how did the programmer do to make such and such optimal feature.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
Maximilien wrote:
you cannot decompile an executable to a human readable format, the BEST you can have is a very partial view of one small part of a method somewhere in assembler.
I used to think the same thing, until this thread came along.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Dear Neelesh,
Im also looking for similar decompiler. My friend Bill Gates has given me a copy of his program [windows xp professional] for a nice price, which was written using VC++ compiler. If anyone can give me a VC++ decompiler i could see the source of Windows XP and learn it more easily.
There is no spoon.
mail
|
|
|
|
|
does any one have an optimized code or algorithm to search the Registry
|
|
|
|
|
if you hae the full key name ( e.g. HKEY_CURENT_USER/... ) you need to go to the deepest common root, and brute search from there; otherwise, I think it's brute force search with the usual registry API.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
iam making a registry back up program
where i want to find an algorithm or function to get my item by item from the registry files till the end of the files .
assumption that i dont know the name of the keys .
like what happen when you search the hard disk using "*.*"
i want the same effect on the registers.
if you know any way send me please
thank you
|
|
|
|
|
|
Hi all,
i am new in vc+.
I would like to know that how to Data transfer from one dialog to another dialog in mfc.
rajesh
|
|
|
|
|
many ways are there like sending message with parameter as required data etc.
one direct way is
dlg_Two.data1 = dlg_One.data1;
There is no spoon.
mail
|
|
|
|
|
I would like to explain my problem.
I made two dialog boxes(dlg1 and dlg2). dlg1 contains one text box and one command button (Click).dlg2 contains only one text box for display value.
I want to do that,when I press the Click button then dlg2 should be called and displayed the value of text1 of dlg1 in textbox of dlg2.
How to do that?
rajesh
|
|
|
|
|
CDlg1::OnBtnClick()
{
CDlg2 dlg;
GetDlgItem(ID_TXTBOX)->GetWindowText(dlg.m_sTxt1);
//make sure to associate "m_sTxt1" to the corresponding textbox inside CDlg2.
dlg.Domodal();
}
There is no spoon.
mail
|
|
|
|
|
how to get the push button coloured and bitmaps in button in dialog boxes
|
|
|
|
|
If you look here http://www.codeproject.com/buttonctrl/[^]
There are loads of examples of button controls. You may need to take code from a couple of sources in order to achieve what you want but it is all there.
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Williams (Little Britain)
|
|
|
|
|
dear all,
i want to know whether POSITION of a element in a CList will be the same or not after below operation.(so that, i can get back target element after these operation)
first i saved POSITION of a element in CList.
then, i do below operation.
1. insert new element b4 target element.
2. delete element b4 target element.
3. insert new element after target element.
4. delete element after target element.
anyone can help?
thanks,
jim
|
|
|
|
|
Hi all,
Any one know how to know the type of the fixed disk, whether it is IDE or SCSI ?
If any one knows how reply quickly plz
Note:
I don't want to use WMI...
Thanx
Ahmad
|
|
|
|
|
I don't know of a way. I don't even know a place where Windows reports the drive's interface. Applications typically don't care about such low-level details.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
please help me to write a service prg with dependencies.
i have written two window service .. which run properly.
but when i try to link the first service with other one .. it arise an error 1083
i have given the name of the "second service " has my dependence in create service();
what else i have to do ???????
please send me sample program ....
sowmya
|
|
|
|