Hallo
ich wollte mir das erste mal eine dll erstellen, aber keine ahnung wie![:D](https://www.vb-paradise.de/wcf/images/smilies/biggrin.png)
die dll möchte ich über meine page abfragen
der code ist c#
er hat da auch eine anleitung dabei mit der ich nicht klar komme
thx
haufe
ich wollte mir das erste mal eine dll erstellen, aber keine ahnung wie
![:D](https://www.vb-paradise.de/wcf/images/smilies/biggrin.png)
die dll möchte ich über meine page abfragen
der code ist c#
er hat da auch eine anleitung dabei mit der ich nicht klar komme
Quellcode
- ///////////////////////////////////////////////////////////////////////////////////
- // AxComp.cs
- // Creates a simple ActiveX component.
- //
- // 1. Compile into a class library, or use:
- // csc /t:library AxComp.cs
- // 2. Register and generate the Typelib on the client's machine with:
- // regasm AxComp.dll /tlb:AxCompNet.dll /codebase
- /////////////////////////////////////////////////////////////////////////////////// using System;
- using System.Runtime.InteropServices; namespace AxComponent
- {
- public interface IAxTest
- {
- string CallIt();
- } [ClassInterface(ClassInterfaceType.AutoDual)]
- public class AxComp : IAxTest
- {
- public string CallIt()
- {
- return "This is a test.";
- }
- }
- }
thx
haufe
ähh? wasn das ![:)](https://www.vb-paradise.de/wcf/images/smilies/smile.png)
![:)](https://www.vb-paradise.de/wcf/images/smilies/smile.png)