Mega Search
23.2 Million


Sign Up

Make a donation  
Exception since december update  
News Group: borland.public.cppbuilder.internet.socket

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?

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 28-Dec-2007, at 11:35 AM EST
From: riweber
 
Re: Exception since december update  
News Group: borland.public.cppbuilder.internet.socket
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"  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 
> 
> 

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 3-Jan-2008, at 6:41 PM EST
From: riweber
 
Re: Exception since december update  
News Group: borland.public.cppbuilder.internet.socket
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"  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 
> 
> 

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 3-Jan-2008, at 11:08 AM EST
From: riweber
 
Re: Exception since december update  
News Group: borland.public.cppbuilder.internet.socket
"riweber"  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 



Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 2-Jan-2008, at 9:47 AM EST
From: Remy Lebeau \(TeamB\)
 
Re: Exception since december update  
News Group: borland.public.cppbuilder.internet.socket
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"  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 
> 
> 

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 30-Dec-2007, at 10:28 AM EST
From: riweber
 
Re: Exception since december update  
News Group: borland.public.cppbuilder.internet.socket
"riweber"  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 



Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 28-Dec-2007, at 9:44 AM EST
From: Remy Lebeau \(TeamB\)