modern C++ - fail to write

2 posts / 0 new
Last post
Offline
Last seen: 5 years 2 months ago
Joined: 12/19/2018
Posts: 2
how to keep pointer on the Data Writer ?

I have some class that hold pointer on the data writer. 

On my init function i fine the data writer by name - and i set the pointer to this data writer. 

Now, when i try to use this pointer -- i get exception that the writer is close. 

when i check the address value i see that its valid address and not null. 

what to do ? 

( code is modern C++ ) 

Subscribe to RSS - modern C++ - fail to write