473,386 Members | 1,726 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,386 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 2170
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: 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:
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.