Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registro de dll - Ole error code 0x80020009
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00873028
Message ID:
00873454
Vues:
32
Olá Fábio,

Código da completo de uma:
Define Class Server as Session OlePublic
	oleServer = ""
	method = ""
	parameters = ""
	result = ""

   Procedure run
	    Local loOle as Object, lcRetorno as String, lcComando as String
	   	loOle = CreateObject(This.oleServer)
	   	lcComando = "loOle." + This.method + "(" + This.parameters + ")"
	   	This.result = &lcComando
   EndProc

EndDefine
Estrutura da outra, não há código no init. Eliminei o código dos outros métodos por motivo de espaço.
Define Class SiteView as Session OlePublic
   Procedure getMenusFlutuantes
      Return lcRetorno
   EndProc
   
   Procedure getCabecalho
   Lparameters tlcTitulo as String
   Return lcRetorno
   EndProc
   
   Procedure getHome_html
   Return lcRetorno
   EndProc

EndDefine
Obrigado pela ajuda,
Edson Oliveira dos Santos
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform