Information générale
Titre:
OLE Server DLL and EXE both fail.
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement