Create ActiveX DLL library with Lazarus? Possible? lazarus / 34-Windows ---------------------------------------------------------------------- snorkel · 2013-02-15 16:12 Hi, I have a project in Delphi that uses indy to create a ActiveX DLL library that is used from MS Access VBA code to send a simply SMTP email message, I would really like to be able to compile this with Lazarus. I did some google searching, but can't really find anything related to created a ActiveX DLL library. ---------------------------------------------------------------------- Leledumbo · 2013-02-15 17:17 I never code for ActiveX, but how does it differ from standard DLL? If it's just a bunch of API calls, there should be (nearly) nothing required for change. ---------------------------------------------------------------------- snorkel · 2013-02-15 18:02 Hi, I converted the delphi project using laz 1.06 and the dll compiles fine, and registers ok with regsvr32 but when I go to use it it errors out var    smtp:olevariant; begin      smtp:=CreateOleObject('smtp_sendmail.sendmail');      smtp.relayhost := 'myrelay.server.com';  <-----errors on this line end; If I replace the dll with the original delphi one it works fine. I will hack around with it some more. ---------------------------------------------------------------------- snorkel · 2013-02-15 20:31 Never mind, I downloaded a daily snap shot with 2.6.1 and it works fine now.