Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Consol application to MFC

Status
Not open for further replies.

mannoman

Programmer
Jan 10, 2005
1
DE
Hallo,

I have wrote a Programm (Console application) to capture a Packet in a real network with VC++. Now I want to write this programm as MFC Application. My Idea is to write the code in one Methode but I don't no where I must call this Methode. In Initinstance?

Any help is welcome.

Regards.
 
InitInstance if you want it to wait for the packet before starting up. Depending on what you are doing, it might be a good idea to have the user press a button to tell it to listen and put the code in its message handler for when it is clicked.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top