Page 1 of 1

Application crash when call libvlc_new

Posted: 30 Jun 2014 05:16
by Magicc
When I call function libvlc_new, and the program down.

The mode is release. I use VS2010 to compile the program, OS is windows7. I get dll and lib files from vlc for windows 2.1.3.

The problem appear just under release mode. When I use debug mode it is OK.

How can I solve this problem? Should I rebuild vlc myselve?

Thanks.

Re: Application crash when call libvlc_new

Posted: 30 Jun 2014 05:19
by RSATom

Re: Application crash when call libvlc_new

Posted: 30 Jun 2014 05:33
by Magicc
Thank you very much. It works well now.

But why is that, the lib in the install packet is debug mode?

Re: Application crash when call libvlc_new

Posted: 30 Jun 2014 05:39
by RSATom
no, it's just broken.

it's conflicts with optimization in release

Re: Application crash when call libvlc_new

Posted: 30 Jun 2014 08:57
by Magicc
Thank you for your answer. It helps a lot. :D