How to create a DLL that can be called from another Win32 appl.

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi all,

I am new to C#, .NET and Visual Studio but I have been coding professionally
for more than 10 years, so I am not a complete newbe :-)

At my work we are now in the process of switching from Borland Delphi to
Visual Studio and C#.
We have a lot of applications that we do not have time to recode to .NET, so
we are planning to do all "new" developments in C#.
And this is where my question pop up:

I need to create a new Database Search form for one of our apps. and I would
like to do this in C#, so that later developments in .Net can reuse this.

How can I create a DLL that can open a WinForm and return a string (as soon
as I got this in place, I can start doing real stuff :-))
Another Win32 (un-managed) appl. should use this DLL.

Since this is my first C# project, I need information about all the steps
necessary to do this.



I hope you are able to provide me with guidelines and if possible some
samples.

Thank you very much in advance

/Claus


.



Relevant Pages

  • Deployment Status
    ... I have multiple customer webspaces on a remote server. ... If Visual Studio ... Version 1.1 would set the name of the DLL to the name of the NameSpace. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Webpart unable to register as safecontrol
    ... Here are the steps to registering a webpart as safe for all of you who ... \SDK\v1.1\Bin directory of your Visual Studio Installation. ... Make the AssemblyKeyFile look like [assembly: ... This is the location of your dll. ...
    (microsoft.public.sharepoint.portalserver.development)
  • CoCreateObject of C# ComVisible object from C++ Crashes
    ... I have three DLL projects, all compiled from Visual Studio 2003 ... setup to get to the point where I try to call CoCreateInstance takes ... the CoCreateInstance call causes Visual Studio to crash ...
    (microsoft.public.dotnet.framework.interop)
  • dll copy question
    ... I have a program that references a DLL. ... Microsoft Visual Studio Tools for Office 77633-163-9000041-41865 ... Microsoft SQL Server Analysis Services Designer ... Microsoft SQL Server Integration Services Designer ...
    (microsoft.public.vsnet.general)
  • Re: Reference DLL with CopyLocal = False problem ....
    ... CopyLocal is just a visual studio directive. ... on a server and I made a Reference to this DLL. ... I check my Reference paths in Project properties - there is a valid path ...
    (microsoft.public.dotnet.general)