You must do the following: Exe + .DLL => one exe

The solution to this problem is taken from here , but the code does not work

Imgur

The program and project from which the dll was created
Folder or Archive , as you wish.

slt.Abc () returns 0.
Anonymous function is not called (if you comment out the contents of Test ())

Thank you in advance.

Closed due to the fact that off-topic participants Mstislav Pavlov , insolor , aleksandr barakin , user194374, Abyx Jan 18 '16 at 20:48 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - Mstislav Pavlov, insolor, aleksandr barakin, Community Spirit, Abyx
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • 2
    Did you add your library to References ? - Donil
  • Please clarify, you have a native .dll library on unmanaged code; or, like the application, is written under .NET? - Shad
  • @Donil, it turned out, added the same assembly to References, set Copy locally to false and it worked - srghma
  • @Shad, the build was on NET - srghma

0