|
No... it helps only to get the flags
|
|
|
|
|
What is the reason that, you need to know the HANDLE type?
Can u mention scenario that pushed u to get the HANDLE type for further checking.
Величие не Бога может быть недооценена.
|
|
|
|
|
Oh... actually i want to enumerate the open handles in a process and show their types (Just as in our process explorer).
|
|
|
|
|
Just have a look with this article [^]
Величие не Бога может быть недооценена.
|
|
|
|
|
Hi,
If the handle is to a GDI object then you can use the GetObjectType Function[^] to retrieve the type. If the handle is to a kernel object such as process, thread, Mutex ect... then you can use the NtQueryObject Function[^] with ObjectTypeInformation information class.
Best Wishes,
-David Delaune
|
|
|
|
|
Excellent! I learn something new here every day.
I was wondering if it were going to be some esoteric NT... or ZW... function call.
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
OK..thanks...let me try...
|
|
|
|
|
I problem with delete file,folder
My USB have virus.I scan & clear it.Some file when I delete then messagebox:”can’t remove folder:the file or directory is corrupted & unrreadable.I can’t delete file”.
Some folder delete then messagebox,too.
I can write program delete this file,folder ?
Thanks.
Tuan_KD ,College 8,Vietnam.
|
|
|
|
|
I think you'll better find a tool to erase the files and folders.
Google is your friend.
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.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
|
If the OP has the same type of virus I picked up, formatting the USB stick will not help - the virus (which was already on the hard disk from some previous dirty USB stick) just puts the infection back.
The company antivirus (McAfee IIRC) could detect the virus on the USB stick, but it ignored the hard disk infection. In the end, I restarted Windows in safe mode, and deleted the offending file and directory on the hard disk and on the USB stick.
|
|
|
|
|
If the directory is corrupted and unreadable, then chances are bleak that your program will delete it. You could try to format the drive (that's assuming there are no bad sectors).
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
Do you have access to Linux, Ubuntu, or some other distribution? That might help.
"One man's wage rise is another man's price increase." - Harold Wilson
"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
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
Hi Friends
How can i create a program that will run in windows taskbar region like Windows Mediaplayer minimized to task bar
kk
-kk.tvm-
|
|
|
|
|
|
this is not what he asked for!
Anybody please know how to do it, please answer.
I have also the same requirement.
Please help us.
|
|
|
|
|
|
Hi
what i mean is
A program which will show in taskbar area NOT in system tray like Windows mediaplayer will show a small window in task bar area when minimized.
thanks in advance
kk
-kk.tvm-
|
|
|
|
|
Give a bit more details about what exactly you are trying to do, please.
The taskbar has different areas, in a nutshell: start menu button, quick launch buttons, applications, notification area (also called 'system tray' on MSDN). The last is where programs running in the background can add an icon and programatically change it on runtime, e.g. Winamp, Vuze or instant messengers. Is there anything else... maybe you can show a screenshot or link.
/Moak
|
|
|
|
|
We hope you are a normal windows user.
Otherwise no need to participate in such forums.
No need of screenshot to understand the question.
Hope you have seen the media player option in Taskbar(Right click on task bar ->Toolbar->Media player )
check that option and start a media player and minimize the window
|
|
|
|
|
Cvaji wrote: We hope you are a normal windows user.
No I am actually a pizza baker at Microsoft.
Cvaji wrote: Otherwise no need to participate in such forums.
I quite enjoy helping people, you should try it once.
Cvaji wrote: No need of screenshot to understand the question.
It will be hard for anyone to help people who are unwilling to communicate or describe what they are looking for. You are not making friends by barking at people who are trying to help in their free time. Could you please be so kind and let us now help user kk.tvm with his original question?
/M
|
|
|
|
|
I was helping by not providing the wrong information
|
|
|
|
|
those are implemented as dockable windows called DeskBands. I didn't dig much into it. See here.
In Win7, better to use a taskbar button with a thumbnail toolbar, as Deskbands are no longer recommended. From Vista onwards there is a ITrayDeskBand Interface
Do CoCreateInstance on this interface, call ShowDeskBand() with CLSID of toolbar which you create to show on task bar.
Please let us no how how you are acheiving the task
|
|
|
|
|
hi i am using Visual C++ 2005 setup. if i installed the setup then it showing error i posted below.The error is only in Setup,if i execute the application using VC++ 2005 wizard it is working.
Microsoft Visual C++ Runtime Library
Runtime Error!
c:program Files\myapp.exe
"This application has requested the Runtime to terminate it in unusual way.
Please contact the application's support team for more information".
Please help how it can be fixed.
|
|
|
|
|
Hello Friends
I am creating a application on 32bit OS.but now I want to run that application 64bit native OS not on WOW64(that is 32bit compatible).
To do that I updated 64 bit compiler on my 32 bit machine which is having 32 bit OS.Through Configuration Manager i made following changes:
1)I added x64 new active solution platform.
After that i recieve that Error:
error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
And after this I googled And tried all these things:
1)First i searched on code Project and found one thread discussing abt same but no result.
2)After setting x64 new platform In Configuration Properties,linker,advanced,target machine was Machinex64 and I tried by changing to x86 and not set also.
3)I tried by removing additional option from command line under Linker which is under configuration Properties.
And After that I tried all these things on 64bit OS with 64bit machinr but same error.
please Give me some Ideas.
Any Help will be appreciated.
Thanks & Regards
Yogesh Sikri
modified on Monday, March 29, 2010 6:53 AM
|
|
|
|