Board index » delphi » Interesting problem with activex server (Activex Exe)

Interesting problem with activex server (Activex Exe)

Hi
I am writing the local server which requires that there should be no form to be shown in server.
So i had removed the form but then now it's not working and throwing the error uuid not found error.
Why exectly it is happening.It is sure that the form does not consists even a single line of code.
Is is a restriction or what is the way around.

Mandar

 

Re:Interesting problem with activex server (Activex Exe)


<<Mandar:
Is is a restriction or what is the way around.

Quote

Create a server with a form but include this line
  Application.ShowMainForm := False;
in your project source (.dpr).

--
Deborah Pate (TeamB) http://delphi-jedi.org

  TeamB don't see posts sent via Google or ISPs
  Use the real Borland server: newsgroups.borland.com
  http://www.borland.com/newsgroups/genl_faqs.html

Re:Interesting problem with activex server (Activex Exe)


Hi
Ok i had done same
but my main question is why this happens and what code i should write to make server without the form.
i.e no ui component.

Mandar

"Deborah Pate (TeamB)" <d.p...@blueyonder.co.not-this-bit.uk> wrote:

Quote
><<Mandar:
>Is is a restriction or what is the way around.

>Create a server with a form but include this line
>  Application.ShowMainForm := False;
>in your project source (.dpr).

>--
>Deborah Pate (TeamB) http://delphi-jedi.org

>  TeamB don't see posts sent via Google or ISPs
>  Use the real Borland server: newsgroups.borland.com
>  http://www.borland.com/newsgroups/genl_faqs.html

Re:Interesting problem with activex server (Activex Exe)


Hi
For today i tied everything registeractiveserver,registertypelib,overiding initialize method of Automationobject.
Even ihad checked this thing by writing small activex exe in visual basic where it worked without any form,
I tried even console application.
But invain please suggest me the solution or atleast direction.

Mandar

Quote
"Mandar" <mandar_lim...@rediffmail.com> wrote:

>Hi
>Ok i had done same
>but my main question is why this happens and what code i should write to make server without the form.
>i.e no ui component.

>Mandar

>"Deborah Pate (TeamB)" <d.p...@blueyonder.co.not-this-bit.uk> wrote:
>><<Mandar:
>>Is is a restriction or what is the way around.

>>Create a server with a form but include this line
>>  Application.ShowMainForm := False;
>>in your project source (.dpr).

>>--
>>Deborah Pate (TeamB) http://delphi-jedi.org

>>  TeamB don't see posts sent via Google or ISPs
>>  Use the real Borland server: newsgroups.borland.com
>>  http://www.borland.com/newsgroups/genl_faqs.html

Other Threads