This'll be because that thread is in a modal loop handling messages to do with the menu and so never gets the unlock message. And let's be honest, popping up a context menu on an asynchronous, non-user trigger is bad, m'kay? If the user is doing something else at the time, you're really upsetting their sense of what's happening, which is going to really going to get on their nerves...
Why not start some sort of attention seeking notification (a pulsing icon, say) when the hardware trigger comes in and let the user access the context menu when they want to. Applications that are too pushy are a PITA...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
It is an audio application. When user plugs in a jack, this application window is brought to foreground, and asks the user to choose the type of the device (PC speakers, headphone, or mic) which the user is plugging in.
Just like the way you plug in a USB disk, you see a popup dialog box for choosing something.
Of course user can decide not to choose any when it pops up the menu.
I think the reason my colleague chose to use the owner draw menu was because it could be placed at the desired position. As the example in the sample screenshot[^], it indicates the choices are for the 3rd port (the donut icon), not for the 1st and the 2nd port.
get your Oracle DBA to give you the correct tnsnames.ora settings for the server DB instance - say he gives it to you and its 'dbprod1' - paste the settings into your tnsnames.ora, then replace 'orc1' in Data Source=orcl with, for example, dbprod1, so you get Data Source=dbprod1 as the end part of ie
I am way new to cryptography. I have figured out how to decrypt an mpeg file. I now need to authenticate the images. I have a certificate embedded in the decrypted image file along with an "R" and "S". What are the steps to pull the "P" (prime) out of the embedded certificate and verify the signature? I'm on a windows xp sp3 platform using Visual Studio 2008 sp1.
Thanks for the reply. I was able to get as far as I can by using MSDN Cryptography pages. So far I havent been able to find specific instructions/examples for authenticating the images of a decrypted file.
As suggested above DeviceIOControl is needed.
In addition to that if you want to get the partition size and partition start position
you have to call IOCTL_DISK_GET_DRIVE_LAYOUT_EX([^]) as device control code then you will get the partition data.
It has structure DRIVE_LAYOUT_INFORMATION_EX([^]), which will give the required data.
GetDiskFreeSpace gives geometry of partition (total cluster,sector per cluster, sector size and free cluster).
How to get disk(PHYSICALDRIVE0,1..) size. I think GetDiskFreeSpace will not work for it
Last Visit: 25-Nov-20 13:30 Last Update: 25-Nov-20 13:30