exe & dll

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

Guest

Hi
I have C:/dll/xyz.dll & C:/test/test.exe, test.exe uses the xyz.dl
I have 2 questions

1) How can I define the search path for xyz.dll(library) at runtime for test.exe. I need any sample program

2) How can I copy the xyz.dll into test.exe. So I don't need xyz.dll at all

I am using the command line csc compiler.

Thank you
Avin Patel
 
I don't think you can specify the search directory, but you can
move the dll to the current (where exe is) and it will always load.

I don't think there's any way to merge dll into exe.

Avin Patel said:
Hi,
I have C:/dll/xyz.dll & C:/test/test.exe, test.exe uses the xyz.dll
I have 2 questions:

1) How can I define the search path for xyz.dll(library) at runtime for
test.exe. I need any sample program.
 
Back
Top