[DUG] D2007 / cant save .tlb file

Robert martin rob at wildsoft.co.nz
Tue Jul 31 16:12:25 NZST 2007


Yup TLB says ChreosClient.

Will try break point in morning.  Been dragged away :)

Rob Martin
Software Engineer

phone +64 03 377 0495
fax   +64 03 377 0496
web www.chreos.com

Wild Software Ltd



Myles Penlington wrote:
> That looks okay so far.
> Bring up the TLB editor, and the name at the top level needs to be
> "ChreosClient", so then to access it from Com it becomes something like
> CreateActiveXObject( 'ChreosClient.Objectname');
>
> You should perhaps put a breakpoint on the TAutoObjectFactory.Create for
> your classes to ensure this code is being executed and compiled. 
> e.g. should look something like this (for each com object).
>
> initialization
>   TAutoObjectFactory.Create(ComServer, TDBManager, Class_DBManager,
> ciMultiInstance, tmBoth);
>
>
> Myles.
>
> -----Original Message-----
> From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
> On Behalf Of Robert martin
> Sent: Tuesday, 31 July 2007 03:10
> To: NZ Borland Developers Group - Delphi List
> Subject: Re: [DUG] D2007 / cant save .tlb file
>
> Yes, that sounds likely...  (this brings hope !)
>
> App name = ChreosClient
> Exe name = ChreosClient.exe
> Tlb = ChreosClient.tlb
>
>
> Where do i find internal name of tlb and progID  ???
>
> Thanks :)
>
>
>
> Rob Martin
> Software Engineer
>
> phone +64 03 377 0495
> fax   +64 03 377 0496
> web www.chreos.com
>
> Wild Software Ltd
>
>
>
> Myles Penlington wrote:
>   
>> It could be the issue though.
>>
>> What is the name of your tlb vs your project/exe name? 
>> Under D2007 they have to be the same (unlike D6/D7) - due to how the
>>     
> IDE
>   
>> now manages the files etc.
>> And the internal name of the tlb must also remain the same as the exe,
>> and hence also the ProgID used to identify the com object may also
>>     
> have
>   
>> changed, which could explain the issues.
>>
>> Myles.
>>
>> -----Original Message-----
>> From: delphi-bounces at delphi.org.nz
>>     
> [mailto:delphi-bounces at delphi.org.nz]
>   
>> On Behalf Of Robert martin
>> Sent: Tuesday, 31 July 2007 02:46
>> To: NZ Borland Developers Group - Delphi List
>> Subject: Re: [DUG] D2007 / cant save .tlb file
>>
>> Thanks
>>
>> Thats not the same issue I have. Oh well.
>>
>> Rob Martin
>> Software Engineer
>>
>> phone +64 03 377 0495
>> fax   +64 03 377 0496
>> web www.chreos.com
>>
>> Wild Software Ltd
>>
>>
>>
>> Jeremy North wrote:
>>   
>>     
>>>> Anyway I was searching for help and found a web site that had a link
>>>>       
>>>>         
>> to QC
>>   
>>     
>>>> 42627
>>>>
>>>> ActiveX->IDE->Implementation file management
>>>>
>>>> TLB is not renamed if project that contains a TLB is renamed using
>>>>       
>>>>         
>> save as.
>>   
>>     
>>>>     
>>>>       
>>>>         
>>> It may have crashed because the report _was_ private and you didn't
>>> have access to it. I've made the report public, so you should be able
>>> to see it now.
>>>
>>> Report No: 42627 (RAID: 248075)          Status: Open
>>> TLB is not renamed if project that contains a TLB is renamed using
>>>     
>>>       
>> save as.
>>   
>>     
>>> http://qc.codegear.com/wc/qcmain.aspx?d=42627
>>>
>>> Let me know if you can't.
>>> _______________________________________________
>>> NZ Borland Developers Group - Delphi mailing list
>>> Post: delphi at delphi.org.nz
>>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>>> Unsubscribe: send an email to delphi-request at delphi.org.nz with
>>>     
>>>       
>> Subject: unsubscribe
>>   
>>     
>>>   
>>>     
>>>       
>> _______________________________________________
>> NZ Borland Developers Group - Delphi mailing list
>> Post: delphi at delphi.org.nz
>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>> Unsubscribe: send an email to delphi-request at delphi.org.nz with
>>     
> Subject:
>   
>> unsubscribe
>>
>> Attention:
>> This communication is confidential and may be legally privileged.  If
>>     
> you are not the intended recipient, please do not use, disclose, copy or
> distribute it, other than to return it to us with your confirmation that
> it has been deleted from your system.
>
>   
>> _______________________________________________
>> NZ Borland Developers Group - Delphi mailing list
>> Post: delphi at delphi.org.nz
>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>> Unsubscribe: send an email to delphi-request at delphi.org.nz with
>>     
> Subject: unsubscribe
>   
>>   
>>     
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>
> Attention:
> This communication is confidential and may be legally privileged.  If you are not the intended recipient, please do not use, disclose, copy or distribute it, other than to return it to us with your confirmation that it has been deleted from your system.
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
>
>   


More information about the Delphi mailing list