Is there no possible way to send interrupt in VC
Is there no possible way to send interrupt in VC
Software is like sex it is good when it is free
Is there no possible way to ask a question, clearly, and provide enough info for someone to answer you helpfully, without assuming the reader can read minds?
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.
in VC
when ever i do
__asm{
INT 10h
};
Programm craches ....
Is there a way to send interrupt without making programme crash.
Software is like sex it is good when it is free
It's not VC...it's windows. VC produces "proper" 32bit programs...and those programs arent allowed to call most interupts while in protected (user) mode. So find another way to do what you want and forget the old shortcuts
but if a compile a programme under Turbo C++ 3.0 and the send some interrupt it will not crash even on windows, why?
Software is like sex it is good when it is free
>>It's not VC...it's windows. VC produces "proper" 32bit programs...and those programs arent allowed to call most interupts while in protected (user) mode.Originally Posted by cfrost
From what I remember, Turbo C++ 3.0 produces 16bit programs, which do not run in protected mode, meaning that they can call interrupts.
Environment: OS X, GCC / G++
Codes: Java, C#, C/C++
AOL IM: neandrake, Email: neandrake (at) gmail (dot) com
They run in an emulation mode...so often, they dont call interutps either; they just seem to do so.Originally Posted by neandrake
From my experience, unless you are dealing with the lower level elements of the system, you dont need interupts. You are just trying to use a shortcut for a facility that will already be available with WINAPI...so start reading MSDN!