I know this is a weird question
Does anyone have Delphi? I don't, so I can't check.
How do you build an ActiveX DLL in Delphi?
I'd like an example of a simple DLL with one class that contains one method, one property and one event, like the following but in Delphi, and also, all the steps required (how to create the project, etc.)Thanks in advanceVB Code:
Option Explicit Event MyEvent(ByVal TheX As Long) Dim m_X As Long Public Property Get X() As Long X = m_X End Property Public Property Let X(ByVal NewX As Long) m_X = NewX End Property Public Sub DoSomething() RaiseEvent MyEvent(m_X) End Sub![]()





Reply With Quote