Announcement

Collapse
No announcement yet.

The embbed program cannot start

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • The embbed program cannot start

    Hi all,

    I try to do a Zeitornix Datalogger skin, but I am a beginner, so I make a simple one, just create a skin and launch the program into skin.

    However, the skin file is shown but the application didn't launch, could you know what mistake I have.

    The skin result
    Click image for larger version

Name:	20111129174531.png
Views:	1
Size:	74.5 KB
ID:	2307476

    my zeitronix skin file
    RideRunner Skin
    RRScreen zeitronix
    generic_off.png,generic_off.png,generic_on.png,gen eric_down.png
    INC,Bottomtext.txt
    IMG,87,18,250,38,"Zeitronix.png",out
    B,11,9,75,52,"MINIMIZE",
    B,674,9,118,52,"ESC",
    L,346,23,220,27,255,255,255,18,"Arial:B","TRACKNAM E","SCROLLCENTER",,"DS=2,2,0,0,0"
    I,624,9,47,53,"PHONE_CONNECTED_PHOCO"
    I,578,12,44,45,"ONLINE"

    /, B, x, y, w, h, Command;COMMANDCODES, Tooltip
    A01,0,73,802,471,
    C01,0,73,802,471,

    /, B, x, y, w, h, Command;COMMANDCODES, Tooltip

    /, Y, Back Slider file path

    /, S, x, y, w, h, x1, y1, w1, h1, O, Style, Pointer file path, h2, Code;SLIDERCODES, Tooltip

    END
    Use Winspector to capture the classname of Zeitronix Data Logger is "AfxFrameOrView90su"
    Click image for larger version

Name:	20111129173532.png
Views:	1
Size:	10.5 KB
ID:	2307477

    Update the ExecTBL.ini file
    "SetAppLabels","SETVAR;ButtonLabel;=MUSIC<<=RADIO< <=VIDEO<<=DVD<<=XM RADIO<<=SIRIUS<<=PHONE<<=WEATHER<<=PICTURES<<=BROW SER<<=PLUGIN MGR<<=DIMMER<<=CAMERA<<=MAPPOINT<<=GARMIN<<=iGO<<= iGUIDANCE<<=LAUNCH<<=DVB<<=MJS LED<<=MJS IO<<=WEB RADIO<<=ZEITRONIX<<=UnUsed<<=UnUsed<<=UnUsed<<=UnU sed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<< =UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUs ed<<=UnUsed<<=UnUsed<<=UnUsed"

    "MyApp23","LOAD;ZEITRONIX.skin;C:\Program Files\Zeitronix\Zeitronix Data Logger v3.1.5\zdl.exe;!AfxFrameOrView90su"

    "SetCommandLabels23","SETVAR;MyApp23LB;ZEITRONIX|| SetCommandLabels24"
    I enable the debug mode, the log file shown that command is executed.
    2011/11/29 下午 05:28:12: Que Exec: True, menu2.skin, "MyApp23", False
    2011/11/29 下午 05:28:12: EXECTBL Translation: MyApp23 -> LOAD;ZEITRONIX.skin;C:\Program Files\Zeitronix\Zeitronix Data Logger v3.1.5\zdl.exe;!AfxFrameOrView90su
    2011/11/29 下午 05:28:12: Executing: LOAD;ZEITRONIX.skin;C:\Program Files\Zeitronix\Zeitronix Data Logger v3.1.5\zdl.exe;!AfxFrameOrView90su
    2011/11/29 下午 05:28:12: Shell: "!AfxFrameOrView90su"
    2011/11/29 下午 05:28:12: Que Exec: True, zeitronix.skin, "ONSCREENCHANGE", False
    2011/11/29 下午 05:28:12: Leave Exec: False, zeitronix.skin, ONSCREENCHANGE, False
    2011/11/29 下午 05:31:19: Enter Exec: False, zeitronix.skin, , False
    2011/11/29 下午 05:31:19: Que Exec: True, zeitronix.skin, "OFFLINE", False
    2011/11/29 下午 05:31:19: Leave Exec: False, zeitronix.skin, OFFLINE, False
    Last edited by WolfSkin; 11-29-2011, 04:52 AM. Reason: attached image cannot show

  • #2
    Try like this...

    "MyApp23","LOAD;ZEITRONIX.skin;;C:\Program Files\Zeitronix\Zeitronix Data Logger v3.1.5\zdl.exe;!AfxFrameOrView90su"

    Comment


    • #3
      Thank you very much. I am missing one semicolon between skin and program.

      The program can launch now, but still not embbed, do you know why? I run both winspector and FindWindowInfo, they shown that the class name is "AfxFrameOrView90su".

      Moreover, how can I close the embbed program after press the "BACK" button. Thank you very much
      Click image for larger version

