473,383 Members | 1,929 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

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 2169
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.