--- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote:
>
> > local _cd_="X:" ;; X is a cdrom drive letter

I've heard about mci strings: dodgy, I gather.  Thus doesn't work:
> > [EMAIL PROTECTED]("open "++_cd_++" type cdaudio alias cd shareable")
> > [EMAIL PROTECTED]("set cd door open notify",win.handle("c=PowerProMain"))
> > [EMAIL PROTECTED]("close cd")

but [EMAIL PROTECTED]("open cdaudio") does.

I'll need to experiment to see if the notification stuff works 
in C before I try it in pp.

> > dll.call("winmm|mciSendStringA|s ui ui ui","sCmd",0,0,CallbackWnd)

Oops, that should have crashed or at least thrown an error message.
You need one spec for each argument, _plus_ one for the return type.
Should be

dll.call("winmm|mciSendStringA|s ui ui ui ui",sCmd,0,0,CallbackWnd)

Will hunt for my error.

Note also that in context, where you're not writing back to sCmd,
you don;t have to pass in the var name, jus the var value.








Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to