darklogan 0 Newbie Poster

Hi there guys:

For my OOP class I had to do a game (as usual, as I could see from other posts). I chose doing the traditional "memory" game where you have pairs of images scrambled in a grid and you have to choose the right pairs, until they all go away.
I used ascii images, and lots of colors using SetConsoleTextAttribute, and quite honestly, the game looks fine, and works perfect.

However, my teacher says that if i can switch to gui, using mfc or something more "graphical" I would get a bonus, and I need that bonus :D

We HAVE to use Visual C++ 6.

So, i have my code (i dont find it necessary to post it) which works in console mode. And what i need to do now is that instead of displaying a bunch of colored -,+,|, # and other chars, it just loads a bmp.

I have been reading lots of tutorials, including forgers, and found loadpic.exe which is supposed to be Microsoft's solution for the problem.

I have managed to "create" applications which load different pictures, but only one at a time, not one next to the other, as i need them for the memory game. I also have trouble "inserting" the code I made into the program. I thought i was making progress using the OleLoadImage() function, but it got me nowhere.

I'd apprecieate any help.

-DL

Thanks for any help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.