Working TestApp: HowTo? (1 Viewer)

Rara Avis

Portal Pro
April 9, 2009
120
9
Hello!

Anybody succeeded in compiling TestApp without errors and seen it working?

Mine (both 1.0.2 and latest SVN) responds with
"...\trunk\TvEngine3\TVLibrary\TestApp\Form1.cs(30,42): error CS1729: 'TvLibrary.Implementations.TvCardCollection' does not contain a constructor that takes '0' arguments"

Playing with dummy parameter to get rid of this error and build .exe - still no luck.
TestApp.exe crashes from the beginning, no forms appear on screen.

Any ideas?


...Desperately searching working simple example :) to start with...


Dmitry
 

testapp

New Member
February 5, 2011
1
0
Home Country
Poland Poland
The same results here - TestApp firstly failed to compile, then after resolving many code issues - failed to work. Anybody ever seen working TestApp? :confused:

My steps (VS 2010)
- need to update TVLibrary project files to VS2010 (auto)
- add reference to DirectShowLib for TestApp
- replace few Release.ComObject with Marshal.ReleaseComObject (mainly in player.cs)
- comment out line _channel.SymbolRate = -1; from FormATSCChannel.cs
- add fake static IEpgEvents element to get able to run TvCardCollection

This gave ability to build TestApp, which anyhow failed to run, so I start debugging. Errors pointed to Gentle.NET, which missing Gentle.Provider.MySQL.dll and Gentle.Provider.SQLServer.dll. I've build Gentle.NET from Common-MP-TVE3\External\Gentle.NET and create gentle.config - now TestApp gives error about no connection to database (by Gentle.NET), so it looks like that I will have to install (big and ugly) SQLExpress which also won't give any guaranty that TestApp will ever work...

Anybody succeeded with this? Please help...
 

gfmoore

Portal Member
May 15, 2011
28
0
Stoke-on-Trent
Home Country
United Kingdom United Kingdom
Yes, I am unable to get TestApp to work at the moment as well with the same issues as above.

If it doesn't even compile it shouldn't be in the repository! Could someone please remove it and save others the hassle, or even better get it compiling :)

Edit: sorry this seems a little harsh in tone. I guess it's just a little annoying when you spend time trying to figure out why something doesn't work and then find no-one else can get it working either. My apologies if the tone caused any offence.
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    I can make it compile, but I have no idea how useful it actually is - I've certainly never used it. Anybody else in the team actually used it?

    [Edit: wow, seems like it really doesn't work at all. Exceptions thrown left, right and centre...:(]
     

    CodeMonkey

    Portal Pro
    December 8, 2004
    360
    30
    North America
    Home Country
    United States of America United States of America
    I just turned off that project altogether in the solution.
    There is something called MPTvClient in the tools SVN that might work better (or at all).
     

    mattjcurry

    Retired Team Member
  • Premium Supporter
  • October 24, 2011
    261
    207
    44
    Just ran into this. Thanks for the helpful post. Should it be removed from Git or Fixed so that Master always gives a clean compile?
     

    Users who are viewing this thread

    Top Bottom