Mega Code Archive

 
Categories / Delphi / Activex OLE
 

Access violations with vc++ created ocx controls

Question: AV's occur when using OCX created in VC++. The same OCX works OK in Visual Basic, but not in Delphi 3. What is wrong? Answer: Versions of VC++ earlier than 4.2b have issues with event handling. There's a patch for VC++ on Microsoft's website.