why does the example on the VC++ MSDN disk show...
(in the index under __asm)
But it gets an error when you run it???
Is it because of WinXP???
Is there a way to switch to Screen mode 13 with VC++ ???
Such as...
Or is that not considered to be a 32bit Application???????
I am trying this with VC++ 6.0, Win32 Console App, empty project...
Source File included is asmtest.cpp (under Source Files in project tree)
File includes the following...
it compiles fine, but then crashes... "ASMtest.exe has encountered a problem and needs to close..."
Thanks in Advance for ANY info on this subject...
Have Fun, Be Young... Code BASIC
-Josh Stribling
Code:
// Example of the __asm keyword
__asm // __asm block
{
mov eax, 01h
int 10h
}
(in the index under __asm)
But it gets an error when you run it???
Is it because of WinXP???
Is there a way to switch to Screen mode 13 with VC++ ???
Such as...
Code:
__asm
{
mov eax, 13h
int 10h
}
Or is that not considered to be a 32bit Application???????
I am trying this with VC++ 6.0, Win32 Console App, empty project...
Source File included is asmtest.cpp (under Source Files in project tree)
File includes the following...
Code:
#include <stdio.h>
void main()
{
__asm // __asm block
{
mov eax, 13h
int 10h
}
}
it compiles fine, but then crashes... "ASMtest.exe has encountered a problem and needs to close..."
Thanks in Advance for ANY info on this subject...
Have Fun, Be Young... Code BASIC
-Josh Stribling
