Thread View: borland.public.cppbuilder.internet.socket
6 messages
6 total messages
Started by riweber
Fri, 28 Dec 2007 10:35
Exception since december update
Author: riweber
Date: Fri, 28 Dec 2007 10:35
Date: Fri, 28 Dec 2007 10:35
13 lines
1224 bytes
1224 bytes
Since the december update of CB2007 I always get the exception "Property
SASL mechanism does not exist". I made a form with an TIdSMTP component.
When the form is created I get this exception.
Here is a sample code:
TTestForm::TTestForm(TComponent* Owner):
TForm(Owner) // <--- In this line occurs the exception
{
...
}
Any workarounds?
Re: Exception since december update
Author: Remy Lebeau (TeamB)
Date: Fri, 28 Dec 2007 17:44
Date: Fri, 28 Dec 2007 17:44
14 lines
1495 bytes
1495 bytes
"riweber" <weberedv@atnet.at> wrote in message news:4774d15a$1@newsgroups.borland.com... > Since the december update of CB2007 I always get the > exception "Property SASL mechanism does not exist". SASLMechanisms is an Indy 10 property. Your DFM contains a reference to the property, but your application is not linked to a version of the Indy library that contains that property in its RTTI. So you are likely linking to Indy 9 instead of 10. Gambit
Re: Exception since december update
Author: riweber
Date: Sun, 30 Dec 2007 09:28
Date: Sun, 30 Dec 2007 09:28
19 lines
1655 bytes
1655 bytes
How can I check which version I have. I did a search and the .bpi and .lib files are all from december 2007... Remy Lebeau (TeamB) schrieb: > "riweber" <weberedv@atnet.at> wrote in message > news:4774d15a$1@newsgroups.borland.com... > >> Since the december update of CB2007 I always get the >> exception "Property SASL mechanism does not exist". > > SASLMechanisms is an Indy 10 property. Your DFM contains a reference to the > property, but your application is not linked to a version of the Indy > library that contains that property in its RTTI. So you are likely linking > to Indy 9 instead of 10. > > > Gambit > >
Re: Exception since december update
Author: Remy Lebeau (TeamB)
Date: Wed, 02 Jan 2008 17:47
Date: Wed, 02 Jan 2008 17:47
20 lines
1813 bytes
1813 bytes
"riweber" <weberedv@atnet.at> wrote in message news:477764ba$1@newsgroups.borland.com... > How can I check which version I have. Unfortunately, it is not that simple in this case. The compiler is pulling in a different version of Indy at compile-time than what the IDE is using at design-time. You have multiple versions in your path settings, and the compiler is finding the wrong one. The component works at design-time because the IDE knows which packages it was told to load. So make sure your path settings are configured properly. At the very least, make sure the Indy 10 folders are specified before the Indy 9 folders. > I did a search and the .bpi and .lib files are all from december 2007... That does not mean anything. The timestamps could have just been updated. Gambit
Re: Exception since december update
Author: riweber
Date: Thu, 03 Jan 2008 10:08
Date: Thu, 03 Jan 2008 10:08
28 lines
2281 bytes
2281 bytes
My problem is that I only find one version if I make a search over all paths (with the Windows seearch function I type in *indy*.bpl;*indy*.bpi). All found files have the same dates/times... Can it be that CB2007 links the files of Indy6 (that are on the same Harddisk) from BCB6? Remy Lebeau (TeamB) schrieb: > "riweber" <weberedv@atnet.at> wrote in message > news:477764ba$1@newsgroups.borland.com... > >> How can I check which version I have. > > Unfortunately, it is not that simple in this case. The compiler is pulling > in a different version of Indy at compile-time than what the IDE is using at > design-time. You have multiple versions in your path settings, and the > compiler is finding the wrong one. The component works at design-time > because the IDE knows which packages it was told to load. So make sure your > path settings are configured properly. At the very least, make sure the > Indy 10 folders are specified before the Indy 9 folders. > >> I did a search and the .bpi and .lib files are all from december 2007... > > That does not mean anything. The timestamps could have just been updated. > > > Gambit > >
Re: Exception since december update
Author: riweber
Date: Thu, 03 Jan 2008 17:41
Date: Thu, 03 Jan 2008 17:41
25 lines
1991 bytes
1991 bytes
I looked also what the IDE is linking and it links indy10. All paths are to Indy10 (like lib\indy10 and so on). Remy Lebeau (TeamB) schrieb: > "riweber" <weberedv@atnet.at> wrote in message > news:477764ba$1@newsgroups.borland.com... > >> How can I check which version I have. > > Unfortunately, it is not that simple in this case. The compiler is pulling > in a different version of Indy at compile-time than what the IDE is using at > design-time. You have multiple versions in your path settings, and the > compiler is finding the wrong one. The component works at design-time > because the IDE knows which packages it was told to load. So make sure your > path settings are configured properly. At the very least, make sure the > Indy 10 folders are specified before the Indy 9 folders. > >> I did a search and the .bpi and .lib files are all from december 2007... > > That does not mean anything. The timestamps could have just been updated. > > > Gambit > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads