in Search

Deploying msx dlls

Last post 10-20-2009, 17:49 by SMenday. 11 replies.
Sort Posts: Previous Next
  •  09-01-2009, 2:03 30574

    Deploying msx dlls

    Hi all

    I have written an MSX dll in c++, it all works fine on my machine.  I have tried to give a friend a copy using the self installing exe option, it doesn't seem to work.  It copies all the indicators etc but not the dll.  Placing a copy of the DLL manually in "External Function DLLS" doesn't work either, MS doesn't seem to be able to see it.

    Any ideas as to why it isn't working?

    Cheers

    Stew

  •  09-01-2009, 3:40 30580 in reply to 30574

    Re: Deploying msx dlls

    Has your friend shut down and restarted MS?  DLLs are loaded when MS starts, so any libraries added after MS has started will not be referenced.


    wabbit Big Smile [:D]


    "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim."
    Edsgar W. Dijkstra

     

    MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC C, 11 PRO w/QC & MDK
    For custom MetaStock programming : http://www.wabbit.com.au
    My SkyPE status :
    My SkyPE account : wabbit.com.au

  •  09-01-2009, 19:34 30593 in reply to 30580

    Re: Deploying msx dlls

    He has restarted MS.  I gave a copy to another person sometime ago and they had the same problem.  Any other ideas?

    Cheers

    Stew

  •  09-02-2009, 6:22 30596 in reply to 30593

    Re: Deploying msx dlls

    I assume you've thoroughly tested the library with MSXTest?


    wabbit Big Smile [:D]


    "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim."
    Edsgar W. Dijkstra

     

    MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC C, 11 PRO w/QC & MDK
    For custom MetaStock programming : http://www.wabbit.com.au
    My SkyPE status :
    My SkyPE account : wabbit.com.au

  •  09-02-2009, 20:07 30605 in reply to 30596

    Re: Deploying msx dlls

    The DLL works fine in MSXTester and my version of MS.

    Cheers

    Stew

  •  09-03-2009, 2:42 30606 in reply to 30605

    Re: Deploying msx dlls

    Does your dll call any other dlls, such as an OS dll which the user might not have due to different OS?  You could add some code to write to a log file when MS attempts to load the dll to see if it's failing initialisation.

    Can you send the dll to someone else and have them try?


    wabbit Big Smile [:D]


    "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim."
    Edsgar W. Dijkstra

     

    MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC C, 11 PRO w/QC & MDK
    For custom MetaStock programming : http://www.wabbit.com.au
    My SkyPE status :
    My SkyPE account : wabbit.com.au

  •  09-14-2009, 20:15 30724 in reply to 30606

    Re: Deploying msx dlls

    Im having the same problem.

    http://forum.equis.com/forums/thread/30723.aspx

    For some reason it works fine for me but my friend can not get MS to see the dll on startup. Its placed in the correct subfolder and theres no other dll required to use but for some reason MS wont recognize it grrrr...

  •  09-14-2009, 20:36 30725 in reply to 30724

    Re: Deploying msx dlls

    I sent my friend a copy of MSXTest to see if that could load it, it gets the following error

    DLL Name BBTT.dll <- my dll

      ISystem error loading DLL:

         This application has failed to start because the application configuration is incorr...

     

    You cannot get what comes after incorr...  

    I haven't looked into this error message as yet.

    If you find a solution can you let me know? 

    I am using Microsoft Visual C++ 9.0 express edition

    Cheers

    Stew

  •  09-15-2009, 0:41 30726 in reply to 30725

    Re: Deploying msx dlls

    Vista??


    wabbit Big Smile [:D]


    "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim."
    Edsgar W. Dijkstra

     

    MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC C, 11 PRO w/QC & MDK
    For custom MetaStock programming : http://www.wabbit.com.au
    My SkyPE status :
    My SkyPE account : wabbit.com.au

  •  09-15-2009, 0:51 30727 in reply to 30726

    Re: Deploying msx dlls

    We are both using XP
  •  10-20-2009, 5:46 30971 in reply to 30727

    Re: Deploying msx dlls

    Does your friend have other DLLs in the External Function Dlls folder that he has brought in as yours that are working?

    If not-

    Check that there is no other folder in the equis folder that contains DLLs - if there is get your friend to insert there.

    Sometimes package suppliers put their special DLLs in there own folder within the equis folder but before the External Functions DLL folder.  
  •  10-20-2009, 17:49 30972 in reply to 30971

    Re: Deploying msx dlls

    He has other DLLs in the directory which MS can see just fine. 

    He has just loaded the DLL with Dependancy Walker and has sent me the report, I am about to have a look at it.

     

    Cheers

    Stew

View as RSS news feed in XML