how to glow a pixel in a c program

August 9, 2011 at 07:28:46
Specs: Windows 7, 512 Mb
hello everybody. I wanna glow a pixel on the output screen of c without using any function of graphics.h header file.A new function is declared which uses own concept to glow a pixel.suggestion will be appreciated.

See More: how to glow a pixel in a c program

Report •

August 9, 2011 at 07:49:22
If you don't want to use the routines supplied by the OS then you have a problem. You need to directly address the memory of the graphics card and/or its IO ports. But you can't do this from a userspace program; only the kernel can do this sort of direct access as the processor needs to run at a higher privilege level.

What you need to do is download the DDK, learn how to write a device driver, and then write one to do the job. Personally, I'd use the OS routines. I really can't think of any good reason why you would want to roll your own.

Report •

August 11, 2011 at 06:07:00
If you're just looking to avoid old Borland specific libraries, and you're programming for Windows, I suggest GDI+ or Direct2D if you're targeting Vista / Win7.

How To Ask Questions The Smart Way

Report •

Related Solutions

Ask Question