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.)
VB Code:
  1. Option Explicit
  2.  
  3. Event MyEvent(ByVal TheX As Long)
  4.  
  5. Dim m_X As Long
  6.  
  7. Public Property Get X() As Long
  8.     X = m_X
  9. End Property
  10.  
  11. Public Property Let X(ByVal NewX As Long)
  12.     m_X = NewX
  13. End Property
  14.  
  15. Public Sub DoSomething()
  16.     RaiseEvent MyEvent(m_X)
  17. End Sub
Thanks in advance