|
thanhvinh0906 wrote: But it's wrong.
What do you mean it's wrong ? Could you please describe your problem with more details ?
|
|
|
|
|
CRgn rgn;
rgn.CreateRoundRectRgn(left1,top1,right1,bottom1,x1,y1);
pDC->SelectClipRgn(&rgn);
pDC->RoundRect(left,top,right,bottom,x,y);
How to calculate left1, top1, right1, bottom1, x1, y1 for CreateRoundRectRgn(). if i use left1 = left, top1 = top, right1 = right, bottom1 = bottom, x1 = x, y1 = y. It doesn't bound round rectangle that i draw.
|
|
|
|
|
Whenever I plugin a usb mass driver into my pc, an autorun.inf file is creatd. When I monitored the running proccesses to determine which of them is doing so, I realized that even if I kill that process, another proccess begin to create that damn file again. I gussed there is a dll which is injected into all proccess running on my pc. Now I can't find out which module is doing all these functions ...
one more thing: anyone know umdmxfrm.dll?
Thank you masters!
|
|
|
|
|
Actually this is usually the behaviour of some Viruses.
Actually running process wont show the real process in taskmanager, example the case of ZPharaoh.exe(ZPharoah[^]).
Where you cannot even understand that which process is injecting the code.
since it destroys all the exe in the machine by infecting with itself.
Because those virus firstly dominates your registry and they remove your access to it along with msconfig and taskManager.
Your guessing is correct, if you want create a antivirus patch then just API Hook(API Hooking (LoadLibrary)[^]) the CreateProcess API to understand which all processes are created.
You have to hook those API at startup since some virus, hook the APIs before you.
umdmxfrm.dll(http://www.file.net/process/umdmxfrm.dll.html[^])
So what u can do is, use a good antivirus.
Величие не Бога может быть недооценена.
|
|
|
|
|
This board is for programming queries specific to C/C++/MFC.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Hi all,
I want to open a file on button click event of my program but i don't want to use ShellExecute. Can anybody please tell me any other api than ShellExecute
Thanks in advance
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
The advantage of using ShellExecute is that you do not need to know:
1. the file type that is being opened
2. the default application associated with the file type
Becasue ShellExecute takes care of it automatically. Is there a reason why you don't want to use ShellExecute ?
To answer your query, what type of file are you wanting to open?
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
What do you think about CreateProcess ?
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
"_$h@nky_" wrote: Can anybody please tell me any other api than ShellExecute
See here.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hi,
I am getting problem in counting attachment of a mail. Code is
_MailItemPtr pPrevMail
.
.
.
Attachments *attPtrPrev=pPrevMail->Attachments;
int nCount=attPtrPrev->Count;
|
|
|
|
|
MPTP wrote: I am getting problem in counting attachment of a mail. Code is
Define: "problem"
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
getting exception at
int nCount=attPtrPrev->Count;
|
|
|
|
|
MPTP wrote: getting exception at
What exception?
OTOH: Have you verified that attPtrPrev is a valid pointer? (May be the email didn't have any attachments at all).
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Mail has attachment and attPtrPrev is not NULL.
I track using GetLastError() but it is giving 0.
try
{
int nCount=attPtrPrev->Count;
}
catch(...)
{
DWORD d=GetLastError();
}
|
|
|
|
|
MPTP wrote: catch(...)
If you find out the exact exception instead, that might give you an idea of what is going wrong.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
|
I have a MDI project, when I close the project I'll to record the views showing sequence in order to renew, in some articles I know to use the Z-order, but I can't find more information, please help me!
|
|
|
|
|
Use GetTopWindow[^] and GetNextWindow[^] to get the Z-Order of child windows.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
hi guys, i m quite new to programming and i hav dis project i hav to submit this week, any kind of help will be deeply acknowledged,
please find the lnk below....
http://undergraduate.csse.uwa.edu.au/units/CITS1210/Project1/
|
|
|
|
|
|
well i already did that, but to no avail
plz help me out.....
|
|
|
|
|
You can of course post homework queries here. We don't care if you're a student or a professional. But people here have a tendency to offer help only if you are willing to put in efforts from your side first.
Don't expect someone to download your code from some URL, fix any and every issues with it and reply back to you. To quote a Chinese proverb, "Man who waits for roast duck to fly into mouth must wait very, very long time".
So, what is your problem, what have you tried and where are you stuck?
Drake ramore wrote: Its urgent please ... plz
PS: People hate "urgency" and SMS lingo here.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Did you fail to read this policy:
In accordance with this policy, you may discuss with other students the general principles required to understand this project, but the work you submit must be the result of your own team's effort.
I do not think that we qualify as being a part of your team. What of your partner? Is s/he willing to fail this assignment/class by not adhering to policy?
If you have a specific question about a piece of code, ask it. But don't ask others to do your work for you. I'm sure Dr. Barone would agree with this.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
DavidCrow wrote: If you have a specific question about a piece of code, ask it. But don't ask others to do your work for you. I'm sure Dr. Barone would agree with this.
Of course, Mr. David. I am in complete agreement with you.
Cheers,
Barone.
|
|
|
|
|
Hello Friends
I m creating a one dlu where I m trying to get handle of child window(ListBox of Dialog) that is defined in another dlu.
First I Get handle to main Dialog by using FindWindow as:
HWND GR=FindWindow(NULL,"Edit Group"); //Edit group is Dialog name
I m having one groupList having Id IDC_GROUPLIST.
Now I want to get Its handle.
I tried FindWindowEx as
FindWindowEx(GR,NULL,MAKEINTATOM(0x800),"ListBox");
But I m not getting the result .I m not sure abt last parameter.
M i doing right or suggest me some other solution to get cild Window handle?
Thanks & Regards
Yogesh
|
|
|
|