TechTalkz.com Logo Ask the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Programing Languages > VC.NET

Notices

Convert HGlobal into a Stream

VC.NET


Reply
 
Thread Tools Display Modes
Old 12-12-2007, 05:37 PM   #1
Cartoper
Guest
 
Posts: n/a
Convert HGlobal into a Stream

I have an image stored in a HGlobal and would like to load it into a
System::Image via the System::Image::FromStream(). How do I convert
the HGlobal into a stream?
  Reply With Quote
Old 12-12-2007, 05:37 PM   #2
Michael Phillips, Jr.
Guest
 
Posts: n/a
Re: Convert HGlobal into a Stream

>I have an image stored in a HGlobal and would like to load it into a
> System::Image via the System::Image::FromStream(). How do I convert
> the HGlobal into a stream?


CreateStreamOnHGlobal

See MSDN:
http://msdn2.microsoft.com/en-us/library/aa378980.aspx

"Cartoper" <cartoper@gmail.com> wrote in message
news:8cfe41b8-a860-4298-97be-c319b5793dad@d27g2000prf.googlegroups.com...
>I have an image stored in a HGlobal and would like to load it into a
> System::Image via the System::Image::FromStream(). How do I convert
> the HGlobal into a stream?



  Reply With Quote
Reply

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 07:16 AM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional