Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Server DLL and EXE both fail.
Message
 
To
11/06/1998 17:12:25
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00107375
Message ID:
00107603
Views:
16
Where exactly does it hang? We've done this with no problem. You can set messageboxes in the there see where it got to.

Joe

>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.
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform