Search found 22 matches

Go to advanced search

by tnarol
13 Oct 2008, 16:27
Forum: Support
Topic: POCO "Remoting" ?
Replies: 1
Views: 1170

POCO "Remoting" ?

Hi, I've found the following page : http://www.appliedinformatics.at/en/products/remoting.html It appears as a very interesting idea but I think it deserves a few more explainations. Is the "remoting" feature available in POCO libraries or is it a separate framework intended to be sold ? Is there a ...
by tnarol
08 Nov 2007, 16:25
Forum: Support
Topic: FileAccessDenied exception
Replies: 1
Views: 2464

FileAccessDenied exception

Hi, I have to delete a file if it exist so my code is something like : File fileDest(filePath); if (fileDest.exists()) { try { fileDest.remove(); } catch (...) { } } While running this code under Windows with an existing file I enter the 'exist' condition but the remove function throws a "FileAccess...
by tnarol
06 Jul 2007, 20:10
Forum: Support
Topic: WinRegistryKey bug ???
Replies: 0
Views: 3241

WinRegistryKey bug ???

Hi, I'm using version 1.2.9 of Poco under Windows XP and Visual Studio 2005. After experiencing strange behaviours using WinRegistryKey I decided to perform a very simple test using the provided WinRegistryTest.cpp unit test file. I've added the following code at the very top of the testRegistry met...
by tnarol
04 Jul 2007, 10:22
Forum: Support
Topic: MFC and ConsoleChannel
Replies: 2
Views: 3386

Re: MFC and ConsoleChannel

It's working fine. Thanks very much.
by tnarol
03 Jul 2007, 16:19
Forum: Support
Topic: MFC and ConsoleChannel
Replies: 2
Views: 3386

MFC and ConsoleChannel

Hi, I'm using a Logger with a ConsoleChannel attached to it. I developped a test console project and everything worked fine. Now I moved my classes to a project using MFC and it no longer works. I could check on the degugger that the log() method of the ConsoleChannel class is called but it produces...
by tnarol
03 Jul 2007, 16:05
Forum: Support
Topic: destruction of XML objects
Replies: 2
Views: 3368

Re: Re: destruction of XML objects

Ok I fixed this problem, it was my mistake ! There were many memory leak issues, that I fixed after realizing that I had to destroy every single element added to the document... I thought they was added to a pool and therefore I needn't destroy them.
by tnarol
27 Jun 2007, 18:14
Forum: Support
Topic: destruction of XML objects
Replies: 2
Views: 3368

destruction of XML objects

Hi, Using version 1.2.9 I noticed that XML objects such as Poco.XML.Document and Poco.XML.Element have a protected destructor but don't have a release() method. So I don't know how to destroy objects created as follows : Poco.XML.NamePool* XmlNamePool = new Poco.XML.NamePool(20000); Poco.AutoPtr pDo...
by tnarol
15 Jun 2007, 13:36
Forum: Support
Topic: Special characters in XML
Replies: 6
Views: 4502

Re: Re: Re: Re: Special characters in XML

> Starting with POCO 1.3.0, POCO uses UTF-8 for all strings used internally (e.g., filesystem paths, etc.). So the best way to deal with Unicode in POCO is to convert everything into UTF-8 as soon as it comes into the application, and then only work with UTF-8 strings in your application. The XML pa...
by tnarol
15 Jun 2007, 11:05
Forum: Support
Topic: Special characters in XML
Replies: 6
Views: 4502

Re: Re: Special characters in XML

I managed to perform to expected operation using the TextConverter as follows. Could you confirm this is the most efficient way to proceed ? XML writing Latin1Encoding latin1Enc; UTF8Encoding utf8Enc; // input text std::string str = "téxt2"; std::string strConv; TextConverter textConv(latin1Enc, ut...
by tnarol
14 Jun 2007, 23:48
Forum: Support
Topic: _CrtIsValidPointer assertion when returning from WinRegistryKey::getString
Replies: 9
Views: 5395

Re: Re: _CrtIsValidPointer assertion when returning from WinRegistryKey::getString

> I recommend you double check your project settings.

Ok thanks for trying to help. Which project settings are important ? What does the preprocessor definition POCO_DLL imply ? Should I define it when compiling the libraies ? Should I define it when compiling the code linking with the libraries ?

Go to advanced search

cron