Page 3 of 3

Re: VLC for HMG

Posted: Sun May 02, 2021 10:19 am
by AUGE_OHR
chrisjx2002 wrote: Sun May 02, 2021 8:13 am I uninstall and reinstall vlc. Always the same problem. I take a look in the registry and I find :

Ordinateur\HKEY_CLASSES_ROOT\TypeLib\{DF2BBE39-40A8-433B-A279-073F48DA94B6}\1.0\0\win64
Not the same as yours.
you show me your "TypeLib" but i like to see "CLSID" and "ProgID"
Computer\HKEY_CLASSES_ROOT\CLSID\{9BE31822-FDAD-461B-AD51-BE1D1C159921}\ProgID
so search for 9BE31822-FDAD-461B-AD51-BE1D1C159921
VLC_CLSID.JPG
VLC_CLSID.JPG (49.5 KiB) Viewed 6163 times
---

which VLC Version did you install :?:
have you "check" Option AciveX & WebPlugin when Install VLC :?:

older x64 IMHO did not work but that Version 3.0.13 ( 3.0.12 ) did work for me under 64 Bit

Re: VLC for HMG

Posted: Mon May 03, 2021 4:45 pm
by chrisjx2002
Hello,

I search for search for 9BE31822-FDAD-461B-AD51-BE1D1C159921. And I find it.

But I have always the same problem. The VLC version is the one you have 3.0.12. I am working with windows 10 64 bits last update.

There is a problem with PLAYLIST

Re: VLC for HMG

Posted: Mon May 03, 2021 9:06 pm
by AUGE_OHR
hi,
chrisjx2002 wrote: Mon May 03, 2021 4:45 pm I search for search for 9BE31822-FDAD-461B-AD51-BE1D1C159921. And I find it.

But I have always the same problem. The VLC version is the one you have 3.0.12. I am working with windows 10 64 bits last update.

There is a problem with PLAYLIST
your last Snapshot is what i mean.
it looks all OK ... hm

can you "open" Registry Tree of last Snapshot to see what is in "ProgID"

---

Line 282 show this

Code: Select all

      ::oPlaylist := oControl:playlist
IMHO it does not work while oControl fail, not :playlist
i guess ActiveX is not create ... hm

try this

Code: Select all

      ::oControl := oControl
      IF EMPTY(oControl)
         MsgInfo("VLC not correct installed")
         QUIT 
      ENDIF
      ::oPlaylist := oControl:playlist
---

in Source Code you can change

Code: Select all

"VideoLAN.VLCPlugin.2"
to

Code: Select all

"{9BE31822-FDAD-461B-AD51-BE1D1C159921}"
and try it again

---

did 32 bit Version work :?:

Re: VLC for HMG

Posted: Tue May 04, 2021 8:22 am
by chrisjx2002
Hi,

I try again.

With 32 bit version it works!

With 64 bits always problem. I try with "{9BE31822-FDAD-461B-AD51-BE1D1C159921}"instead of "VideoLAN.VLCPlugin.2". Same problem.

When I change the code, I have not the message "VLC not correct installed" but the same error. See screnshot.

I search the progid in regedit. See screenshot.

Re: VLC for HMG

Posted: Tue May 04, 2021 9:54 am
by AUGE_OHR
hi,
chrisjx2002 wrote: Tue May 04, 2021 8:22 am With 32 bit version it works!

With 64 bits always problem. I try with "{9BE31822-FDAD-461B-AD51-BE1D1C159921}"instead of "VideoLAN.VLCPlugin.2". Same problem.
mystery ... 32 Bit is working and 64 Registry "seem" OK but does not work ... :o

try to change

Code: Select all

      IF EMPTY(oControl)
         MsgInfo("VLC not correct installed")
         QUIT 
      ENDIF
into

Code: Select all

      IF VALTYPE(oControl) <> "O"
         MsgInfo("VLC Object was not create")
         QUIT 
      ENDIF
if you now get MsgInfo() than ACTIVEX Object was not create ... but i don´t know why :(

... ANSI or UNICODE IDE

Re: VLC for HMG

Posted: Tue May 04, 2021 4:05 pm
by chrisjx2002
Hi,

I made the test. I don't have the msginfo but the same error. Very strange.

Re: VLC for HMG

Posted: Tue May 04, 2021 5:52 pm
by andyglezl
Aquí, solo probando...
No tengo instalado el VLC !. (Win10/64)
*------------------------------------
Here, just testing ...
I don't have VLC installed !. (Win10/64)

Re: VLC for HMG

Posted: Wed May 05, 2021 12:18 pm
by chrisjx2002
Hi,

I have perhaps found the problem. I compile with hmg 32 bits and not 64 bits. It is probably why it does not work.

Re: VLC for HMG

Posted: Wed May 05, 2021 5:14 pm
by chrisjx2002
Got it! It was a problem of 64 bits compilation. Now it works!

Re: VLC for HMG

Posted: Thu May 06, 2021 2:39 am
by AUGE_OHR
chrisjx2002 wrote: Wed May 05, 2021 12:18 pm I have perhaps found the problem. I compile with hmg 32 bits and not 64 bits. It is probably why it does not work.
that can be the Problem when try to use 64 Bit Component with 32 Bit :D