Path string inside DLL file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

I have created a DLL in Release Configuration. When I opened the DLL in hex editor I noticed that path string with full path, where my linked DLL is located, can be found inside DLL
My question is: Is there a way (may be some option key) not to include any path information into a final DLL

Thank you in advance
WBR
Dmitri
 
Dmitri said:
Hello,

I have created a DLL in Release Configuration. When I opened the DLL
in hex editor I noticed that path string with full path, where my
linked DLL is located, can be found inside DLL. My question is: Is
there a way (may be some option key) not to include any path
information into a final DLL?

That path is inserted into the binary if you link with /PDB; don't make a
PDB, you won't get the path.

-cd
 

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

Similar Threads

Dynamic path for dll 1
parameter passing to unmanaged code dll 8
Including a dll file 3
create dll problem 1
Mixed mode ActiveX DLL 5
DllMain 12
Problems #include'ing a file 3
how to monitor exe and dll interactions? 13

Back
Top