Re: Exotica Program
- Posted by Todd Riggins <triggins at AIRMAIL.NET> Sep 07, 1999
- 294 views
Hi again. I debugged your program and found a bug of my own in Exotica. The GDI_TEXTOUT_CENTER function returns a value of 1 if it is successful which suppose to return a 0. My advice for now is not to error check the GDI routines until I can release the next version of Exotica. I noticed in the MainLoop() that two of the GDI_TEXTOUT_CENTER routines had the atom 'toinfo' still in them in which it looked like you meant to have the 'str' atom there. Also, when you allocated the string "CURRENT TRACK: %d", you still had the atom 'ctrack' instead of the atom 'curtrack'. And just place that REPORT_MODE routine before the EXOTICA_INIT call and everything should run fine. Hope this helps... Oh, I hope to get to see the end result of the graphical interface for it. That would be cool to see. Also I wanted to note that the next version of Exotica will have open cd door, close cd door and volume control. -- Todd Riggins > Adam Weeden wrote: > > Can someone help me with my exotica program, it is the beginings of a > graphical version of the cd player that comes with exotica. Right > now, all i want it to do though is to exit whenever someone presses > <ESC> or clicks the right mouse button. Unfortunately the program > hangs my puter every time. Any help? > > P.S. There are certain parts that load bitmaps. Just comment those > out. > > Adam Weeden