well, it seems like event handling is not my only problem. I followed
the MSDN article to playing mp3s with DirectShow, but it doesn't seem
like the conversion for LPCWSTR works so well. I can get the list of
files in a directory fine, but as soon as I try to play the file, HL2
just crashes. It doesn't crash instantly, sometimes, it starts to play
... then about 5 seconds later, dies. sometimes it doesn't even start
playing, just fails to do the FilterGraphBuilder->RenderFile but still
crashes out with a memory error about 5-6 seconds later. It's
thouroughly annoying =/

-Aditya

On 9/23/05, Ian Warwick <[EMAIL PROTECTED]> wrote:
> I doubt you would be able to handle WndProc messages, this would all be
> done by the engine but I could be wrong.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Aditya
> Gaddam
> Sent: 23 September 2005 02:03
> To: [email protected]
> Subject: [hlcoders] Accessing WndProc in HL2 SDK?
>
> Hi,
>
> I am trying to make an mp3 player for the mod I am part of. I have the
> DirectShow part done, except for the fact that I can't handle events.
> The only way MSDN describes handing the "I am done playing this file"
> event is by accessing the WndProc message. But I dont really see this
> anywhere in the files list? There is no real main.cpp or anything...
>
> Any help is appreciated. Also, if someone can point me to an alternative
> to DirectShow, that would be awesome too.
>
> Thanks,
> Aditya
> --
> http://www.pixelfaction.com
> AIM:ApeWithABrain
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
> ====================================================================
> FusionPeople Ltd may monitor outgoing and incoming emails and other
> telecommunications on its email and telecommunication systems.
>
>
> ====================================================================
> This email and any files transmitted with it are confidential and intended 
> solely for the use of the individual or entity to whom they are addressed. If 
> you have received this email in error you are on notice of its status. Please 
> notify us immediately by return email if you are not the intended recipient 
> and delete this message. Please note that any views or opinions presented in 
> this email are solely those of the author and do not necessarily represent 
> those of FusionPeople Ltd.
>
> FusionPeople Ltd may monitor outgoing and incoming emails and other 
> telecommunications on its email and telecommunication systems.
>
> =======================================================================
> This message has been checked for all known viruses by MessageLabs, The 
> service does not scan any password protected or encrypted attachments.  
> FusionPeople Ltd accepts no liability for any damage caused by any virus 
> transmitted by this email.
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>


--
http://www.pixelfaction.com
AIM:ApeWithABrain

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to