|
Perfect!!
Exactly what I wanted!
_____________________________
...and justice for all
APe
|
|
|
|
|
How to check whether another exe is running or not from our application???
aparajita
|
|
|
|
|
check in the task manager
|
|
|
|
|
Check out Process32First() and Process32Next() .
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
HI ,
I want to write a Generic DLL means ASP , VC++ , VB
all can use it ,
what is the way to write it. how? any sample
thanx
Regards.
|
|
|
|
|
what about browsing the cp articles about dlls?
Don't try it, just do it!
|
|
|
|
|
Hi, everyone:
Have any example about BBS color ansi code to html?
Thanks!
|
|
|
|
|
HI,
I want to check that where is the a purticuler folder
how can i chk it.
some one said use SHGetFolderPath().
will search for ir .
if a have 40GB harddisk , it will take alot of time
any easy solution
thanx
Regards.
|
|
|
|
|
zahid_ash wrote:
I want to check...
"Check" is a very ambiguous term. Do you want to check it for existence, integrity, content, or something completely different?
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
I am calling a dialog having a button "Wait", when user clicks on that button the dialog is closed using EndDialog(0); After 5 seconds again the same dialog is called. I may call this dialog more than 25 times.
so I am keep on calling this dialog using DoModal, after some times when it is called it is going to OnInitDialog fucntion and in the first line CDialog::OnInitDialog(); the system is getting crashed.
Please let me know what could be the problem. It is getting crashed after it is called for the 6th time or 24th time, dont know when it is crashing.
vidya
|
|
|
|
|
What is your code? Do you allocate memory wisely?
<italic>Work hard and a bit of luck is the key to success.
|
|
|
|
|
no i am not allocating memory.
The class for that dialog is CMessageBox. The dialog is having 4 buttons
The code is like this
CMessageBox dlg;
void somefunction()
{
for(....)
{
dlg.DoModal();
if(buttonclicked = button1) {....}
else if(buttonclicked = button2) {....}
else if(buttonclicked = button3) {....}
else if(buttonclicked = button4) {....}
}
}
The memeber functions of the CMessageBox class are
void CMessageBox::m_OnButton1()
{
buttonclicked = button1;
// TODO: Add your control notification handler code here
EndDialog(0);
}
void CMessageBox::m_OnButton2()
{
buttonclicked = button2;
// TODO: Add your control notification handler code here
EndDialog(0);
}
void CMessageBox::m_OnButton3()
{
buttonclicked = button3;
// TODO: Add your control notification handler code here
EndDialog(0);
}
void CMessageBox::m_OnButton4()
{
buttonclicked = button4;
// TODO: Add your control notification handler code here
EndDialog(0);
}
BOOL CMessageBox::OnInitDialog()
{
CDialog::OnInitDialog();
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
I am getting exception when it is returning from the OnInitDialog() function.
Please help me in this
vidya
|
|
|
|
|
Is there any way by which I can paint the background of the windows media player ocx 6.0. I get the paint and the erase background events but they dont seem to be working? any help would be grateful!!!!
harshapaul
|
|
|
|
|
Some hacking tools can inject his own codes into my process first, then subclass my windows by SetWindowsLong. If there exists any way to prevent my winodw from been subclassing? When code injecting can not be prohibited?
|
|
|
|
|
hello,
i want to develop a custom network application where one functionality will be to kill unnecessary popups (by popup i mean all the unnnessary advertisement web pages that come up along with a web page). it is some sense application level filtering.. how do i do it? i would be quite helpful if i get suggestions from u all.
|
|
|
|
|
http://www.codeproject.com/atl/PopupBlocker2.asp
|
|
|
|
|
i have checked the link and downloaded the src files....
but how do i open the project and build the executable???
|
|
|
|
|
What you want is a browser helper object (BHO).
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
OK Task Manager does not send the usual WM_CLOSE, so then does it use TerminateProcess? How can I stop the Task Manager from closing my app?
wWw.KruncherInc.cOm - My personal site, needs updating real bad lol
|
|
|
|
|
KingKruncher wrote:
How can I stop the Task Manager from closing my app?
You can't. Not without hacking task manager, anyway. Why do you need to do this?
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
Well I have two projects, both closly related, one is a trojan horse, and the other parental control.
wWw.KruncherInc.cOm
|
|
|
|
|
KingKruncher wrote:
trojan horse
You can't seriously be asking us to help you write a trojan...
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
At least he was being honest!
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
I am/was never going to release it to the public, I don't want the leagal troubles. I started it to learn how winsock works, and it just grew. Alot of what is in the trojan now I will put in the Parental Control, like the keylogger, and file viewer.
wWw.KruncherInc.cOm
|
|
|
|
|
Regardless of your motives, I doubt that anyone here would help you write such an application, for fear that other people with more sinister motives might find the tips and use them in a destructive trojan. Sorry, but you're on your own here.
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|