Type: Posts; User: Igor Vartanov
Search took 0.22 seconds.
And? Admin mode app is running in a separate session, of course your hook won't work across session bounds. Hooks are running limited by current session desktop.
If you want a guaranteed key...
November 24th, 2014, 07:22 PM
IOCTL_DISK_GET_PARTITION_INFO_EX looks like what you need.
November 24th, 2014, 06:58 PM
As we finally found out, you don't need no dll, so your hook proc is executed directly in your process. Having that, you can make the window handle just be a global variable, or static member of your...
November 24th, 2014, 06:27 PM
You neglect reading documentation carefully. In low level hook proc lparam is a pointer to KBDLLHOOKSTRUCT.
November 24th, 2014, 06:03 PM
You understood it wrong, in this particular case. I wrote it twice, and put it the third time: Low Level Keyboard Hook. Is it so difficult to find it in MSDN?
November 24th, 2014, 03:12 PM
Sorry, but you really have to work on your skills in explaining your intentions, and this hardly has anything to do with your English. Just forget for a moment about all that mess you've piled here,...
November 24th, 2014, 02:36 PM
Once again, there's no need in dll, shared memory and the stuff. All you need is low-level keyboard hook.
PS. I don't believe that to be heard I have to post a sample code.
November 24th, 2014, 06:26 AM
I would add that having low level keyboard hook seems enough for the task, and WH_KEYBOARD_LL is not obliged to be global, which means dll is not necessary.
November 24th, 2014, 06:12 AM
It's not much entertaining to see how you do something without telling us about your ultimate goal. :)
First you talked about subclassing menu window, now you demonstrate some weird manipulations...
November 24th, 2014, 05:49 AM
Besides quota there might be another sort of limit, not that obvious one. In case the directory is a symlink pointing to a directory hosted on other physical drive, the real directory limit is the...
November 24th, 2014, 05:43 AM
There's such a thing called quota. Physical disk free space is a physical limit, but user's quota is a virtual one.
November 18th, 2014, 06:38 AM
According to the attached sample there's no issue with doubles passed to dll.
November 17th, 2014, 04:40 PM
What I could advise is just to stop fumbling with it.
The reasons are quite simple. There is no public API in Windows for direct manipulations with menu windows. Which leads to making no sense in...
November 17th, 2014, 07:54 AM
This is what your code writes:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="mystyle.css" title="Compact" type="text/css"?>
November 14th, 2014, 01:57 AM
CRecordset recset( &database );
SqlString = "SELECT PNAME FROM PROFILEMASTER WHERE PID =1";
if ( !recset.IsEOF() )
November 12th, 2014, 01:31 AM
Your main() design implies the x value is passed to func(), and it's passed uninitialized indeed. Compiler is not obliged to take into consideration the fact that your func() really makes no sense...
November 12th, 2014, 01:19 AM
You're always welcome. :)
November 10th, 2014, 04:47 AM
Not sure why would you. There's the other project that implements your design, and it's perfectly able to do with firstLib::IMember.
November 9th, 2014, 01:57 AM
As I said before, it's hard to understand what exactly you're trying to accomplish. You need to explain your idea in terms of COM, i.e. coclasses, interfaces, properties, etc. What is FirstMember?...
November 8th, 2014, 07:43 AM
Sample VS2010 solution attached. It demonstrates what we discussed here, i.e. using some activex interface inside another one.
November 8th, 2014, 03:22 AM
This is not completely clear what you're trying to accomplish, but my current understanding is that your intention is just to make use of the other ActiveX inside yours. In such case what you just...
November 7th, 2014, 05:37 AM
You need to have an image list filled in with the bitmaps. Then you need to add the imagelist to comboboxex control, and set each item with specific image index in the list.
November 1st, 2014, 03:57 AM
Maybe this is not what you think it is. The approach gives you an ability to subscribe to events from Chrome, but not to directly get the URL of already opened web page.
October 31st, 2014, 03:41 AM
Well, the program is expected to work in background until you press any key, this is what "Press any key to leave" informs you about. :)
If you want to see any events from Chrome, you need to...
October 30th, 2014, 03:04 AM
The approach works just fine, see the attached sample. However, there are lots of (null) lines produced when you refuse to filter by "Address and search bar".
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.