June 30, 2006
llee wrote:
> In article <e7sa56$3qb$1@digitaldaemon.com>, Frits van Bommel says...
>> This should compile:
>>
>> void main()
>> {
>>     long interrupt_code;
>>     asm
>>     {
>>         mov AH, interrupt_code ;
>>         int 0x21               ;
>>     }
>> }
>>
> The same error results.

I tried it, and it compiles correctly. However, it won't run because Win32 programs cannot execute interrupt instructions.
1 2
Next ›   Last »