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
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