Do you know how to save the content of a vector that is in a different form?


Do I have to do a dynamic_cast or something like that?


The vector has some numbers and I have to save them with a TSaveDialog that is in a different form.

Sometimes casts will work, sometimes you need to change types, etc. Without knowing what type you have and what type you want to change into it's not possible to say what the best approach might be.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.