I've been looking for info for a while now but haven't been able to find anything useful for us. We're building kind of a SmartCar complex system, which controls more or less everything in a car.. Its a dev project, nothing "reinventing the wheel" here, just the point of doing it completely from the scratch.
Since it's going to have quite a heavy load, we built a PC based on i5 proc with 8GB of ram, running Windows Server 2012 Datacenter on Intel's S335 SSD hard drive.
So far so good, the main controllers are running as services and all respond well for operations such as lock/unlock, side mirrors movement, windows movement, complete climatronic control, ignition, lights etc... However, we kinda can't get to play a sound from it...
The reason we use all as services is because it has no monitor at all, but rather communicate via WiFi and 3G with Android tablet and phone, and Windows tablet as well. We've tried doing it via remote desktop connection, but it's waste of resources on both sides, so we rather use Tcp/ip client/server version. Also, since it needs to hibernate/shutdown in order not to waste energy resources, instant power on is vital, and without a need to log in it all works within a few seconds, which is perfect.
So, my question here is, how could I make a music player to run as a service and play audio files, which we select via our remore app? The remote part is not an issue here, but rather the player part. I've tried several delphi demo music player example codes transformed into services, but nome of them played the sound. I guess it has something to do with services not being normally allowed to interact directly with user interface, but I know it's possible, just dont have a clue on how.
Also, I guess its not possible, but still worth asking: if we'd want to extend it to use as a video player as well, could this be done without any user logged in? Such as having vga/dvi video monitor connected, but to only show a video when it's selected to be played? (the monitor would be as extended monitor in this case, so that no login sceen would ever be shown).
I make all of the services in Delphi. Any info would be appreciated. Thanks.