Announcement

Collapse
No announcement yet.

Run a external program inside ams

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

  • Run a external program inside ams


    Happy New Year everyone.

    I tried to integrate the xMount plugin from
    : © 2010 Jason Thompson dba FoxxPC in my application without success.
    It only seems to work with windows programs like notepad, iexplore, etc ...

    With external programs like Speccy from Piriform for example even in portable version, I can't do it.

    Has anyone ever had this problem?
    Or is there another solution?

    Thank you for your reply.

    Alain








  • #2
    Hi Alain,
    Yes Have a happy 2020
    I have had the same problems with xMount, don't know if it only works with v7
    but you could try a dll made by Imagine Programming , I have modified it to suite your requirements
    Check video here :
    https://ln2.********/dl/876cfd900/ch...3rbvz-i3v8w7p2

    Download from here: https://ln2.********/dl/905faa190/7y...d9sdt-34jr74xg
    Cheers

    Comment


    • #3
      you could try to integrate the exe file (in the case portable version x64) in ActiveX Plugin.



      speccyTest

      Comment


      • #4
        Thanks Colc & Herrin for your fast reply.

        I am a little lost :

        1) The Herrin apps need admin rights and seems not to work.(see screenshot)
        Click image for larger version

Name:	spiccy_test.png
Views:	227
Size:	5.7 KB
ID:	304365

        2) The Colc apps (RunProgEx) seems to work but i have the message below so i can't import it in my project.

        Click image for larger version

Name:	RunProgEx.png
Views:	231
Size:	40.2 KB
ID:	304366
        I must have missed something, may what?
        I'am on Windows 10 x64, maybe a reason?
        I will try to brainstorm this New Year!

        Thanks in any case for your support.

        Alain

        Comment


        • #5
          I'm sorry it doesn't work on w10 .....



          Here a test on w7 x64
          Code:
          [ATTACH]n304368[/ATTACH]

          Comment


          • #6
            Originally posted by colc View Post
            Hi Alain,
            Yes Have a happy 2020
            I have had the same problems with xMount, don't know if it only works with v7
            but you could try a dll made by Imagine Programming , I have modified it to suite your requirements
            Check video here :
            https://ln2.********/dl/876cfd900/ch...3rbvz-i3v8w7p2

            Download from here: https://ln2.********/dl/905faa190/7y...d9sdt-34jr74xg
            Cheers
            What do you mean you modified it, a binary diff on the version of RunProgEx.dll in the extracted .exe tells me that it is exactly the same as the one on imagine-programming.com.
            Bas Groothedde
            Imagine Programming :: Blog

            AMS8 Plugins
            IMXLH Compiler

            Comment


            • #7
              Hi Alain ,
              There is a test code to see if autoplay is installed in program folder.It worked perfect on W7 x64 but locked up a couple of times on W10 x64 (must still run with admin)

              Hi Bas, the mod reefence was to the original sample APZ I posted some time ago not to your dll (sorry for misunderstanding)
              Cheers

              Comment


              • #8
                Originally posted by Alain View Post
                Thanks Colc & Herrin for your fast reply.
                1) The Herrin apps need admin rights and seems not to work.


                Click image for larger version

Name:	Cattura.PNG
Views:	275
Size:	145.2 KB
ID:	304378



                to work on w10 the Netframework 3.5 pack (including 2.0 and 3.0) must be
                installed since it is required to register an activeX component

                Comment


                • #9
                  Originally posted by colc View Post
                  Hi Bas, the mod reefence was to the original sample APZ I posted some time ago not to your dll (sorry for misunderstanding)
                  Cheers
                  Ah I see, thanks for clarifying.
                  Bas Groothedde
                  Imagine Programming :: Blog

                  AMS8 Plugins
                  IMXLH Compiler

                  Comment


                  • #10
                    https://forums.indigorose.com/forum/...n-your-program

                    Comment


                    • #11
                      Thank you for your answers, Grimsley, Colc, Herrin and imagine.
                      Finally as I don't need as many details as Speccy in my case, i found a little application from Rob Van Der Voude based on WMI query.
                      . wmigen.zip

                      The request can be saved in LUA which is very interesting in my case.
                      Here is the beginning of my application with a lot of trial and error.

                      wmi_proj.apz

                      Sorry for now it's in french.

                      I look forward to your criticism

                      Bonne journée.

                      Alain




                      Comment

                      Working...
                      X