Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Server DLL and EXE both fail.
Message
De
11/06/1998 17:12:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
OLE Server DLL and EXE both fail.
Divers
Thread ID:
00107375
Message ID:
00107375
Vues:
64
I am trying to define a class in one VFP project and access it from another project. When I compile the project containing the separate class into a .DLL and register it with RegSvr32, it crashes my program when I do a CreateObject on the OlePublic class (regardless of what init code I use in the class, including none at all). When I unregister the .DLL, recompile the OLE server project into an EXE, and run the EXE with the /regserver command-line option, my program runs fine to a point. The init code of the object runs. However, I have noticed that any time I include a PARAMETERS statement in a method and call the method from my program, it hangs indefinitely. I have been unable to solve eithr approach. I would prefer to use the .DLL, as an inproc server is more suitable to my application. Any ideas? Thanks for the help in advance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform