Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CMsgSvcObj problems
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00689720
Message ID:
00692769
Views:
21
Hi Paul,

> Is there anyway to get the cMsgSvcObj to open in its own datasession? I know this happens when it’s running as a COM object, but I don’t see any code to “force” this. I seem to remember this coming up before as an ER, or as something that was/is in the framework, but I can’t remember.
>
>Do anyone have any suggestions for this?

Had you tried to set the BizObj's nDataSession property to 2? This is documented to instantiate an own data session for the bizobj. It didn't work for my "special" BOs, since I changed the way the DE is loaded, but I got it work with 3 lines of code in the right place.

Regards,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform