Re: [Dev-C++] mouse programming in DOS with assemly
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel K. O. <dan...@ya...> - 2005-08-18 18:39:46
|
Markella Krisztian wrote: > I've a code that is work with TurboC3.11 but I can not port to DevC++. > I want to program the mouse in assembly. Welcome to the real world, where we use operating systems, and everything is done through system calls. To handle the mouse directly you'll have to either do some low-level communication (using the PS/2, serial, USB ports), talk to the driver (maybe a VXD that exposes the mouse data to user-level applications), etc. If you want to just handle the cursor of a pointing device, you can do it in serveral ways, depending on what libraries you chose. With the Win32 API you can use these functions: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/cursors.asp Other libraries may give you higher levels of abstraction. --- Daniel K. O. _______________________________________________________ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ |