parameters to dll

Discussion in 'ASP .Net' started by Rn, May 12, 2004.

  1. Rn

    Rn Guest

    Hi,
    I have a dll which is getting called on a certain sync proccess.
    My problem is, that in this dll, I am connecting to an API of a certain
    software. For each connection I have to supply parameters.
    Two Questions:
    1) How can I know the path in which my dll resides (in order to put a config
    XML file there, reading the parameters from there.)?
    2) Is there a better way for my dll functions to have a certain object in
    memory that will be called in each dll invocation?

    Maybe there is a better way - I just don't want the connection parameters to
    be hard coded.
    Thanks in advance for any help,
    Rn
     
    Rn, May 12, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anushi
    Replies:
    5
    Views:
    8,947
  2. Jonck van der Kogel
    Replies:
    2
    Views:
    1,004
    Jonck van der Kogel
    May 27, 2004
  3. Jason
    Replies:
    2
    Views:
    542
    Jonathan Mcdougall
    May 13, 2006
  4. kito
    Replies:
    2
    Views:
    436
  5. H. Simpson
    Replies:
    4
    Views:
    328
    H. Simpson
    Aug 3, 2004
Loading...

Share This Page