-I did not import typelib I build it with Delphi´s typelib built editor to acomplish ASCOM standar.
-If I don´t use coinitializeex .application does not run built by Delphi.
-Seems mandatory for ASCOM to use TAutoObjectFactory don´t ask me why . I dont know it
-Setup dialog is a ascom defined method used to setup hardware and drives configuration poping dialog ,most drivers are COM dll and did not have a graphical form for basic configuration(comport, moun type etc) it can be left empty if you have nothing to config.
I,m sure I didn´t explain myself very well.I have got very basic english skills, but I will try it.
My application (Picgoto++ Server) implements a COM server ( automation object based) created by using Delphi wizard.
It controls a microcontroller device (PicGoto++ circuit) by serial port which commands (speed and position)up to four motors : two ones to drive telescope mount ,one more to drive focuser, and the last one to drive a filter wheel for CCD astronomical camera.
As standalone this video show how Software drives the right ascension motor
http://www.youtube.com/watch?v=4Q69rQLvI-oor a whole mount and telescope
http://www.youtube.com/watch?v=xU3Y06iMFSoASCOM is "de facto" standard for most of astronomical software available in Windows.
Skychart software like Cartes du Ciel (developed firstly in Delphi and now in Lazarus for version 3) by Paul Chevalley ,The Sky,Skymap,Stellarium, include clients to connect to these server called "ASCOM drivers".There are drivers for many astronomical brands and vendors.All o then f must implement their on classes to satisfy the common standard defined interface :Same properties same methods.
This applies too for Astronomical software imaging adquisition and process There are specification for telescope mounts,focuser,filter wheel,derotator , and camera.
If you decide to develop (commercial or open source/hardware)an astronomical mount,camera you only have to write code to satisfy these standard properties and defined interfaces and your system will work with any compatible ASCOM Software.
In this video you can see how worksCDC skychart software, its client telescope module (It connect telescope drivers using createole object call).Select the Picgoto driver (my application) from a list of possible mount telescopes) and telescope mountcan be controlled from skychart application), pointing position is show as white bulls eye.
My application is not a client.
http://www.youtube.com/watch?v=ZwmCs1R1x_EMy main interest for porting is because i want to develop the linux versión (in that case implementing INDI protocols ,instead ASCOM which are not available for POSiX system ) to be able to work SDR , gnuradio for driving radio telescopes.
PicGoto is very extended control system for amaters because is free and can be home built .
I wish to thank you Ludo and Phil for all you work and patience.
PicgotoGroup list have more than eight hundred members and sometimes to mantain its like second job for me.