marcop...@gmail.com
unread,Dec 22, 2025, 2:28:59 PM (2 days ago) Dec 22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Harbour Users
Dear all, I am trying to migrate an application to Harbour that prints from Crystal Reports using OLE.
When trying to print, I always get the error message: REGDB_E_CLASSNOTREG. In xHarbour it works normally.
Here is the test code:
IF ( Ocrystal := win_oleCreateObject("Crystalruntime.Application.11") ) = NIL
Alert("Erro ao utilizar formulario Boleto;do Crystal Report: "+win_oleErrorText(),,'14/8')
return nil
ENDIF
Oreport := Ocrystal:Openreport("Boleto1.Rpt",1)
*-*
*-*
Oreport:Printout(.F.)
Thanks to advance,