Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6685 | leency | 1 | /* |
2 | * Console example in C-- |
||
3 | */ |
||
4 | |||
5 | #define MEMSIZE 4096*10 |
||
6 | |||
7 | #include "../lib/obj/console.h" |
||
8 | |||
9 | void main() |
||
10 | { |
||
11 | load_dll(libConsole, #con_init, 0); |
||
12 | con_init stdcall (-1, -1, -1, -1, "Hello"); |
||
13 | con_set_flags stdcall (0x1F); |
||
14 | con_write_string stdcall ("Console test", 12); |
||
15 | con_exit stdcall (0); |
||
16 | ExitProcess(); |
||
17 | } |
||
18 |