Playing around with the console xDataServer found under your demos here: ....\TMS XData\Demos\web\music\XDataMusicServer
I converted this application from a console application to a vcl one, and everything seems to be ok. I then added a new datamodule to this new project. In this new module I do the following:
Manager := TXDataOperationContext.Current.GetManager;
//The above raises an exception as TXDataOperationContext.Current is nil;
My question is how can is access the current objectmanger in a my new datamodule?