Jump to content


Photo

CoInitialize çağrılmamış, ProgID: "Excel.Application".


  • Please log in to reply
2 replies to this topic

#1 pro_imaj

pro_imaj

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 607 posts

Posted 08 July 2018 - 07:29 PM

Merhaba;

 

Aşağıdaki gibi bir nesne oluşturmaya çalıştığımda CoInitialize çağrılmamış, ProgID: "Excel.Application". hatası alıyorum unigui tarafında bu nesneyi nasıl oluşturabilirim.

var
  ExcelAPP: variant;
begin
  ExcelAPP:=CreateOleObject('Excel.Application');

Teşekkürler.


  • 0

#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 5168 posts

Posted 08 July 2018 - 07:38 PM

Merhaba,

 

UniServerModule -> AutoCoInitialize = True


  • 0

#3 pro_imaj

pro_imaj

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 607 posts

Posted 08 July 2018 - 08:00 PM

Thanks @Delphi Developer


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users