Jump to content
  • Advertisement
Sign in to follow this  
commy2005

MFC and WIN32 conbine??

This topic is 4849 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys and gentlemens including ladies, I have been programming for a while now in Win32 and MFC independently.I was wondering could I actually mix both of the win32 and mfc together? 1)I wanted to use CPicture in win32,is this possible? 2)Could I actually use any MFC classes in WIN32? 3)Or is the other way around possible?MFC using Win32? Hopefully someone could help me out of this misery:( commy

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
i use Win32 in MFC all the time at work, since i am still better at Win32 and MFC can be better customized by using it. I would think this is the way to go, though setting up your project to support the MFC libraries in MFC may not be that hard.

If all else fails, you may want to try this implementation of CPicture. No charge for the clicky.

Hope this helps.

Share this post


Link to post
Share on other sites
Did you know MFC is just a wrapper for Win32? [grin] So yes, you can do whatever your heart desires with the two. MFC was made to easly be used with Win32 as well. However, you cannot take MFC stuff and just use it in a Win32 program, it has to be a MFC program that uses Win32.

Share this post


Link to post
Share on other sites
Thanx guys especially anist.!!

Here are my problems actually.....

I actually wrote a game in WIN32(pure WIN32) and wanted to include a chatroom.
I having lots of problem.I wanted to write a chatroom which is as similiar to msn messenger,gif emoticons(where msn messenger uses png) can be use to put into the chatroom.Write a text and emoticons can be put together in the chatroom.

What you guys recommend?using rich edit text incorperate them into the WIN32?I having extreme headache doing that.OMG is like a KILLER ...any recommendations?

any recommendations or ideas from anyone who are good at this stuff?

in despair,
Commy

Share this post


Link to post
Share on other sites
Quote:
Original post by commy2005
Thanx guys especially anist.!!

Here are my problems actually.....

I actually wrote a game in WIN32(pure WIN32) and wanted to include a chatroom.
I having lots of problem.I wanted to write a chatroom which is as similiar to msn messenger,gif emoticons(where msn messenger uses png) can be use to put into the chatroom.Write a text and emoticons can be put together in the chatroom.

What you guys recommend?using rich edit text incorperate them into the WIN32?I having extreme headache doing that.OMG is like a KILLER ...any recommendations?

any recommendations or ideas from anyone who are good at this stuff?

in despair,
Commy


I suggest you to create a MFC DLL with a C interface that do not expose anything which is related to MFC. This way, you'll be able to continue to use your code, and you'll be able to create a MFC-powered chatroom.

HTH,

Share this post


Link to post
Share on other sites
Thanx Emmanuel!!

I was wondering are there any good tutorial on creating MFC DLL to be use in WIN32.I was thinking awhile to do what you recommend.I have very little experience in creating a DLL.

Hope you could actually help out.Thanx in advance:)

back from despair,
Commy2005

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!