Interview Questions  

Go Back   Interview Questions > Interview Questions & Answers > Information Technology > Programming Languages > VC++ > MFC

MFC MFC Interview Questions, Learn by sharing MFC Interview Questions asked in various Companies, Get Career advices, Interview Procedures from MFC experts, Post asked MFC Interview Questions and Answers.

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-07-2008, 04:32 AM
Senior Member
 
Join Date: Mar 2008
Posts: 811
Default What is the use of AFX_MANAGE_

What is the use of AFX_MANAGE_STATE ?
Reply With Quote
  #2 (permalink)  
Old 05-29-2008, 03:30 AM
Junior Member
 
Join Date: May 2008
Posts: 2
Default

Generally application uses resources from local resource pool
When you used regular dll which is dynamically linked to MFC classes and which has its own resources, you should use
AFX_MANAGE_STATE(AfxGetStaticModuleState);

This allows to switch to dll resources.


You should not use this function if you use extension dll or regular dll with static linking.

Thanks
Deepak
Reply With Quote
Reply

Tags
mfc, programming language, software, vc++

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On