Hi there
I have been working on a little delphi app that uses the vlc activeX control with great success. i was using a slightly older version of the api but it was all working fin on my test machine, which is just a blank install of xp, fully updated and secured. i then came to use the app i had made on the destination machine (again an xp machine). This had the latest version of the VLC player installed on it before i started.
First problem i saw was that the applicaiton was now looking for libvlccore.dll, which it had not done on the blank machine. the only copy of the dll i could find was in the machines VLC version, so i copied it over to the same folder as my app and i can now open a file and ask it to play, however it instantly reverts to the current time of -20 seconds and the total time of minus 20 seconds. i know the video file is ok as it plays fine on my bare test machine.
I came to the conclusion that becasue a newer version of vlc was on the machine it was trying to use this, with older dll's and plugins, so i copied everything from a new install of vlc (core dll's, plugin dll's etc) and recompiled my app using this newer version of the activeX and the newer dll's and now i get a different errror!! i now get
---------------------------
appName
---------------------------
Floating point overflow.
---------------------------
OK
---------------------------
i have tracked this down to a line of code which is adding the VLC object to the form, if i add the object from the design view rather than dynamically from the code i get the error when the form is created. Anyone have any ideas???
the initial version of VLC i was using was 0.8.6.0, i am now using 1.0.3.0
Thanks in advance
Pete