Unfortunately no. Only using stdOle32.tlb (which I assume is std).
It has been a while since I have done this stuff but should I (D2007) be
able to double click a method name in the left list of the 'type
library' screen and have it take me to the source code? I thought it
used to. I wonder if there is some problem / file missing between the
type library files and the pas with the methods?
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
Leigh Wanstead wrote:
Another thing to check if your tlb using other com stuff i.e. msxml library
etc or your other com object dll.
Regards
Leigh
www.smootharm.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Neven MacEwan
Sent: Tuesday, July 31, 2007 12:10 PM
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Com support
Robert
do a regedit search on your exe name and see what you find, ie check a
working and non working machine
HTH
Neven
Hi
I don't know where to check this. However would that be the issue on
multiple (we now have 6 machines not working (and one that does)) ?
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
Neven MacEwan wrote:
I'm not an expert in COM exe's but have you checked the registry - is
it a GUID problem?
ie the interface is there but not with the ID the machine has registered
N
Robert martin wrote:
Further to the stuff below just tested it on a Third machine and no
go also on that machine (but it still works on the other dev machine).
My machine (D2007 windows vista) - Fails
Other Dev Machine (D2007 Win XP) - succeeds
Other machine (No delphi, Win XP) - Fails
Clients machine Win XP - Fails
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
Robert martin wrote:
Hi
Internet back up now - what a nightmare (on top of this nightmare),
Telecom changed our password and an ex staff member removed our
router instructions so we had to reset the unit. Then it just
wouldn't connect. Turned out we were cutting and pasting a space
in with the user name. Arrrggggghhh (3hrs down the drain).
In answer to your questions.. The error reported is 'Interface not
supported'. This happens when we try to create the class. As far
as I know the _Tlb file is being compiled it, it is part of the
project.
We have never needed to manually register the exe (it has always
worked perfectly at all our sites). However if I do try to
manually register it (using regsvr32) I get 'The module ..... was
loaded but the entry-point dllRegisterServer was not found. Make
sure that ... is a valid dll or OCS file and try again.'.
However there is something weirder happening now. The issue was
reported bay a client we upgraded. I tested it on my dev machine
which replicated the problem. However another Dev machine here
with an older copy of files tested fine. I found my machine was
missing the .tlb file. This fixed the 'Type library' missing from
the menu but didn't fix the problem on my machine.
I have just found that the exe created by may machine fails on my
machine but runs on the other dev machine. If I go back to my old
dev files (missing the .tlb file) I can no longer access the 'type
library' menu but the files compiled still work on the other Dev
machine.
I think during my attempts to fix the situation I have broken
something else on my machine. The 'Register type library' option
is greyed out on my 'type library' screen and when I try and save
my project I get....
'Unable to rename 'C:\.......\Client\ChreosClient.tlb' to
'C:\.......\Client\_History\ChreosClient.tlb.~1~' '
There is no 'C:\.......\Client\_History\ChreosClient.tlb.~1~' file
(although there are lots of other units). I can manually copy the
file and create it as listed above. However I then get the same
error with .~2~. I have had this problem in the past and it went
away (I suspect with the removal of the .tlb file. This prevents
me saving the project and any changes to the _tlb.pas / .tlb files.
Sorry about the long story but this is driving me up the wall !
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
Myles Penlington wrote:
Is the *_TLB.pas compiled into the project? And has the exe been
registered? What errors are reported by COM when attempt to access
the
COM objects?
Myles.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of Robert martin
Sent: Tuesday, 31 July 2007 09:38
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Com support
Hi
Its actually an exe that provides COM support. I was missing the
.tlb which I managed to copy back of another machine. This now
allows me to bring up the type library but alas still no com
support. It is failing on multiple machines.
Sorry our Internet is down. Will provide further details ASAP.
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
Leigh Wanstead wrote:
Have you registered your com dll?
Regards
Leigh
www.smootharm.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Robert martin
Sent: Monday, July 30, 2007 3:23 PM
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Com support
Hi I have an app that (usually) provides some COM support. I have
just
updated a client and the COM stuff seems to be 'turned off' (as in
the
calls don't seem to work. I did the COM stuff years ago, does
anyone
have any suggestions where to start looking (I assume its a
setting /
line of code somewhere I have turned off).
p.s. My COM code and tlb file still seem intact.
Hellllllp
--
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with
Subject:
unsubscribe
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with
Subject: unsubscribe
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] 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@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with
Subject: unsubscribe
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with
Subject: unsubscribe
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with
Subject: unsubscribe
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with
Subject: unsubscribe
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with
Subject: unsubscribe
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject:
unsubscribe
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe