473,473 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

C++ DIB's

I'm sure this has been asked, but I cannot fid it. I have a DLL (Not mine,
3rd party) and the documentation simply says "Return DIB". Well, since this
sucker was made with C++, I'm at a complete loss. Basically, this sucker
returns the pointer to the DIB as an Object, which is odd on me. So, I need
to load this thing into a picturebox and display it, then maybe save it
later. I also may need to load picture from file and throw it as a DIB
back into this DLL. If someone wants to walk me through it, I could even
post whatever structure this thing is returning. There's alot of unknowns,
and graphics is my least favorite subject (reqiures too much thought).

Thanks in advance,
Sueffel
Nov 20 '05 #1
2 2173
Check out this thread...

http://www.google.com/groups?q=dataf...phx.gbl&rnum=4
"Sueffel" <so*****@somewhere.com> wrote in message
news:eW*************@TK2MSFTNGP09.phx.gbl...
I'm sure this has been asked, but I cannot fid it. I have a DLL (Not mine, 3rd party) and the documentation simply says "Return DIB". Well, since this sucker was made with C++, I'm at a complete loss. Basically, this sucker
returns the pointer to the DIB as an Object, which is odd on me. So, I need to load this thing into a picturebox and display it, then maybe save it
later. I also may need to load picture from file and throw it as a DIB
back into this DLL. If someone wants to walk me through it, I could even
post whatever structure this thing is returning. There's alot of unknowns, and graphics is my least favorite subject (reqiures too much thought).

Thanks in advance,
Sueffel

Nov 20 '05 #2
Check out this thread...

http://www.google.com/groups?q=dataf...phx.gbl&rnum=4
"Sueffel" <so*****@somewhere.com> wrote in message
news:eW*************@TK2MSFTNGP09.phx.gbl...
I'm sure this has been asked, but I cannot fid it. I have a DLL (Not mine, 3rd party) and the documentation simply says "Return DIB". Well, since this sucker was made with C++, I'm at a complete loss. Basically, this sucker
returns the pointer to the DIB as an Object, which is odd on me. So, I need to load this thing into a picturebox and display it, then maybe save it
later. I also may need to load picture from file and throw it as a DIB
back into this DLL. If someone wants to walk me through it, I could even
post whatever structure this thing is returning. There's alot of unknowns, and graphics is my least favorite subject (reqiures too much thought).

Thanks in advance,
Sueffel

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Richard | last post by:
Hello, I have a DIB image that I have extracted from an Access 97 database. I would like to open the image with .NET but it doesn't seem to recognize it as a bitmap file. Is there a certain...
4
by: Sueffel | last post by:
I'm sure this has been asked, but I cannot fid it. I have a DLL (Not mine, 3rd party) and the documentation simply says "Return DIB". Well, since this sucker was made with C++, I'm at a complete...
1
by: Bruce D | last post by:
I apologize...I'm new to VB .NET. I'm wondering if I can somehow convert the pointer to the handle of a DIB to the actual DIB? Below is the code that I use to get the pointer to the handle of a...
3
by: Just Me | last post by:
1) Is there a relative easy way to get a DIB from the clipboard? 2) what is returned with GetData if the clipboard contains a DIB (the DIB, HtoDIB,...)? Thanks in advance
3
by: Geoff Tanaka | last post by:
Hi, I have created a DIB in C# and I am having a problem using it in a C++ DLL. Basically I have a C++ DLL which requires a DIB handle to be passed into it. I create the DIB using: IntPtr myDIB...
2
by: cosminb | last post by:
I have a native function which returns an image in the form of a BYTE* lpDIB array. How do I convert it to a Bitmap, so that I can work with it properly in C#? Thanks in advance, Cosmin
0
by: James Russo | last post by:
Hello, I have an application which requires an image to be retrived from the clipboard. So, I am writting a quick C# windows application to take images from a webcam and store a single frame on...
1
by: Joao Tomas | last post by:
Hi I use this function to retrieve a pointer to a DIB (device-independent bitmap) in memory pGetFrameObj = AVIStreamGetFrameOpen(pAVIStream, bih) 'force function to return 24bit DIBS it...
12
by: active | last post by:
I've been looking on the Internet for a way to convert a DIB to a Bitmap without success. Now I'm wondering if that is the approach I should be taking. All I want to do is display the DIB or...
2
by: active | last post by:
Is there an easy way to add a Dib to the clipboard. I've tried these commands. myData.SetData(DataFormats.Bitmap, True, MyBitmap) SetClipboardData(CLIPFORMAT.CF_BITMAP,...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.