Name:	20111130103419.png
Views:	1
Size:	211.7 KB
ID:	2281377

      Comment


      • #4
        If program doesn't embbed then window name is incorrect. Perhaps someone wiser can help you with window name.
        You can close embbed program with button command CLOSE.

        Comment


        • #5
          Just use Zeitronix as the window name or you could try the whole 'untitled - Zeitronix Data logger v3.1.5' but just something unique in the title line is enough, hence 'Zeitronix'

          Comment


          • #6
            Originally posted by Dartman_71 View Post
            If program doesn't embbed then window name is incorrect. Perhaps someone wiser can help you with window name.
            You can close embbed program with button command CLOSE.
            Thank you very much. After I fixed the embbed issue by Dartman_71, the default command of ESC will close the program automatically.

            Comment


            • #7
              Originally posted by Enforcer View Post
              Just use Zeitronix as the window name or you could try the whole 'untitled - Zeitronix Data logger v3.1.5' but just something unique in the title line is enough, hence 'Zeitronix'
              Thanks, It can embbed, now I use "Zeitronix Data Logger".

              Comment


              • #8
                I am sorry that I had new question now.

                I want the Zeitronix Data Logger start when the RR is start, and close it when the RR is closed (like Winamp). I try to add the Windows Title "Zeitronix Data Logger" into General -> Embedded Apps and select "Close Embedded Applications When RR Exits" in RRConfig, but the program will not auto start.

                Moreover, after I entry the skin and back to main skin, the program will be clsoe automatically, how can I keep the program run when back? I currently use "ESC" for the BACK button, I searched Skin Command.txt but still not find related command.

                I am sorry for my poor english, if you want to screen dump, please let me know, I will dump the related screen for your reference. Thanks!
                Last edited by WolfSkin; 12-01-2011, 01:32 AM.

                Comment


                • #9
                  To start the program when RR starts, look in RRConfig General-->Page 2-->StartCommand

                  put

                  run;C:\Program Files\Zeitronix\Zeitronix Data Logger v3.1.5\zdl.exe


                  Use EXIT instead of ESC for the back button

                  Comment


                  • #10
                    Thanks!

                    The program can start when the RR is running, but the program show in front of the RR.
                    Moreover, I change the back button from "ESC" to "EXIT", but the program still close after back. I check with Skin Commands.txt, it said the ESC is same as CANCEL or EXIT, and CANCEL is sames as EXIT. I also change the command to "CANCEL", the result is same.
                    Click image for larger version

Name:	20111202093928.png
Views:	1
Size:	54.1 KB
ID:	2281382

                    Thank you very much.

                    Comment


                    • #12
                      You mean change the "run;C:\Program Files\Zeitronix\Zeitronix Data Logger v3.1.5\zdl.exe" to "runq;C:\Program Files\Zeitronix\Zeitronix Data Logger v3.1.5\zdl.exe", I try it but result still is same.

                      Moreover, when I back the skin, the program still closed when I use the command of "CANCEL" and "EXIT". Thanks!

                      Comment


                      • #13
                        You need to read this instructional. Use Winspector Spy to find the exact window name of your program. It will not necessarily be what you have chosen. You are also able to trim the menu bars etc, so all you have left is the program window. The program will not start until you have that exact window name correct.
                        Last edited by drewbp; 12-02-2011, 02:22 AM.
                        CAR: 2007 G35 Sport Coupe 5AT
                        HARDWARE: Dell D630 w/ dock, internal 80G HD, internal 320G HD, Verizon Wireless Card, iBlue GM-2 GPS w/iGuidance, OBDPros w/DashCommand, Visteon HD Radio w/ Home Made Cable, Current Version of RR w/ DFX Skin. My Install.

                        Comment


                        • #14
                          Hi drewbp,

                          Thanks for your advise. Is the link removed? I can't go to this link.

                          I tried the winspector and findwindowinfo.exe to find out the class name of the program before(shown in thread 3), they return it is "AfxFrameOrView90su", but when I add it into ExecTBL.ini ("LOAD;ZEITRONIX.skin;;C:\Program Files\Zeitronix\Zeitronix Data Logger v3.1.5\zdl.exe;!AfxFrameOrView90su"), it cannot launch the class into ride runner, so someone advise me to use the windows title of "Zeitronix" instead of class name. Finally, I use "LOAD;ZEITRONIX.skin;;C:\Program Files\Zeitronix\Zeitronix Data Logger v3.1.5\zdl.exe;Zeitronix Data Logger", this include all menu bar and icon.

                          I have a mistake, the program still in memory, when I press the back button, the program disappear in the task bar, so I think the program is closed, actually the program still in backgroud and I found it in the process tab of Task Manager.

                          However, I still not fixed the program startup in front of the RR issue. Would you help me? Thanks!
                          Last edited by WolfSkin; 12-02-2011, 01:24 AM.

                          Comment


                          • #15
                            Link now works.
                            CAR: 2007 G35 Sport Coupe 5AT
                            HARDWARE: Dell D630 w/ dock, internal 80G HD, internal 320G HD, Verizon Wireless Card, iBlue GM-2 GPS w/iGuidance, OBDPros w/DashCommand, Visteon HD Radio w/ Home Made Cable, Current Version of RR w/ DFX Skin. My Install.

                            Comment

                            Working...
                            X