Repost Create a Bitmap from a Device and pass that
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 4 articles for 0.006 sec
Repost: Create a Bitmap from a Device and pass that bitmap to C#     

Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for Repost Create a Bitmap from a Device and pass that in microsoft.public.win32.programmer.directx.graphics
Author: Allan Michaels
Date: Dec 6, 2007 11:52

Hello all, [Sorry for the repost. My IT dept. let my ... code so that C++ creates the device, vertices, and indexes then ... need to get a bitmap from the device and return the ...(or a pointer to the bitmap) back to the C# code.... return a handle to a bitmap. I returned that pointer to ...Understanding that this is a bitmap *file* in memory, I indexed ...I get and return a bitmap type that is useful in...
Show full article (1.36Kb)
RE: Repost: Create a Bitmap from a Device and pass that bitmap to     

Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for Repost Create a Bitmap from a Device and pass that in microsoft.public.win32.programmer.directx.graphics
Author: Allan Michaels
Date: Dec 10, 2007 05:48

Thanks for your responses WenJun. However, over the weekend, I solved my problem. I will post the code here as soon as my immediated deadline has passed. Thanks again. -- Allan Michaels Ann Arbor, MI
Show full article (0.21Kb) · Show article thread
RE: Repost: Create a Bitmap from a Device and pass that bitmap to C#     

Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for Repost Create a Bitmap from a Device and pass that in microsoft.public.win32.programmer.directx.graphics
Author: WenJun Zhang[msft]
Date: Dec 10, 2007 02:06

Hi Allan, The key point of here is that the data returned from D3DXSaveSurfaceToFileInMemory() isn't the same format as something like CreateDIBitmap() expects. It's a buff of LPD3DXBUFFER type. So you cannot easily convert it to HBITMAP to be used with Image.FromHbitmap(). I'm currently ping our dev group to consult about how to perform this kind of covert. If there is any update ...
Show full article (1.62Kb) · Show article thread
RE: Repost: Create a Bitmap from a Device and pass that bitmap to C#     

Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for Repost Create a Bitmap from a Device and pass that in microsoft.public.win32.programmer.directx.graphics
Author: WenJun Zhang[msft]
Date: Dec 6, 2007 23:41

Hi Allan, I'm currently researching your issue and will post here as soon as I get any information or findings. Please wait for my update. Thanks and have a nice weekend. Sincerely, WenJun Zhang Microsoft Online Community Support ================================================== Get notification to my posts through email? Please refer to: http://msdn.microsoft.com/...
Show full article (1.34Kb) · Show article thread