NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 581 582 583 584 585 … 1231 Next »
How to lose all your capture sources

 
  • 0 Vote(s) - 0 Average
How to lose all your capture sources
fla
Offline

Posting Freak

Posts: 881
Threads: 46
Joined: Mar 2006
#1
2007-03-10, 04:52 PM
I lost all of my capture sources on my developer system. After a number of tests I found that the cause was simply the presence of GBPVRBackendCommon.dll in the Plugins directory.

1) Put GBPVRBackendCommon.dll in the Plugins directory
2) Run Config.exe and look at the "Capture Sources Tab"
=No more capture sources and you crash if you try to add any
3) Remove GBPVRBackendCommon.dll from the Plugins directory
4) Run Config.exe and look at the "Capture Sources Tab"
=The capture sources are back

This explains why I couldn't add capture sources in this post fatman_do said he could in his post. The reason that dll ended up there in the first place is stated here.

Sub wouldn't it make sense for gbpvr.exe and config.exe to ignore well known dll's like GBPVRBackendCommon.dll and GBPVRPublic.dll in the plugins directory.
FirstTeamOPS
Offline

Member

Posts: 245
Threads: 21
Joined: Mar 2006
#2
2007-03-10, 04:56 PM
fla Wrote:1) Put GBPVRBackendCommon.dll in the Plugins directory

Out of curiosity, why did you put that dll in the plugins directory? I use a few plugins and have never had to move that dll and it doesn't seem like one that should be moved.

fla Wrote:Sub wouldn't it make sense for gbpvr.exe and config.exe to ignore well known dll's like GBPVRBackendCommon.dll and GBPVRPublic.dll in the plugins directory.

Anything in the plugins directory it thinks is a plugin.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#3
2007-03-10, 05:11 PM
You're not supposed to have these files in that directory. Doing it probably well lead to problems.

There are tons of other things you're not supposed to do that could also cause problems.
fla
Offline

Posting Freak

Posts: 881
Threads: 46
Joined: Mar 2006
#4
2007-03-10, 05:14 PM
FirstTeamOPS Wrote:Out of curiosity, why did you put that dll in the plugins directory?
Read initial the post. Wink
FirstTeamOPS Wrote:Anything in the plugins directory it thinks is a plugin.
If you push the open roof button on a convertible at highway speeds it makes a choice, I know for sure this will self destruct should I ignore or accept the command?

I will try to look at the various solution/project files. I'm not sure I can change the pre-post build events with visual studio express. There are dozens of project files to look at. I still think it makes sense to ignore well known dll's.
FirstTeamOPS
Offline

Member

Posts: 245
Threads: 21
Joined: Mar 2006
#5
2007-03-10, 05:35 PM
fla Wrote:Read initial the post. Wink

OK. I was under the impression you moved them and not VS. Yea, it just doesn't seem that would ever end well.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#6
2007-03-10, 06:08 PM
I'll add some special checks to not load these in the next release. Still probably not a good idea to have them there though - could always be unexpected behaviour when .net resolves dependencies.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#7
2007-03-10, 06:16 PM
fla Wrote:I will try to look at the various solution/project files. I'm not sure I can change the pre-post build events with visual studio express. There are dozens of project files to look at.
Are you saying that the project environment for XRecord uses the GB-PVR Plugins folder as the build folder?

If so, you could easily change that (obviously) to being the standard bin\Debug and bin\Release folders then use a batch file to copy 'Post build'.

I use VS2005 C# Express and this is what I'm doing with a solution I'm working on at the moment. It has 4 projects and each project is set with its own PostBuild.bat to copy the relevant binaries where I need them.

EDIT: Alternatively, right-click any external reference DLLs (such as GBPVRPublic.dll), select Properties and set 'Copy Local' to False.

Cheers,
Brian
fla
Offline

Posting Freak

Posts: 881
Threads: 46
Joined: Mar 2006
#8
2007-03-10, 09:24 PM
The output path is definitely bin/Release but from the little I know about VS Express they only allow me to see the release properties. I assume the debug properties must have "Program files/devnz/gbpvr/plugins" as the build directory. The creators of these projects obviously had non-express VS versions since I get a popup when opening certain projects about some automated tasks being a security risk "open read-only/or trust the creator of the project and open normally.

Changing the gbpvrbackendcommon.dll to non-copy local works thanks! Smile Can't really check in my Express project since I'm afraid it will have lost some professional VS settings.

How to you build in debug mode with Express? What I do is press F5 "start debugging" (which makes no sense for a dll) which generates an annoying popup error message every time. The side effect is a debug build.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#9
2007-03-11, 04:11 AM
fla Wrote:How to you build in debug mode with Express? What I do is press F5 "start debugging" (which makes no sense for a dll) which generates an annoying popup error message every time. The side effect is a debug build.
To change settings for Debug/Release...
  • Go to Tools, Options.
  • Select 'Show all settings'
  • Expand 'Projects and Solutions' and select 'General'
  • Check the box for 'Show advanced build configurations'
  • Click OK.

Go to the Build menu - you'll now have a 'Configuration Manager' option. Enjoy! Smile

Cheers,
Brian
Carlito
Offline

Posting Freak

Posts: 817
Threads: 41
Joined: May 2006
#10
2007-03-11, 07:36 AM
Seems kind of silly to me to have to put in checking not to load certain ddls just because they are well known. I wouldn't put a dll into the plugins directory unless I knew it was a plugin. Being a software developer I don't think i'd waste my time putting this kind of check in.
----------------------
[SIZE="1"]PVRX2 1.3.11
Shuttle SG33G5 Case
Core2Duo E8400 3Ghz -- 4 GB RAM
Hauppauge PVR-150
Adaptec AVC-3610 Dual Tuner
Onboard Intel GMA 3100 through HDMI -- 500GB
37" Westinghouse LCD (1920 x 1080p)

Projects
Program Image Tool[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to capture teletext subtitle to srt in "UTF-8 or Unicode"? danchoif2 0 2,463 2010-11-17, 10:55 PM
Last Post: danchoif2
  Problems after installing new capture card mikeh49 1 1,827 2010-11-02, 05:19 PM
Last Post: mikeh49
  GBPVR won't save channels in EPG After upgrading Capture Card hollow5555 15 5,785 2010-10-29, 09:13 PM
Last Post: hollow5555
  Eight Capture Sources Listed after Reboot johns996 6 2,211 2010-07-15, 06:15 PM
Last Post: johns996
  Can I use DVB card EPG with analog TV card capture? sar10538 7 2,570 2010-05-31, 09:37 AM
Last Post: sar10538
  Can GBPVR support the Dazzle DVC 101 capture device HYBRiD.BLiNG 9 3,649 2010-05-07, 04:40 AM
Last Post: HYBRiD.BLiNG
  Updating epg & deleting capture source zb1 0 1,186 2010-04-05, 09:25 PM
Last Post: zb1
  Adding new Tuner/capture card nambirajan 6 2,185 2010-03-11, 03:12 PM
Last Post: sub
  Adding capture source in config.xml? bluegirl 7 2,452 2010-03-01, 09:06 PM
Last Post: bluegirl
  HDMI capture cards luttrell1962 17 7,256 2010-02-13, 06:05 PM
Last Post: subvertbeats

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode