Click here to Skip to main content
15,919,132 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionC++ Assigning new value to a "map" Pin
C_Zealot30-May-07 16:24
C_Zealot30-May-07 16:24 
AnswerRe: C++ Assigning new value to a "map" Pin
Christian Graus30-May-07 17:04
protectorChristian Graus30-May-07 17:04 
JokeRe: C++ Assigning new value to a "map" Pin
Cedric Moonen30-May-07 20:33
Cedric Moonen30-May-07 20:33 
QuestionRun Once Only Pin
Bram van Kampen30-May-07 14:09
Bram van Kampen30-May-07 14:09 
AnswerRe: Run Once Only Pin
Mark Salsbery30-May-07 14:36
Mark Salsbery30-May-07 14:36 
GeneralRe: Run Once Only Pin
Bram van Kampen30-May-07 14:49
Bram van Kampen30-May-07 14:49 
GeneralRe: Run Once Only Pin
Mark Salsbery30-May-07 14:52
Mark Salsbery30-May-07 14:52 
QuestionVC++ 6.0 Dialog Form with Picture Box Pin
rjrodrig30-May-07 13:51
rjrodrig30-May-07 13:51 
Guys,

Please excuse this dumb question, but I am new to programming in Visual C++ 6.0 and I would like to know how to do the following. I have an array of bytes that it is provided by a Library (myLib.lib). This has a collection of functions that fetch an image from a camera, and provide me the pointer for the 1D array of RGB bytes of an image.

I am writing the application in Visual Basic 6.0 SP6. I want send a command via DLL to a VC++ generated DLL where:

1. when the function receives a command, the function displays a Dialog box
2. The dialog box has a picturebox and paints the array.
3. I saw visual C++ has all the gdi32.lib where Setbitmapbits() is included. However, I thought it was just as simple as using the function but apparently VC has quite a bit things to do in order to use the gdi32.dll or gdi32.lib

I have some experience writing C++ DLL libraries for Visual Basic using _stdcall type of functions. I figure I have to use an RC resource and I know simple Dialogs are available. The questions is how do I make that dialog show up when I call it from VB?

Does anyone know? Any help will be greatly appreciated by those of you who know C++ well. I know VB6 well, so if I can help send me your questions.

Regards,

rjrodrig@yahoo.com

VB on Steroids by VC++
AnswerRe: VC++ 6.0 Dialog Form with Picture Box Pin
Hans Dietrich30-May-07 15:09
mentorHans Dietrich30-May-07 15:09 
Questiondirectsound,how to compress and decompress sound data Pin
kcynic30-May-07 13:17
kcynic30-May-07 13:17 
AnswerRe: directsound,how to compress and decompress sound data Pin
Mark Salsbery30-May-07 15:06
Mark Salsbery30-May-07 15:06 
GeneralRe: directsound,how to compress and decompress sound data Pin
kcynic30-May-07 22:31
kcynic30-May-07 22:31 
GeneralRe: directsound,how to compress and decompress sound data Pin
Mark Salsbery31-May-07 5:27
Mark Salsbery31-May-07 5:27 
QuestionMonochrome Bitmap Issue Pin
CoffeeAddict1930-May-07 12:23
CoffeeAddict1930-May-07 12:23 
AnswerRe: Monochrome Bitmap Issue Pin
Bram van Kampen30-May-07 14:28
Bram van Kampen30-May-07 14:28 
AnswerRe: Monochrome Bitmap Issue Pin
Mark Salsbery30-May-07 15:16
Mark Salsbery30-May-07 15:16 
GeneralRe: Monochrome Bitmap Issue Pin
CoffeeAddict1930-May-07 17:08
CoffeeAddict1930-May-07 17:08 
GeneralRe: Monochrome Bitmap Issue Pin
Mark Salsbery31-May-07 5:36
Mark Salsbery31-May-07 5:36 
GeneralRe: Monochrome Bitmap Issue Pin
CoffeeAddict1931-May-07 8:19
CoffeeAddict1931-May-07 8:19 
GeneralRe: Monochrome Bitmap Issue Pin
CoffeeAddict1931-May-07 8:38
CoffeeAddict1931-May-07 8:38 
GeneralRe: Monochrome Bitmap Issue Pin
Mark Salsbery31-May-07 8:53
Mark Salsbery31-May-07 8:53 
GeneralRe: Monochrome Bitmap Issue [modified] Pin
Mark Salsbery31-May-07 8:43
Mark Salsbery31-May-07 8:43 
GeneralRe: Monochrome Bitmap Issue Pin
CoffeeAddict1931-May-07 9:58
CoffeeAddict1931-May-07 9:58 
GeneralRe: Monochrome Bitmap Issue Pin
Mark Salsbery31-May-07 10:05
Mark Salsbery31-May-07 10:05 
Questiontable and vector, C++ Pin
C_Zealot30-May-07 11:39
C_Zealot30-May-07 11:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.