|
hi,
i want to know the total amount of time taken ,when control enters a funtion and leave.Is there any tool to know it.I am using visual studio 2005 professional edition.Is there any third party tool to know it.
Thanks in before
James
|
|
|
|
|
Hi
Use GetTickCount(). This might be helpful for you.
Bye
|
|
|
|
|
|
hi every one
how can i get process parent without using from PROCESSENTRY32 structure?
|
|
|
|
|
ULONG_PTR GetParentProcessId()
{
ULONG_PTR pbi[6];
ULONG ulSize = 0;
LONG (WINAPI *NtQueryInformationProcess)(HANDLE ProcessHandle, ULONG ProcessInformationClass,
PVOID ProcessInformation, ULONG ProcessInformationLength, PULONG ReturnLength);
*(FARPROC *)&NtQueryInformationProcess =
GetProcAddress(LoadLibraryA("NTDLL.DLL"), "NtQueryInformationProcess");
if(NtQueryInformationProcess){
if(NtQueryInformationProcess(GetCurrentProcess(), 0,
&pbi, sizeof(pbi), &ulSize) >= 0 && ulSize == sizeof(pbi))
return pbi[5];
}
return (ULONG_PTR)-1;
}
Napalm
Napalm
|
|
|
|
|
Salam, Good morning everyBody
I want to insert a gridCtrl to my CDialog but I don't find the control in controls menu. can you help me ?
thanks
|
|
|
|
|
Use "Insert ActiveX control" and choose GridCtrl.
OR
Use Chris' Grid Control[^]
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
|
|
|
|
|
yes I use this I"nsert ActiveX control" but I only find
- Hirarchical FlexGrid Control
- SSOLEDBGridContrl
-DataGridCtrl (this one is for data from database I don't need it)
thank's for the example,I see it but it's very advanced I want some thing for begginers
|
|
|
|
|
Hi All,
I want to remove menubar from bitmap file then want to display it.
Thanks.
There Is Nothing Right & Wrong
|
|
|
|
|
A bitmap is just an image, so what does it have to do with a menubar ??
You have to explain a lot better if you want some decent answer.
|
|
|
|
|
Hi..All
I want to remove menubar from my bitmap,
How can i overcome this probleb???
Thanks
There Is Nothing Right & Wrong
|
|
|
|
|
Hi,
I need to convert a UTF8 string to its equavalant unicode number.
For ex. for character ứ its unicode no. is 7913.
Can anybody suggest How to do that.
Regs
Vinet
Vineet Kumar Singhal
Sr.Software Engineer
Mumbai
Tough Time Never last, but Tough People do.
|
|
|
|
|
What string class are you using?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
WideCharToMultiByte()
MultiByteToWideChar()
helps to convert 1byte -> 2byte and other way round data representation things
|
|
|
|
|
Hi all
I have not found a suitable place to ask this quesion . pls excuse me if wrong :
How to delete RAS entries manually in WinXP PC ?
redindian
|
|
|
|
|
dharani wrote: RAS entries
|
|
|
|
|
Mr Intelligent
Thanks for telling me about google ...
wow ...I enter R A S and it shows me 100s of web pages .
Which page should I see now ?
Pls tell me ..I have short sight and long sight and also special sight which does not see things after 6 PM ....
redindian
|
|
|
|
|
People are not that stupid like you to have posted a question without googling. I can also see couple of your careless responses where you keep directing people to google. If you know the answer share it with them else keep your mouth shut and let others answer .
redindian
|
|
|
|
|
this is my signature... i didn't answered to you to google (if you're not that smart to figure it by yourself)
i asked you to give more precision, because you question is totally naked
oh also, as you are that smart, couldn't you simply edit your message instead of posting 2 ones at 3 minutes each
|
|
|
|
|
If you do not know what I meant by "RAS entries" its better you do not ask for clarification . Coz if a person does not have sufficient knowledge about Remote Access Server there is no use telling him about it in order to get an answer .
I hope you get the point .
redindian
|
|
|
|
|
you perfect idiot. i never intended to go against you. now, know that i won't try to answer your questions, the simpler they can be, because you seem to have some troubles to explain yourself. also, if you know the world better than anyone, how don't you know how to solve your bloody RAS problem ?
let me notify you about one thing mister "Deletion of RAS entries" ; ok, i didn't know about YOUR meaning of RAS, simply because it meant something different for me, and as i was sure at all about what it meant for you, i prefered ask for precision. and know that "Remote Access Server" is not a "must" for every applications, so, no need to know about the meaning of 3 damn letters.
now, good luck for finding someone to do your whole work without any starting information about what you already tried... you simply suck dude.
|
|
|
|
|
toxcct wrote: dharani wrote:
RAS entries
Hey tox, just google for RAS if you don't know what it is
Rage goes shelter himslef and waits for the stones
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
|
|
|
|
|
Have you tried netsh ras at a command prompt? There's all sorts of things you can do, including deleting entries.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi David
Thanks . I got it now
redindian
|
|
|
|
|
Hello to all,
I have my application developed is C++/MFC using Visual Studio 6.0. I am using a RichEdit Control (CRichEditCtrl), and this is a chat window when different users put in their chat messages.
and for some cases, i need to highlight the chat messages with the background set to RED, in case of certain special users only.
The problem i am facing here is that I am unable to set the background text to RED.
Initial code was developed using CHARFORMAT, and now I am using CHARFORMAT2.
But with this also, the background text doesnot get set.
And very surprising to note was that I was not able to set any additional parameters that are defined in CHARFORMAT2 over CHARFORMAT.
Any help would be highly appreciated.
Thanks and regards,
Anwar.
|
|
|
|