Saturday, December 20, 2008

Visual C++ FAQ

Visual C++
PRACTICE QUIZ
Directions for using Microsoft Visual C++ 2008 Exp...
Windows Socket Faq's
MFC - Microsoft Foundation Classes, GUI Developmen...
SDI and MDI Applications, Doc/View Architecture
Dialog Based Applications
The workspace, the VC++ IDE, Visual Studio Editor
Sample VC++ Project - Making a Data Viewer
C++ Essentials
Behind the scenes, Handles and Messages
What is COM - Component Object Model ?
Visual Studio 2003 & 2005 Default Keyboard Shortcu...
Using VSS - Visual Source Safe
Clashing for enumerations.
When to use Switch-case statement
Auto Pointer: auto_ptr
Function name mangling for C++ and Java
What is auto_ptr ? Why Call It an "Auto" Pointer?
Variable Arguments in C-C++ with STDARG Library
Process Synchronization
OOAD -Object Oriented Analysis and Design
VC++ Questions
What is a pointer?
MFC - Microsoft Foundation Classes Design Patterns...
Visual C++ Tutorial By Brian Martin
C Puzzles: Questions and Answers
more C Questions
C Questions
Windows Programming Questions
C FAQ's
General Programming Interview Questions
Windows Programming Interview Questions
STL- Standard Template Library Question and answer...
C++ Windows, MFC, Win32 Questions
What is Multithreading?
Multi-Threading in Windows
Threading Questions and Answers
Multithreading and Synchronization in Win32 applic...
What is a Message Loop ?
What is the Message Queue
What is a Message?
The Window Procedure ( wndproc)
The Windows Message Loop
Multi-threading basics
Debugging Windows applications (Win32 applications...
C, C++ Mixed Questions with answers and explanatio...
C Frequently Asked Questions
C Interview Questions and Answers I
Miscellaneous VC++, Windows Questions
OOAD Interview Questions and Answers
Write a function that reverses the order of the wo...
Remove Specified Characters from string.
Write an efficient function to find the first nonr...
Write a function that determines the number of 1 b...
Big-endian or Little-endian :Important Write a fun...
Explain the difference between an interface and an...
What is the difference between list and vector?
What's the difference between aggregation and cont...
Calculating the Size of an Incomplete Array An inc...
What is the size of an Empty Class, Class with vir...
How to Compile and build Visual Studio (Visual C++...
Explain Customized control development? What is su...
How to debug an exe( application) which is launche...
What is Serialization ? Explain in detail.
When is the OnIdle function called? how we can cal...
What Is an ActiveX Control?
What is a Function Pointer ?
Explain Splitter Window ?
What is duplicating handle ?
Explain Condition's for deadlock occurrence?
19. What is a multi-threaded apartment (MTA)? Sing...
What is Message Reflection ? How could you accompl...
What is CArchive class does?
Explain the difference between the following... pu...
How many problems can you spot in the following cl...
What is difference between GetWindowRect and GetCl...
What is thread and process in windows ?
Explain Windows Handle?
What is Message Maps ?
Explain Pipes for IPC
Explain RPC for IPC
Explain Windows Sockets for IPC
Explain Mailslot for IPC
Using a File Mapping for IPC
Explain DDE for IPC
Using Data Copy for IPC
Using COM for IPC
Explain ClipBoard -IPC.
Explain IPC - Interprocess communication.
Explain the flow of a simple win32 based applicati...
Explain DEBUG_NEW or what is the use of DEBUG_NEW ...
Explain Property, Property page and Property sheet...
Explain dialog data exchange (DDX) and dialog dat...
What is assertion?
Explain application framework Or framework?
What is an ActiveX control?
What is Zero Administration for Windows?
Name two characteristics of an ActiveX control des...
You have created a licensed ActiveX control and ha...
What are two common ways ActiveX controls are lice...
What is the main advantage ATL offers over MFC whe...
Name three modes of application deployment.
Must ActiveX controls be registered on a system be...
What is the purpose of the InstallShield tool?
What are cabinet files and registry files?
What are the two stages of deployment?
What is regression testing?
What information is contained in the four lists th...
What is a dependency?
What utility does Visual C ++ provide for running ...
How does a debugger cause a running program to int...
Describe MFC's ASSERT, VERIFY, and DEBUG_NEW macro...
How does a debug version of a program differ from ...
Name two ways in which a COM server communicates a...
What is an HRESULT?
What is Structured Exception Handling?
How do ISAPI server extensions and ISAPI filters d...
How do you specify the default function for an ISA...
How do you specify which menu commands of the Acti...
How can you save changes to ActiveX documents depl...
How does the Microsoft Scriptlet C omponent handle...
In an ATL HTML control, how do you define methods ...
What is the preferred method of creating a Web bro...
What situations are best suited to using MFC to im...
How does an object derived from CComControl handle...
What is a connection point?
What is the purpose of the DDP functions, and wher...
How do you implement property persistence for an M...
What are the advantages and disadvantages of COM c...
What is the purpose of the second argument to CoCr...
How does a _com_ptr_t object help you control the ...
What kind of class represents a C OM interface in ...
How are the keywords interface, coclass, and libra...
What is an object map and how is it used?
What is a COM map and how is it used?
Describe the features provided by the templated ba...
Describe the features provided by the templated ba...
What issues must you consider when implementing an...
What are the implications of declaring your C OM o...
What is a type library, and how is it used?
How do you implement standard marshaling?
What are the differences among in-process, local, ...
What is a GUID, and what role does it play in COM?...
What is a C OM interface?
Which property of the ADO Data control is used to ...
With which ADO object is the Errors collection ass...
What does the CRecordset::GetDefaultConnect() func...
You need to open a CRecordset object so that you c...
What is wrong with the following SQL statement? S...
What does the default implementation of the Serial...
Where do the MFC profile management classes WriteP...
Which registry key should be used to store applica...
How can you connect an ADO application to an ODBC ...
What steps are necessary to make a class serializa...
What kind of exception is thrown by the CFile::Ope...
How do you open a file in text mode?
How do you create a hyperlink in a Help project .r...
How are Help context IDs specified in a Help proje...
What is the difference between a CCriticalSection ...
What kinds of threads must be created by using a C...
Which function associates a drawing tool object wi...
Which two functions are used to specify coordinate...
How do you make controls unavailable in a dialog b...
How is the DoDataExchange() function called? How d...
You have created a dialog box template using the d...
How would you make an edit control in a dialog box...
What is the recommended way to update a status bar...
How can you dynamically change the text of a menu ...
How do you implement ToolTip text for your toolbar...
How do you ensure that the client area of your app...
Which MFC class encapsulates GDI drawing functions...
What is the function of a document template object...
Name four categories of Windows messages that can ...
What type of classes can implement message maps?
Which member function of which MFC class implement...
Why would you use an MFC extension DLL?
What services are provided by the CObject class?
When developing an MFC application, under what cir...
What can you set on the C/C++ tab of the Project S...
What project configurations are created for you au...
What kind of data can you access through an OLE DB...
You are writing an MFC application that will allow...
What are some of the benefits that MFC offers to d...
How would you declare a string which could be used...
What is the Message Compiler and when would it be ...
What is the difference between implicit and explic...
Name five IPC mechanisms supported by Window XP. W...
What is a GUID and where is it used?
When should an application call _beginthread rathe...
How would you start a new thread?
How would you find the brushes or fonts used by th...
Describe MFC's ASSERT, VERIFY, and DEBUG_NEW macro...
What is an HRESULT?
What is Structured Exception Handling?
What is regression testing?
What is the main advantage ATL offers over MFC whe...
Name two characteristics of an ActiveX control des...
What are some of the benefits that MFC offers to d...
Explain Visual C++ Project types.
Compare ATL vs. MFC
The Benefits and Drawbacks of MFC
19. What is a multi-threaded apartment (MTA)? Sing...
19. What is a multi-threaded apartment (MTA)? Sing...
26. What is __declspec(novtable)? Why would you ne...
Explain Synchronization with Mutex, Events, Semaph...
Explain WaitForSingleObject() & WaitforMultipleOb...
Explain multi-threading..
What are the advantages of polymorphism and dynami...
What is the purpose of inheritance?
What is the purpose of composition?
Explain use of Private Inheritance
Dfference between delete and delete[]
the Differences Between static_cast and reinterpre...
the Difference Between Postfix and Prefix Operator...
If you have a union consisting of integer (4 bytes...
What's the difference between aggregation and cont...
What is the difference between list and vector?
What is the difference between class template and ...
What are the advantages of templates in C++?
• Why might you need exception handling be used in...
• What are the advantage and disadvantage of using...
What’s the difference between COM and DCOM?
10. What’s the difference, if any, between OLE and...
What is a moniker ?
8. C is aggregated by B, which in turn aggregated ...
7. What is aggregation? How can we get an interfac...
What the limitations of CoCreateInstance?
5. What happens when client calls CoCreateInstance...
4. How can would you create an instance of the obj...
3. What should QueryInterface functions do if requ...
2. What are the purposes of AddRef, Release and Qu...
1. What is IUnknown? What methods are provided by ...
How to make sure that a file is not included more ...
Explain GetMessage(), PeekMessage(), SendMessage()...
What is threading ?
Understanding the Difference Between Postfix and P...
Invoking a Function Through a fuction Pointer
What is a NaN?
What are the advantages of using DLL's? What are ...
What should you be aware of if you design a progra...
What is the effective way of DIB files management
How to handle command line arguements from simple ...
What is CArchive class does?
what is the use of AFX_MANAGE_STATE ?
What Is CMutex ?
Explain the program flow for a MFC based applicati...
Explain the flow for a simple win32 based applicat...
What is the entry point for window based applicati...
What You Should Include in a Header File
How to Killi an Object Prematurely..
Explain Virtual Destructors
Explain Polymorphism and Flavors of Polymorphism.....
Explain using static class member ..
Explain keyword friend...
Explain Mutable Object Member or data member
Explain Calling an object's member function from i...
explain Static member function
When is virtual inheritance needed?
IsA or HasA?
Why qsort is Still Useful in C++
What is Early Binding and Dynamic Binding?
What is the disadvantage of a template function?
Can we declare a static function as virtual?
: Are there any new intrinsic (built-in) data type...
What problem does the namespace feature solve?
Describe run-time type identification
What is the Standard Template Library?
What is an explicit constructor?
What is a mutable member?
How do I sort a range in descending order instead ...
Why is STL Container list<>::size() linear time?
How I can make sure that a single instance of my a...
What types of threads are supported by MFC ? How t...
What is a DLL or Dynamic Link Library?
Difference between Debug and Release versions?
How do I get all the views in an MDI app?
What is placement new?
Define a way other than using the keyword inline t...
Will the inline function be compiled as the inline...
Describe the main characteristics of static functi...
What is name mangling?
What is slicing?
What is a smart pointer?
What is an opaque pointer?
Differentiate between a deep copy and a shallow co...
When can you tell that a memory leak will occur?
What is an orthogonal base class?
What is a node class?
Name the operators that cannot be overloaded.
What do you mean by Stack unwinding?
What is class invariant?
What is a Null object?
What is an adaptor class or Wrapper class?
Differentiate between the message and method.
What is a dangling pointer?
What is an incomplete type?
What is an Iterator class?
What is the use of ‘using’ declaration.
What is a namespace ?
When does a name clash occur?
Differentiate between a template class and class t...
What is an accessor?
What is a modifier?
When is a template a better solution than a base c...
Explain the ISA and HASA class relationships. How ...
What is a virtual destructor?
When should you use multiple inheritance?
What is a conversion constructor?
What is a default constructor?
What is your reaction to this line of code? delete...
How does throwing and catching exceptions differ f...
How many ways are there to initialize an int with ...
What are the differences between a C++ struct and ...
Explain the scope resolution operator.
How do you link a C++ program to C functions?
What is the difference between critical section, m...
What is document-view architecture? Give me one re...
Name few classes in MFC which are not derived from...
Explain modal and modeless dialog box ? what is th...
Explain pointer to the constant and constant point...
What is a DLL ? What are different dll's supported...
Que What is an overloaded assignment operator ? Wh...
What is a copy constructor ?What is the need for i...
Que What is the use of CCmdTarget? Explain Command...
What is the use of SendMessage() and PostMessage()...
What is the top base class for MFC Framework? If I...

0 comments:

Your Title