]> git.sesse.net Git - vlc/blob - activex/README.TXT
40bd005e0eb0a322591812959d546b47e4119cfe
[vlc] / activex / README.TXT
1 == ACTIVEX Control for VLC ==
2
3 The VLC ActiveX Control has been primary designed to work with Internet Explorer.
4 however it may also work with Visual Basic and/or .NET
5 Please note, that this code does not rely upon MFC/ATL, hence good compatibility
6 is not guaranteed
7
8 == Compiling ==
9
10 In order to script the ActiveX Control on Internet Explorer, a type library is required.
11 This type library is usually generated from an IDL file using Microsoft MIDL compiler.
12 However, for convenience I have checked in the output of the MIDL compiler in the
13 repository so that you will only need the MIDL compiler if you change axvlc.idl.
14 the generated files are as follow:
15
16 axvlc_idl.c
17 axvlc_idl.h
18 axvlc.tlb
19
20 To use the MIDL compiler on cygwin, you will need to set some environment variables
21 before configuring vlc. If you have a copy of 'Microsoft Visual C++ 6.0' installed,
22 the following settings are correct:
23
24 export PATH=$PATH:"/cygdrive/c/Program Files/Microsoft Visual Studio/COMMON/MSDev98/Bin":"/cygdrive/c/Program Files/Microsoft Visual Studio/VC98/Bin"
25 export INCLUDE='C:\Program Files\Microsoft Visual Studio\VC98\Include'
26 export MIDL="midl"
27
28 if you are cross-compiling on Linux, you may be able to use 'widl' which is part of
29 the WINE project (http://www.winehq.com), however I have not tested it.
30
31 == Installing ==
32
33 The ActiveX control is built as axvlc.dll, which is the only file that needs be
34 distributed and it may be installed anywhere on the target machine as long as 
35 its path is correct within the registry.
36 the necessary registry settings are stored in axvlc.reg
37
38 in order to use the plugin, you will need to VLC properly installed on your system
39 otherwise make sure that the plugin path is set in the registry as indicated below
40
41 [HKEY_LOCAL_MACHINE\Software\VideoLAN\VLC]
42 InstallDir="path\\dir\\"
43
44 regards,
45     Damien Fouilleul <Damien dot Fouilleul at laposte dot net>