DVBViewer community forum: RadLight Filter Manager v1.6 - DVBViewer community forum

Jump to content

-

  • (5 Pages)
  • +
  • « First
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

RadLight Filter Manager v1.6 DirectShow Tool

#61 User is offline   Lars_MQ 

  • Administrator
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Forum Admins
  • Posts: 22,485
  • Joined: 15.April 04

Posted 18 April 2008 - 10:26

Most of the path are correctly, only the ones for moviemaker seem to be off.

It seems all filters in the quartz.dll only have "quartz.dll" without path. So you have to check in the systemfolder. I tried it with the supporttool, it does seem to work.

Quote

However, CoCreateInstance fails under XP with a path like %ProgramFiles%\DVBViewer\Filters\PushSource.ax

Why would you try that?

#62 User is offline   Griga 

  • Board Inventar
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Moderator
  • Posts: 17,373
  • Joined: 21.November 02

Posted 18 April 2008 - 11:30

Quote

Most of the path are correctly, only the ones for moviemaker seem to be off.

Maybe CoCreateInstance knows how to expand environment variables under Vista. Or the Movie Maker does it in a different way.

Quote

It seems all filters in the quartz.dll only have "quartz.dll" without path. So you have to check in the systemfolder.

I'm considering to show such entries in the RFM non-greyed, but without adding the system path, in order to prevent people from unregistering quartz.dll (at least under Vista) or ksproxy.ax. Seems MS wants to protect these files by not providing the path. However, the Navigate Button won't work either in this case.

Quote

Why would you try that?

Just for a test under XP ;)

#63 User is offline   Lars_MQ 

  • Administrator
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Forum Admins
  • Posts: 22,485
  • Joined: 15.April 04

Posted 18 April 2008 - 11:36

Quote

I'm considering to show such entries in the RFM non-greyed, but without adding the system path, in order to prevent people from unregistering quartz.dll (at least under Vista) or ksproxy.ax.

maybe a check if the file is present (just in case some user tried something really stupid) but no path. ;)

#64 User is offline   ThomasL 

  • Experienced Member
  • PipPipPip
  • Group: Senior Members
  • Posts: 261
  • Joined: 20.January 07

Posted 18 April 2008 - 18:16

View PostGriga, on Apr 17 2008, 09:33 PM, said:

It doesn't even try ;)

Someone out there who knows an API or Delphi function that resolves paths like that?





uses  ShlObj

function GetShellFolder(CSIDL: integer): string;
var
  pidl: PItemIdList;
  FolderPath: string;
  SystemFolder: Integer;
begin
  FolderPath := '';
  SystemFolder := CSIDL;
  if SUCCEEDED(SHGetSpecialFolderLocation(0, SystemFolder, pidl)) then
  begin
	SetLength(FolderPath, MAX_PATH);
	SHGetPathFromIDList(pidl, PChar(FolderPath));
	SetLength(FolderPath, lstrlen(PChar(FolderPath)));
  end;
  Result := FolderPath;
end;

(*
CSIDL_APPDATA (0x001a)
CSIDL_COMMON_APPDATA
CSIDL_COMMON_DOCUMENTS (0x002e)
CSIDL_DESKTOP (0x0000)
CSIDL_MYDOCUMENTS (0x000c) //ab Version 5.0
CSIDL_PERSONAL (0x0005)
CSIDL_PROGRAM_FILES (0x0026)
CSIDL_PROGRAM_FILES_COMMON (0x002b)
CSIDL_TEMPLATES (0x0015)
CSIDL_WINDOWS (0x0024)
Const CSIDL_MYPICTURES = $27 *)

http://msdn2.microso...y/bb762494.aspx




PS.
is Form??.Positon := poDesktopCenter;
or poScreenCenter ?

poDesktopCenter don´t work if the second screen is left

#65 User is offline   Griga 

  • Board Inventar
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Moderator
  • Posts: 17,373
  • Joined: 21.November 02

Posted 18 April 2008 - 20:39

Quote

function GetShellFolder

Thanks, but that one is not really usable, because I'm too lazy to do the parsing myself. ;) The function proposed by Lars is much better.

RadLight Filter Manager 1.6 will be released soon.

#66 User is offline   Griga 

  • Board Inventar
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Moderator
  • Posts: 17,373
  • Joined: 21.November 02

Posted 20 April 2008 - 20:54

RadLight Filter Manager v1.6 can be downloaded from the members area (source code and executable), or, since it is free and open source, by using the following links:

Executable

Delphi 7 Source Code

- Rewritten several parts by using faster and more flexible data containers (derived from TList)
- Empty categories are not shown anymore
- Added handling of environment variables in paths (Movie Maker filters under Vista)
- Added handling of filenames without path (ksproxy.ax under XP/Vista, quartz.dll under Vista)
- Essential filter files (those without path and additionally quartz.dll under XP) cannot be unregistered anymore.
- Displays a message box if admin rights are missing (e.g. for registering)
- Added Refresh, Navigate and Save Category as Text File commands to popup menu
- Added right-click selection of tree nodes
- Added hints for some buttons
- Added file version as filter subnodes and in category text files
- Larger default width/height
- Faster memory management with FastMM4
- Removed BlackList Tab (we've enjoyed this joke long enough...)

#67 User is offline   debbi 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 02.July 10

Posted 02 July 2010 - 01:34

i keep getting a codec error when trying to view domething how do i fix it?

Share this topic:


  • (5 Pages)
  • +
  • « First
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users