| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | direct video access |
PF> The following program uses VioGetPhysBuf (and can therefore only be run i PF> full-screen session) to draw a series of circles, then rotates the palet PF> produce a hypnotic effect (do not use under the influence of recreational PF> I was not able to get the program to function properly when compiled with PF> Borland/2 or Watcom 32bit (works ok Watcom 16bit). Would you mind telling me how to compile this with Watcom? I tried typing wcl gr (the file was named gr.cpp) and got the following errors: gr.cpp(95): Error! E029: (col 30) symbol 'min' has not been declared gr.cpp(120): Error! E029: (col 12) symbol 'min' has not been declared gr.cpp(183): Error! E473: (col 16) function argument(s) do not match those in pr totype gr.cpp(183): Note! N392: (col 16) 'unsigned short pascal (__far VIO16SCRLOCK)( unsigned short, unsigned char *, unsigned short )' defined in: f:\WATCOM\H\OS2\bsesub.h(672) (col 25) gr.cpp(183): Note! N643: (col 16) cannot convert argument 2 defined in: gr.cpp(183) (col 36) gr.cpp(183): Note! N630: (col 16) source conversion type is "char *" gr.cpp(183): Note! N631: (col 16) target conversion type is "unsigned char *" gr.cpp(185): Error! E166: (col 16) cannot convert right pointer to type of left operand gr.cpp(185): Note! N630: (col 16) source conversion type is "void *" gr.cpp(185): Note! N631: (col 16) target conversion type is "char *" gr.cpp(187): Error! E473: (col 13) function argument(s) do not match those in prototype gr.cpp(187): Note! N392: (col 13) 'void circles( unsigned char * )' defined in: gr.cpp(29) (col 7) gr.cpp(187): Note! N643: (col 13) cannot convert argument 1 defined in: gr.cpp(187) (col 14) gr.cpp(187): Note! N630: (col 13) source conversion type is "char * &" gr.cpp(187): Note! N631: (col 13) target conversion type is "unsigned char *" gr.cpp(191): Error! E473: (col 46) function argument(s) do not match those in prototype gr.cpp(191): Note! N392: (col 46) 'int (__far _beginthread)( void (__far * )( void __far * ), void __far *, unsigned int, void __far * )' d fined in: f:\WATCOM\H\process.h(49) (col 18) gr.cpp(191): Note! N643: (col 46) cannot convert argument 1 defined in: gr.cpp(191) (col 46) gr.cpp(191): Note! N630: (col 46) source conversion type is "void ( void * )" gr.cpp(191): Note! N631: (col 46) target conversion type is "void (__far * )( void __far * )" Thanks! *** þ ATP/OS2 1.42 þ To reveal tagline, insert quarter into Drive A: --- TriToss (tm) Professional 1.0 - #93* Origin: The Gamma Quadrant * 703-234-0108 * 28.8 V.Everything (1:2629/6.0) SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809 @PATH: 2629/6 1 3615/50 396/1 270/101 105/103 42 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.