1

In the following answer Robert Giesecke describes a way to export managed code to native applications without the need of COM registration:

Answer on stackoverflow from Robert Giesecke

I downloaded the UnmanagedExportLibrary.zip from and built the samples using Visual C# 2008 Express Edition for the .net part and delphi 2010 for the win32 part as described on his page. When i start the delphi application which calls the dll, i get an exception "unable to start application...".

Is someone able to post two working projects (.net / win32) using the "RGiesecke.DllExport.dll" to communicate with each other?

Thanks in advance, Michael

Community
  • 1
  • 1
user265566
  • 11
  • 1
  • 2
  • 1
    I think you posted the wrong link. There is nothing there from Giesecke. – Rob Kennedy Feb 03 '10 at 19:30
  • Perhaps referring to this question/answer: http://stackoverflow.com/questions/2043214/unmanaged-exports-cannot-compile-assembly – Scott W Feb 03 '10 at 20:21
  • [Robert Giesecke](http://stackoverflow.com/users/35443/robert-giesecke)'s site is [here](http://sites.google.com/site/robertgiesecke/) – menjaraz Dec 08 '11 at 07:22
  • I have an example here: http://stackoverflow.com/questions/19272593/robert-gieseckes-unmanaged-exports/19290984#19290984 – habakuk Oct 10 '13 at 11:41

1 Answers1

0

I got this working for a C++ client calling a function from a C# DLL. One thing I did notice was that one of the DLLs was missing from the raw project but was included in the project template. Also the MSBuild call didn't work from a path containing spaces (or from a path that was too deep). Moved it to a path with no spaces and everything was fine.

Stephen

Stephen Connolly
  • 1,639
  • 10
  • 15