register

Set global hotkeys using C#

I need to capture a key press when my program is not in focus. (ie. Ctrl+Alt+J) and trigger an event in my program. Thus far i have found this dll that appears to be the corrrect path" [DllImport("user32.dll")]private static extern int RegisterHotKey(IntPtr hwnd, int id,int fsModifiers, int vk); [DllImport("user32.dll")] private stati...

SWT: How do you register KeyUp events when no Control have focus?

Im am making an Java SWT program that is required to run on both Linux and Windows. I use the following Code to listen for KeyUp events: Control.addListener(SWT.KeyUp, new Listener() { public void handleEvent(Event arg0) { System.out.println("Event"); } }); But this does not trigger when no control has focus. Do anyone know of a...

Why is Read-Modify-Write necessary for registers on embedded systems?

I was reading http://embeddedgurus.com/embedded-bridge/2010/03/different-bit-types-in-different-registers/, which said: With read/write bits, firmware sets and clears bits when needed. It typically first reads the register, modifies the desired bit, then writes the modified value back out and I have run into that consrtuct while m...

C# Class Library wont register for COM

Hello All, I am trying to gain access to a .NET class library in Microsoft Excel. To do this I know that the .NET class library must be registered with COM. So I tried going to my Assembly Info and Setting COM Visible to true. Then on the build tab I set Register for COM Interop for true also. I checked the AssemblyInfo.cs file and it do...

MIPS $gp register

Is there a danger in using the $gp register to store a value? I guess my question is what is the true functionality of $gp and is it invoked behind-the-scenes somehow so that if I were to use it, things could go very very wrong? Thanks, Hristo ...

write data to register

i have the memory address of certain register(the address LCDCW1 is C000). c codes: #define LCDCW1 0xC000 *LCDCW1=0x31; i just want to write data to this register. The codes have problems, how to correct it? thx! ...

Quick, beginner MASM register question - DX:AX

Hello, I am currently studying for an exam I'll have on x86 assembly. I didn't have much luck googling for ":", too common of a punctuation mark :/ IDIV - Signed Integer Division Usage: IDIV src Modifies flags: (AF,CF,OF,PF,SF,ZF undefined) Signed binary division of accumulator by source. If source is a byte va...

Can I do the following with the Twitter API?

Hi, I'm looking to do the 2 following tasks automatically via the twitter API? Allow a user to provide their credentials and have their twitter account to subscribe to my website feed directly from a form on the site. Allow a user to integrate tweets from my websites twitter feed into their outgoing tweets. I'm finding it hard to fi...

Registering a dll returns 0x80020009 error

I am trying to register with regsvr32.exe the prnadmin.dll (on a Win7 target machine) but i get this error 0x80020009 Any suggestions please? ...

Unable to find or obtain a context for request certificate

I am trying to send push notification to iphone. By searching on internet i found that register the P12 file on server with winhttpcertcfg. But when I tried with this command winhttpcertcfg -g -c LOCAL_MACHINE\MY -s "CertificateName" -a "ASPNET" on command window after installing winhttpcertcfg. But I am getting the error "Unable to f...

function argument in register

Is there a way to disable passing function arguments in registers using gcc 3.3.1 for ARM? ...

Register management tips

Implementing a custom VM and I've come to use registers (these will store pointers and will be NULL when empty). But, I've come to realize that I actually have no idea how to manage register-based memory. Like, what do I do if all my registers are used up and some code wants another? Preferably, without just creating a new one. This is i...

Why is url not registered?(Drupal 6.x)

I'm using hook_menu to register new url so that accessing this url would return some data to ajax function. As title suggested, this url is not registered. How do I know that? I've tried typing this in address bar but, drupal, return main template only rather than the tests string that I created. I'm positive that my module is working fo...

Logic Circuits & Shift Registers?

Hey all, Could anyone point me to a logical diagram of, or show me how to create, a Parrallel In/Serial Out shift register that uses J-K Flip flops? I've found diagrams that use D types, but no J-K's. Any help would be greatly appreciated. Thanks. ...

Check for free domain names from a list of 5000 words

I have a list of 5000 words I would like automatically to check which ones are free as xxxx.com domain. Is there a free service to do so instead of copy/pasting thousands of times in register.com I am not searching for an automated solution to make profit of it. I need to buy a domain for myself. ...

How many registers in custom VM?

I'm designing a custom VM and am curious about how many registers I should use. Initially, I had 255, but I'm a little concerned about backing 255 pointers (a whole KB) on to the stack or heap every time I call a function, when most of them won't even be used. How many registers should I use? ...

Threads sharing Stack locations?

Hi there, I did a search but couldn't find anything. I was reading a paper that mentions thread sharing stack locations.... I wonder how and why'd that be needed. Any examples would be highly appreciated. Many thanks. ...

Registration during content creation in Drupal?

Is there an easy way to allow a user to register as he creates content type. E.g. Let's say there is a content type called "listing". When the user clicks to on a link to create it, and he's not logged in, I want a "register" box to appear ABOVE THE CONTENT CREATION area, where the user can enter his normal registration details. Is this ...

[NASM] How do I print out the content of a register in Hex

Hi, I'm currently getting started with NASM and wanted to know, how to output the contents of a register with NASM in Hexadecimal. I can output the content of eax with section .bss reg_buf: resb 4 . . . print_register: mov [reg_buf], eax mov eax, SYS_WRITE mov ebx, SYS_OUT mov ecx, reg_buf mov edx, 4 int 80...

Delphi - How to register a custom form...

Hi! D6 Prof. Because of Z-Order problem I created a new form. I want to register this custom form in Delphi, to I can use it as normal form, and to I can replace my forms with this - to avoid Z-Order problems. But I don't know, how to do it. I created the class, but how to register? How to force Delphi to show it under "New..." menu...