I recently came across a program that looked like a win32 program but going through the source code I came across the interrupt calls like
int 3

eventually I realised that it was a native application(the author mentioned it in the comments)

I think I know much about win32 but next to nothing about native windows applications.Are they device drivers or are they ring-0 applications(probably device drivers are ring-0 themselves).

I request to please lead me from where I could learn to write such appications.
And please explain how could we use interrupts, I thought they were obsolete and all we need to know is the api.
Posted on 2007-10-19 05:49:43 by shakuni
good start:

unfortunately it's not like it was prior to microsoft assimilation of sysinternals (example missing?)

lucky you i have it on my hdd.
Posted on 2007-10-19 07:30:58 by drizz
int 3 is often used to trigger a debugger...
You put it somewhere that you don't want your program to go, and if it ends up going there when you run it, blam, your debugger traps the execution at that point (from which you might continue it).

Posted on 2007-10-19 11:56:53 by Homer

thousand thanks to you, you don't no how much it helped me.
Posted on 2007-10-19 13:35:38 by shakuni