[Clam-devel] Re: CLAM::Network::StoreOn(Storage &). What am I missing?

Natanael Olaiz nolaiz at gmail.com
Fri May 30 02:57:45 PDT 2008


*Off-topic*: I see that my previous message went out with a link to 
"lover" in wordreference. :-D
I pasted a wrong text, and after delete it the Thunderbird didn't do it 
entirely. Be careful with copy & pastes. :-)

About the "lovers": http://nael.freehyperspace.com/dadaisonline/?p=334


El 05/30/2008 06:34 AM, Natanael Olaiz escribió:
> I feel that I'm falling in some very stupid mistake... but I don't 
> understand what am I doing wrong.
>
> When I try to do:
>
>     CLAM::XmlStorage storage;
>     _network->StoreOn(storage);
>
> (on NetworkCanvas -i.e., _network = used CLAM::Network *-)
> It gaves a segmentation fault.
>
> If I try with a new empty network:
>
>     CLAM::XmlStorage storage;
>     CLAM::Network newnetwork;
>     const std::string strr="testing";
>     storage.Create(strr);
>     newnetwork.StoreOn(storage);
>
> is the same.
>
> Now I'm going to sleep. I think that later I would be able to solve 
> that... but if someone knows what is my mistake, I'll appreciate some 
> clues.
> I know David and Pau are busy right now, so you don't worry. I just 
> ask because I think this could be a simple misconception.
> Is it?
>
>
> Regards,
> Natanael. 





More information about the clam-devel mailing list