parameters to dll

R

Rn

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top