Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Server DLL and EXE both fail.
Message
From
11/06/1998 17:12:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
OLE Server DLL and EXE both fail.
Miscellaneous
Thread ID:
00107375
Message ID:
00107375
Views:
65
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.
Next
Reply
Map
View

Click here to load this message in the networking platform