There are no comments here on this site.
@zvoni - Phew, at least now I know I'm not crazy ;D
BTW Do you remember what OS you used?
What "text" did you search for?
So it's not a Windows thing.
Are you saying that a compiled program will run standalone, but not in the IDE?
I can't use PasLibVlc in the IDE. When I run the exe out of the IDE all is OK.
QuoteAre you saying that a compiled program will run standalone, but not in the IDE?
Exactly, as mentioned in the opening postQuoteI can't use PasLibVlc in the IDE. When I run the exe out of the IDE all is OK.
with or without debugger.
The problem is it is unresponsive at design time.
When I try to start another video, I have maybe a 30% chance of it freezing. (maybe my code misses something...)
When I stop the current video first and wait a bit, before starting the next, its works.
The problem occurs with the debugger on or off (Project options > Debugging > Generate info for debugger)
The problem occurs with the debugger on or off (Project options > Debugging > Generate info for debugger)
Irrelevant. What I asked earlier was whether it ran from inside the IDE without using the debugger, i.e. Run -> Run without Debugging.
Not having the debugging symbols simply means that the debugger can't do much useful, not that the debugger isn't between the OS and the program.
Right, well spotted. Debug info off, is still a debugger running. Windows still will interrupt the exe to tell the debugger about various events: exceptions, dll load/unload, threads/processes start/stop, ...
However, if my guess (timing) is right, gdbserver might still help. Gdb reports to the IDE via pipes, that takes time (especially on Win). GdbServer talks to gdb over tcp. That may or may not make a difference.
So far I've tried MarkMLI's, and the program still doesn't play videos.
I've just checked that with program using the LCL etc., and also with he main VLC binary without obvious problems although I didn't go looking for a file to play.
I can't use PasLibVlc in the IDE. When I run the exe out of the IDE all is OK.
This goes for the demo apps or my own.
Is there a setting I am missing?
Both VLC and PasLibVlc are the latest versions.
I noted that it is extremely difficult to debug a application that deals with audio (or video + audio).
This because debugging "eats" latency with his analysis and so disturbs the flow of samples to sound card.