-1

I have 2 questions:

  1. How to include library .dll in project that after compile it will integrity in exe (not separate: exe and dll). Does it possible?

  2. I have one library 2 versions: for x64 and x86. How to include this library (2 version) and "using" for each architecture appropriate version: x64 for 64 bit and x86 for 32 bit.

Mickey
  • 943
  • 1
  • 19
  • 41
Max
  • 1,341
  • 3
  • 20
  • 39
  • This is just a deployment problem, copying the right files. Users like setup.exe, especially its uninstall feature. It is just programmers that don't like them. These questions have been asked many times before. – Hans Passant Nov 11 '13 at 12:01

1 Answers1

0

The answer to both questions is to load the assemblies at runtime.

James
  • 80,725
  • 18
  • 167
  • 237
  • I saw that. I didn't get it. Please, give example with dlls: example32.dll and example64.dll – Max Nov 11 '13 at 11:47
  • @MaximDroy see [this question](http://stackoverflow.com/questions/2593916/import-external-dll-based-on-64bit-or-32bit-os) – James Nov 11 '13 at 11:56