Page 1 of 1

Posted: Wed May 08, 2002 1:31 am
by BackupUser
Restored from previous forum. Originally posted by SomeOne.

...

Help me please
Thank you

Posted: Wed May 08, 2002 7:09 am
by BackupUser
Restored from previous forum. Originally posted by PB.

> Help me please

This plays an AVI in fullscreen for me... not my code, though.

Code: Select all

*Result=GlobalAlloc_(#GMEM_FIXED,256)
v$=Chr(34)+"c:\PathAndNameOfAVI.avi"+Chr(34)
If MciSendString_("open "+v$+" alias videoclip",*result,256,0)=0
  MciSendString_("play videoclip fullscreen wait",*result,256,0)
  MciSendString_("close videoclip",*result,256,0)
EndIf

PB - Registered PureBasic Coder

Posted: Thu May 09, 2002 1:33 am
by BackupUser
Restored from previous forum. Originally posted by SomeOne.

I test and run
but It's say don't know function

GlobalAlloc_ & MciSendString_ & etc,.

Help me again please

Posted: Thu May 09, 2002 1:36 am
by BackupUser
Restored from previous forum. Originally posted by El_Choni.

I think the demo doesn't allow all the API functions supported by the full version.

Bye,

El_Choni

Posted: Thu May 09, 2002 10:51 am
by BackupUser
Restored from previous forum. Originally posted by merendo.

Open a screen, load the movie, and use ScreenID() instead of WindowID(). This should work. (Should...)

Regards, merendo

We always need to hear both sides of the story (by Phil Collins)

Posted: Thu May 09, 2002 11:23 am
by BackupUser
Restored from previous forum. Originally posted by PB.

> Open a screen, load the movie, and use ScreenID() instead of WindowID().
> This should work. (Should...)

The code I posted above was all I needed to view it -- nothing else.
That is, the code above wasn't just a snippet from a larger app; it
was standalone. Just for the record.


PB - Registered PureBasic Coder