Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Video problem

Author
Message
Yero008
13
Years of Service
User Offline
Joined: 5th Dec 2010
Location: Romania
Posted: 19th Feb 2011 21:28 Edited at: 19th Feb 2011 21:53
Hi,
I try playing a video before my menu appears but I get this error

This is the code I'm using

What should I do?
Please help me, I'm new to this.
Many thanks!
Nevermind I solved it.
WLGfx
16
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 19th Feb 2011 23:30 Edited at: 20th Feb 2011 01:28
Just out of curiosity where did you get the video playback code from? I've had a look into various libraries and had no luck.

Just googled it now by vfw.h and it's video for windows.

I did find this which I'm looking into:

http://www.daniweb.com/forums/thread67922.html

NeHe Lesson 35 using the VFW.

Warning! May contain Nuts!
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 20th Feb 2011 02:05
PlayVideo is not a pre-defined function in some header, you need to declare/define it yourself:



(either put it above GDK entry point or anywhere else with a declaration above the GDK entry point)

Yero008
13
Years of Service
User Offline
Joined: 5th Dec 2010
Location: Romania
Posted: 20th Feb 2011 13:45
The video playback code was from one of hassan's previous posts.
My mistake was that I forgot to define the function.

Login to post a reply

Server time is: 2024-10-02 15:23:25
Your offset time is: 2024-10-02 15:23:25