From: Matthias D. <mdr...@gm...> - 2008-05-15 19:41:31
Hi all,
if I run my application a folder with the name "registry" is created at
the location of my application. The folder is empty.
Is it possible to prevent the creation of this folder?
Regards
M. Dreißig
This is created in the RegisterSessionManager constructor. The registry
folder serves no purpose for the OSSPhone user agent so you may safely
remove it in your implementation.
RegistrationDatabase::RegistrationDatabase()
{
#if HAS_CPPSQLITE
m_HasContactRecovery = PrepareContactRecoveryDB(
"ContactRecovery.sqlite" );
#else
m_HasContactRecovery = TRUE;
OString dir = PProcess::Current().GetFile().GetDirectory() + "registry";
if( !PFile::Exists( dir.c_str() ) )
PDirectory::Create( dir.c_str() );
m_RegRecoveryDIR = dir.c_str();
#endif
}
Matthias Dreißig wrote:
> Hi all,
>
> if I run my application a folder with the name "registry" is created at
> the location of my application. The folder is empty.
>
> Is it possible to prevent the creation of this folder?
>
> Regards
> M. Dreißig
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> opensipstack-devel mailing list
> ope...@li...
> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
>
>
>
>
From: Matthias D. <mdr...@gm...> - 2008-05-19 12:11:14
Thanks for your help.
jo...@op... schrieb:
> This is created in the RegisterSessionManager constructor. The registry
> folder serves no purpose for the OSSPhone user agent so you may safely
> remove it in your implementation.
>
> RegistrationDatabase::RegistrationDatabase()
> {
> #if HAS_CPPSQLITE
> m_HasContactRecovery = PrepareContactRecoveryDB(
> "ContactRecovery.sqlite" );
> #else
> m_HasContactRecovery = TRUE;
> OString dir = PProcess::Current().GetFile().GetDirectory() + "registry";
> if( !PFile::Exists( dir.c_str() ) )
> PDirectory::Create( dir.c_str() );
> m_RegRecoveryDIR = dir.c_str();
> #endif
> }
>
>
> Matthias Dreißig wrote:
>
>> Hi all,
>>
>> if I run my application a folder with the name "registry" is created at
>> the location of my application. The folder is empty.
>>
>> Is it possible to prevent the creation of this folder?
>>
>> Regards
>> M. Dreißig
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> opensipstack-devel mailing list
>> ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
>>
>>
>>
>>
>>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> opensipstack-devel mailing list
> ope...@li...
> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
>
>