Results 1 to 5 of 5

Thread: Dev Queestion

  1. #1
    Constant Bitrate
    Join Date
    Feb 2007
    Location
    Taylorsville, UT
    Posts
    135

    Dev Queestion

    How come the folder structure in the SVN tree is such that the plugins aren't in the right folder for the solution file to pick them up automagically. How do you have your dev box setup? Should I just be copying all the plugins into there or change the reference paths? I'd hate to have to mess around with the structure every time I want to download the latest code or commit stuff.

    EDIT: And what's the story with the pfx file? I have just been excluding it so I can build for now, should I just do that?

    EDIT2: Also, I think you have forgotten to check in the app manifest file, in the Properties directory in the 'OpenMobile' project.Visual Stuidio is looking for it but it is not there.

    EDIT3: I had to change the build destination on all the plugins too, but I now have the whole thing building and it runs. And it's way late and I am way tired so that's all for now.
    -James
    Car: 2004 GTI VR6 24v Turbo 2.8L, GT35R, 630cc, Unitronic, Bosch 044, etc, etc..
    Main PC:i7 920@4Ghz, 6GB DDR3, MSI X-58 Pro-E, Win 7 x64 RTM, Scythe Mugen2, 128GB G.Skill Falcon, 2x ATI4850 512MB Crossfire, Auzentech X-Fi Forte, Grado Labs SR-80

  2. #2
    Constant Bitrate
    Join Date
    Feb 2007
    Location
    Taylorsville, UT
    Posts
    135
    BTW I also noticed a bit of a bug, in your closeRenderer method on the UI form (which I would HIGHLY suggest renaming to something like 'MainForm' as there is also a plugin DLL called UI and that is a bit confusing)

    The method initially was setup to check to see if we needed to do a control.invoke, and if so it called itself recursively using the invoke, which then would not need the invoke anymore and go down the other branch of the if tree. The only problem here is this is done inside of a for loop, meaning you sort of get some runaway recursion. Watch what happens in the debugger if you set some breakpoints, the function calls itself like 5-6 times even when only 2 forms are open (2 monitors on my system).

    I suggest the function be changed so it looks like this:

    Code:
            public static void closeRenderer()
            {
                for (int i = 0; i < Core.UICollection.Count; i++)
                {
                    if (Core.UICollection[i].InvokeRequired)
                    {
                        Core.UICollection[i].Invoke(new MethodInvoker(delegate() { Core.UICollection[i].tmrClosing.Enabled = true; }));
                    }
                    else
                    {
                        Core.UICollection[i].tmrClosing.Enabled = true;
                    }
                }
            }
    Note how we are just directly firing the other thread forms' timer directly, instead of re-calling the method. In a quick and cursory examination it didn't look like it was necessary (for something else) to be doing a recursive method call like that.

    BTW Keep up the good work, I really like the direction this app is going.

    Justin you mentioned that you wanted me to start working on a plugin, what did you have in mind?
    -James
    Car: 2004 GTI VR6 24v Turbo 2.8L, GT35R, 630cc, Unitronic, Bosch 044, etc, etc..
    Main PC:i7 920@4Ghz, 6GB DDR3, MSI X-58 Pro-E, Win 7 x64 RTM, Scythe Mugen2, 128GB G.Skill Falcon, 2x ATI4850 512MB Crossfire, Auzentech X-Fi Forte, Grado Labs SR-80

  3. #3
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    2,359
    Got busier with the holidays faster then I expected sorry I didn't get back to you sooner.

    ok: I keep the projects in separate folders and then move it to the svn directory for commit which having to test on linux has also brought me to the realization that it screws up the directory structure so i'll make sure to sort that out for the next commit. Will also see whats up with the manifest, and add it if its missing.

    As far as the pfx file, you can ignore that for now its only required for releases. The framework is signed so that it can be natively generated and installed in the gac when the program is installed. This cuts down the memory footprint a lot and even helps with startup time but its certainly not necessary for testing.

    I was pretty sure I had re-written the closeRenderer function to get rid of the invoke loop but looking at the code somehow those changes were lost. I'll make sure thats fixed up with the next commit. Theres also about half a dozen bugs picked up in the pre-release so it should be pretty solid.

    About that plugin... Un4seen development (http://www.un4seen.com/bass.html) recently gave permission to use the bass library in the project so I was thinking that might be something you would want to tackle. Take a look at the Bass.Net library and see if you would be interested in doing a Bass based Media Player plugin. If not, i have quite a few other projects you might prefer so no worries.

  4. #4
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    2,359
    SVN should be fixed now

  5. #5
    Constant Bitrate
    Join Date
    Feb 2007
    Location
    Taylorsville, UT
    Posts
    135
    Cool, I will check out the bass lib stuff. I have been away on holiday for the thanksgiving weekend but I am flying back home now so I should have some time to look into it in the next little bit here.
    -James
    Car: 2004 GTI VR6 24v Turbo 2.8L, GT35R, 630cc, Unitronic, Bosch 044, etc, etc..
    Main PC:i7 920@4Ghz, 6GB DDR3, MSI X-58 Pro-E, Win 7 x64 RTM, Scythe Mugen2, 128GB G.Skill Falcon, 2x ATI4850 512MB Crossfire, Auzentech X-Fi Forte, Grado Labs SR-80

Similar Threads

  1. Streedeck Windows 64bit DEV
    By mbkowns in forum StreetDeck
    Replies: 2
    Last Post: 01-23-2008, 07:56 AM
  2. Dev mode vs standard difference?
    By P3D4T0R in forum DigitalMods (Scripts / API)
    Replies: 3
    Last Post: 05-05-2007, 06:51 PM
  3. Vista problems, Dev and Nav
    By JT555 in forum StreetDeck
    Replies: 1
    Last Post: 03-13-2007, 07:26 AM
  4. [FRONTEND] MMC (Mobile Media Center) Dev Release
    By Bitoholic in forum Mobile Media Center
    Replies: 14
    Last Post: 09-23-2006, 10:14 AM
  5. dev status?
    By ryguy in forum Centrafuse
    Replies: 2
    Last Post: 10-05-2005, 10:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •