1. Exotica Program
------=_NextPart_000_0011_01BEF916.3B6ABC00
boundary="----=_NextPart_001_0012_01BEF916.3B725D20"
------=_NextPart_001_0012_01BEF916.3B725D20
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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
------=_NextPart_001_0012_01BEF916.3B725D20
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Can someone help me with my exotica program, it is =
the=20
beginings of a graphical version of the cd player that comes with =
exotica. =20
Right now, all i want it to do though is to exit whenever someone =
presses=20
<ESC> or clicks the right mouse button. Unfortunately the =
program=20
hangs my puter every time. Any help?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>P.S. There are certain parts that load =
bitmaps. =20
Just comment those out.</FONT></DIV>
<DIV> </DIV>
------=_NextPart_001_0012_01BEF916.3B725D20--
------=_NextPart_000_0011_01BEF916.3B6ABC00
name="CDPLAY.EXW"
Content-Transfer-Encoding: quoted-printable
2. Re: Exotica Program
Hi Adam. Currently I'm at work and had a quick view at your
CDPLAY.exw. I did noticed that 'c_proc(REPORT_MODE, {1})' is
at the end of the MainLoop_Init(). REPORT_MODE needs to be
called before 'val=c_func(EXOTICA_INIT,{hwnd,hInst})'.
The EXOTICA_INIT helps intialize the REPORT debugging.
Hope this helps the freezing of your computer.
When I get home tonight, I'll check it out fully.
-- Todd Riggins
>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
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
3. Re: Exotica Program
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