I want to delete a bitmap. How do I do this in c++.

DestBitmap->Save("TempImage2.bmp");
.
.
.
.
.
//later something like
Delete("TempImage2.bmp");

is there a way to do this.

thanks,
nemo

I am not sure if you could meen something like this if you know the path where the bitmap is... Hope it helps

System::IO::File::Delete("C:\\TempImage2.bmp");

I want to delete a bitmap. How do I do this in c++.

DestBitmap->Save("TempImage2.bmp");
.
.
.
.
.
//later something like
Delete("TempImage2.bmp");

is there a way to do this.

thanks,
nemo

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.