This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Location of AGSI dll

Is it possible to put an AGSI dll in a dirctory other than <Keil Install>/C51/BIN? I would like to keep the simulation DLL with the project, but I don't see any way to specify it's location in the UV2 debug dialog.

Thanks,
Greg

  • I don't have a simulation dll to test with, but in the parameters section of the debug tab for the Dialog Dll (where you would put -dAGSI.dll), you could try to put a relative path to your dll from the /c51/bin directory. So if your keil tools are in:

    c:\keil\c51\bin
    
    And your Sim dll is in:
    c:\wss\8051

    you could put:
    "-d..\..\..\wss\8051\MySimDll"
    
    in the Dialog DLL parameter field on the debug tab in UV2/3. I ave no idea if that will work, but I have fooled other tools that way.

    Nik

  • That does work... thanks for the hint.

    It's kinda kludgy though, since the intent is that someone can drop the project directory onto their system and be ready to go. With this method, the Keil install path (at least the depth) and project directory have to be the same on any system where this is to be used. Barring a better solution, though, this is definately better than having the DLL live in the C51/BIN directory.

  • Yeah, it's one of those things that you'd have to ad to a README in your project files