Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Htmllistener deployed in a dcom exe
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01126935
Message ID:
01126942
Vues:
13
See if Re: Output to HTML Message #1052668 helps.

>I subclassed the VFP 9.0 ffc htmllistener class to modify the getpagelength and getpagewidth so it can be used on a box with no printers defined. The new vcx is noprinthtmllistener.
>
>I call it in a COM server “exe” to use it to print a report outputted as an html stream.
>This exe is called from a dll which is called from an asp page.
>The code in the exe is as follows:
>
>
>  Set Classlib To noprinthtmllistener.vcx Additive
>  loListener = Createobject("noprinthtmllistener")
>  loListener.Quietmode = .T.
>    ….. etc…..
>  Report Form regcostweb.frx Object loListener
>    ….. etc…..
>
>
>When I build this and then call it from an asp page on my development machine It runs fine. When I try to deploy it to another machine the asp page calls the dll and the exe correctly how ever the “Createobject” command is not creating the object. I have error code to pass the error back up and it tells me the exe errors out at “loListener.Quietmode =.t.” because loListener is not an object.
>
>Any ideas on why the "createobject()" works on the development machine but the same code does not work on the deployment machine. The deployment machine doesn’t have VFP installed.
>
>I had this figured out at one time and now I'm stuck again. The dll and exe are registered and functioning properly. The subclassed htmllistener code is what isn't working. "loListener" winds up getting the value of .t. rather then being a reference to a created object. What does htmllistener want that it can find on the development machine that it can't find on the deployment machine?
>
>All help is appreciated.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform