Load bitmap from a file
-
Folks, I am looking for a simple way to load two bitmaps in C++ .NET All I need to do is load them, and know they are there. I have a .DLL that will then run comparison test. My expertise in this is only starting to develop, so advice is appreciated. Sincerely, Max Pastchenko
-
Folks, I am looking for a simple way to load two bitmaps in C++ .NET All I need to do is load them, and know they are there. I have a .DLL that will then run comparison test. My expertise in this is only starting to develop, so advice is appreciated. Sincerely, Max Pastchenko
Is
LoadBitmap()
what you are looking for?
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
-
Folks, I am looking for a simple way to load two bitmaps in C++ .NET All I need to do is load them, and know they are there. I have a .DLL that will then run comparison test. My expertise in this is only starting to develop, so advice is appreciated. Sincerely, Max Pastchenko
If you need to load them from files, this CDibData article by John R. Shaw[^] might be of help. -- jlr http://jlamas.blogspot.com/[^]
-
Is
LoadBitmap()
what you are looking for?
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
You are probably, right, I am gona work on trying to figure out how to implement it. An example you would useful. Sincerely, Max Pastchenko
-
Folks, I am looking for a simple way to load two bitmaps in C++ .NET All I need to do is load them, and know they are there. I have a .DLL that will then run comparison test. My expertise in this is only starting to develop, so advice is appreciated. Sincerely, Max Pastchenko
LoadImage does this, just use the LR_LOADFROMFILE flag.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04 "There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05 Within you lies the power for good - Use it!
-
If you need to load them from files, this CDibData article by John R. Shaw[^] might be of help. -- jlr http://jlamas.blogspot.com/[^]
Yes, this appers useful. I will look at this example in details later today. Sincerely, Max Pastchenko
-
LoadImage does this, just use the LR_LOADFROMFILE flag.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04 "There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05 Within you lies the power for good - Use it!
What does this flag indicate? Sincerely, Max Pastchenko
-
What does this flag indicate? Sincerely, Max Pastchenko
That you're loading an image from a file. You can use it to load from resources as well, from memory. Christian Graus - Microsoft MVP - C++
-
What does this flag indicate? Sincerely, Max Pastchenko
Read all about LoadImage in MSDN[^]
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04 "There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05 Within you lies the power for good - Use it!
-
You are probably, right, I am gona work on trying to figure out how to implement it. An example you would useful. Sincerely, Max Pastchenko
mpastchenko wrote: An example you would useful. See here.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb