Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registro de dll - Ole error code 0x80020009
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00873028
Message ID:
00873454
Views:
31
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform