Page 1 of 1

Windows8.1 ActiveX dll issues

Posted: 11 Feb 2014 06:48
by zhuchenyang
I compiled VLC2.2.0(32bit) with mingw-w64 in ubuntu.
vlc.exe runs OK, but when I use libvlc to write my ocx I got some errors:

Code: Select all

core libvlc debug: VLC media player - 2.2.0-git Weatherwax core libvlc debug: Copyright ? 1996-2014 the VideoLAN team core libvlc debug: revision 2.1.0-git-2003-g49235e2 core libvlc debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--disable-dirac' '--disable-lua' '--host=i686-w64-mingw32' '--enable-debug' 'host_alias=i686-w64-mingw32' core libvlc debug: using multimedia timers as clock source core libvlc debug: min period: 1 ms, max period: 1000000 ms core libvlc debug: searching plug-in modules core libvlc debug: loading plugins cache file E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\plugins.dat core libvlc debug: recursively browsing `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins' core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\access\libdshow_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\access\libdtv_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\access\liblive555_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\audio_filter\libspatializer_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\codec\libx265_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\demux\libgme_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\demux\libmkv_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\demux\libmod_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\demux\libsid_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\gui\libqt4_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\gui\libskins2_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\meta_engine\libtaglib_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\services_discovery\libupnp_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\stream_filter\libdash_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\stream_out\libstream_out_chromaprint_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\video_filter\libatmo_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\video_filter\libblend_plugin.dll' (The specified module could not be found. (error 126)) core libvlc warning: cannot load module `E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\visualization\libprojectm_plugin.dll' (The specified module could not be found. (error 126)) core libvlc debug: saving plugins cache E:\VLC\SourceCode\Windows\SelfCompiledDllTest\Release\plugins\plugins.dat core libvlc debug: plug-ins loaded: 362 modules core libvlc debug: translation test: code is "C" core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU core input debug: Creating an input for 'rtsp://218.204.223.237:554/live/1/6D1E43167B3A7BDA/oby9efo80duh9bjf.sdp' core input debug: using timeshift granularity of 50 MiB, in path 'C:\Users\ZHUCHE~1\AppData\Local\Temp' core input debug: `rtsp://218.204.223.237:554/live/1/6D1E43167B3A7BDA/oby9efo80duh9bjf.sdp' gives access `rtsp' demux `' path `218.204.223.237:554/live/1/6D1E43167B3A7BDA/oby9efo80duh9bjf.sdp' core input debug: creating demux: access='rtsp' demux='' location='218.204.223.237:554/live/1/6D1E43167B3A7BDA/oby9efo80duh9bjf.sdp' file='\\218.204.223.237:554\live\1\6D1E43167B3A7BDA\oby9efo80duh9bjf.sdp' core demux debug: looking for access_demux module matching "rtsp": 10 candidates core demux debug: no access_demux modules matched core input debug: creating access 'rtsp' location='218.204.223.237:554/live/1/6D1E43167B3A7BDA/oby9efo80duh9bjf.sdp', path='\\218.204.223.237:554\live\1\6D1E43167B3A7BDA\oby9efo80duh9bjf.sdp' core access debug: looking for access module matching "rtsp": 17 candidates core access debug: net: connecting to 218.204.223.237 port 554 core access debug: connection succeeded (socket = 1880) access_realrtsp access debug: rtsp connected access_realrtsp access warning: only real/helix rtsp servers supported for now core access debug: no access modules matched core input error: open of `rtsp://218.204.223.237:554/live/1/6D1E43167B3A7BDA/oby9efo80duh9bjf.sdp' failed core input error: Your input can't be opened core input error: VLC is unable to open the MRL 'rtsp://218.204.223.237:554/live/1/6D1E43167B3A7BDA/oby9efo80duh9bjf.sdp'. Check the log for details. core input debug: Destroying the input for 'rtsp://218.204.223.237:554/live/1/6D1E43167B3A7BDA/oby9efo80duh9bjf.sdp' core libvlc debug: removing all interfaces core libvlc debug: exiting core libvlc debug: no exit handler
I have already done some efforts on this problem with Dependency Walker. I've Added system32/downlevel to my PATH to reduce some errors.
Image

All of my dlls and plugins were copied from vlc-2.2.0-git which could run with no problem at all!!
Besides, my OS is windows 8.1 and I use Visual Studio 2012(update 4).

Re: Windows8.1 ActiveX dll issues

Posted: 11 Feb 2014 06:50
by zhuchenyang
Sorry, you can see my screenshot of dependecy walker here : https://www.dropbox.com/s/luf1607c9upwa ... %8E%B7.PNG

Re: Windows8.1 ActiveX dll issues

Posted: 11 Feb 2014 07:07
by zhuchenyang
API-MS-WIN-CORE-KERNEL32-PRIVATE-L1-1-1.DLL
API-MS-WIN-CORE-PRIVATEPROFILE-L1-1-1.DLL
API-MS-WIN-SERVICE-PRIVATE-L1-1-1.DLL
API-MS-WIN-CORE-SHUTDOWN-L1-1-1.DLL
EXT-MS-WIN-NTUSER-UICONTEXT-EXT-L1-1-0.DLL
IESHIMS.DLL

Dependency Walker told that above dll's could not be loaded.

Re: Windows8.1 ActiveX dll issues

Posted: 11 Feb 2014 09:45
by zhuchenyang
This problem happens in win8.1 64bit and win7 64bit, but not in win7 32bit.

Re: Windows8.1 ActiveX dll issues

Posted: 11 Feb 2014 17:51
by Jean-Baptiste Kempf
The compilation is incomplete. Use Linux for Xcompilation.