Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loading a picture...but not from a file...HELP!

Status
Not open for further replies.

JamieFuller

Programmer
May 2, 2001
20
GB
I have written a really cool encryption algorythm that protects my private pictures (jpg format). when my decrypter runs it loads the encrypted file into memory, processes it in memory (a string the length of the file). i need to put this string of memory into a picture box (as a picture) WITHOUT saving it as a file then loading that file back in with the loadpicture function and without writing each pixel to the screen 'cos thats just way too slow.

Would this be possible with the CopyMemory API?. could i copy the memory from the string location into the memory of the bitmap HDC or something?

Any help would be greatly appreciated

Kindest Regards
Jamie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top