Top 31 Atl Server Interview Questions
Q1. What Is Function Description Of Atlaxgetcontrol?
Returns the IUnknown interface pointer of the manipulate hosted in a window.
Q2. What Is Difference Between Int A[][]=[4] Int [][]a=[4]?
Yes There is diff between, each will provide you with error. One will provide compiler mistakes and every other will give systax mistakes.
Q3. What Is Class Description Of Caxwindow2t?
Wraps an "AtlAxWinLic80" window, imparting techniques for developing the window, growing a manipulate and/or attaching an authorized manage to the window, and retrieving interface tips at the host object.
Q4. What Are The Known Problems With The Atl 2.Zero Object Wizard?
The ATL 2.Zero Object Wizard won't be gift in the Component Gallery. The ATL 2.Zero Object Wizard isn't hooked up by means of the primary ATL 2.0 setup program (Atlinst.Exe).
It requires a separate setup software. You want to download and run the ATL 2.0 Object Wizard Technology Preview (Objinst.Exe) from the ATL Web web page. There is a separate ZIP document for Windows NT 3.Fifty one.
The ATL 2.Zero Object Wizard may additionally crash if an older version of Oleaut32.Dll is hooked up at the gadget. Make positive the version of Oleaut32.Dll is at least 2.20.404@The present day version is available for download on the Internet Explorer three.X Web site. If this doesn't repair the hassle, then install Service Pack 2 for Windows NT 4.0.
Q5. What Is Function Description Of Atlaxcreatecontrollic?
Creates an authorized ActiveX control, initializes it, and hosts it within the targeted window, much like AtlAxCreateControl.
Q6. What Is Function Description Of Atlaxgethost?
Returns the IUnknown interface pointer of the host item related to a window.
Q7. What Is Class Description Of Cwindow?
Provides a way, GetDlgControl, to be able to return an interface pointer on a manipulate, given the ID of its host window. In addition, the Windows API wrappers uncovered by CWindow typically make window management easier.
Q8. What Is Function Description Of Atlaxcreatedialog?
Creates a modeless dialog container from a conversation useful resource and returns the window take care of.
Q9. What Is The Atl Control-web hosting Api?
ATL's controlhosting API is the set of functions that allows any window to act as an ActiveX control box.
These capabilities can be statically or dynamically related into your project considering they are available as supply code and exposed by means of ATL80.Dll.
Q10. Explain The Three Main Components Of The Atl Server Project - The Web Application Dll, The Isapi Extension Dll, And The Server Response File?
There can be many Web application DLLs in a digital listing which can provide one or greater named request handlers.
They have the capability for dealing with requests and producing responses.
They reveal request handlers that speak with the ISAPI extension DLL.
Each Web software DLL may be used from a couple of server response files.
Server response files are essentially text files.
They contain the static components of a response and special tags.
These unique tags describe wherein request handler techniques can be known as to generate the dynamic parts of the response.
Each server reaction record can use a couple of Web software DLL.
The requests from IIS are received by the ISAPI extension DLL and are exceeded to an appropriate Web utility DLL.
It presents the request coping with infrastructure and common offerings utilized by the Web utility DLLs.
One ISAPI extension DLL exists in keeping with virtual directory and it handles requests for documents with the .Dll and .Srf extensions.
Q11. What Problems Might Be Encountered When Using _atl_min_crt? What Causes The Linker Error That _main Is Unresolved During Release Builds?
Because before calling _Main, program is probably calling other feature which is needed to initialize the memebers of this system. If that feature calling fails, then it throws so known as linker blunders.
Q12. Why Atl Server?
ATL Server is a fixed of local C++ classes that permits developers to create Web applications, XML Web services, and other server packages.
Many instructions will also be used in client programs or additives.
Q13. What Is Function Description Of Atlaxwinterm?
Uninitializes the controlhosting code.
Q14. What Is Function Description Of Atlaxattachcontrol?
Creates a number object, connects it to the supplied window, then attaches an current control.
Q15. Explain The Concepts And Capabilities Of Atl Server?
ATL Server is evolved by means of Microsoft for developing net based totally programs.
ATL Server is a library of C++ instructions that permit builders to build net based packages.
It consists of a template library which is devoted for use with developing Web-primarily based programs.
It presents the capability required to build big scale internet websites like:
- SOAP messaging
- caching facilities
- threading facilities
- normal expression processing
- control of session-country
- overall performance monitoring
- MIME assist
- Integration with IIS and sophistication for interacting with security
- cryptographic infrastructure.
Q16. What Is Function Description Of Atlaxdialogbox?
Creates a modal conversation field from a conversation resource.
Q17. What Is Class Description Of Ccomcompositecontrol?
Acts as a base class for ActiveX manipulate instructions primarily based on a conversation aid. Such controls can include other ActiveX controls.
Q18. What Is Function Description Of Atlaxwininit?
Initializes the controlhosting code.
Q19. What Is Proces?
In Windows, Thread is an unit of execution.Process is the surroundings in which thread executes.Scheduler, schedules the Threads no longer the process.
In Unix variations,Thread is dealt with as mild weight process.
Scheduler, schedules the method now not threads.
Q20. What Is Srf Files? Explain With An Example?
SRF documents include HTML and script tags denoted by means of the beginning and closing braces.
A single SRF file can also call code from some of utility DLLs and a single utility DLL may serve a number of SRF documents.
The handiest SRF file need to incorporate one or greater references to application DLLs and one or extra calls to a feature within those DLLs.
Eg:
handler ATLServerHelloWorld.Dll/Default
<html>
<body>
Hello CareerRide
</body>
</html>
The first line of the document is used to discover the DLL and the class that the SRF document will make calls to.
Handler ATLServerHelloWorld.Dll/Default.
Q21. What Is A Stencil In Atl Server?
A stencil is any textual content report that consists of special tags understood through CStencil Class (used to parse a stencil and generate a textual content movement by using replacing factors found within the stencil by way of output generated by means of an item enforcing the ITagReplacer interface) or a derived magnificence.
A SRF is a stencil containing tags understood through CHtmlStencil.
The stencil processor is a function which permits content material technology based on the stencil SRF files.
It allows setting apart the static a part of the reaction from dynamic content material.
Q22. How To Create Sdk Based Atl? How To Create Sdk Based Com?
Use the CAxWindow class as described beneath:
Make certain that AtlAxWinInit has been referred to as.
AtlAxWinInit()
Q23. What Is Class Description Of Caxwindow?
Wraps an "AtlAxWin80" window, presenting methods for developing the window, creating a manipulate and/or attaching a manipulate to the window, and retrieving interface hints at the host object.
Q24. What Are The Reasons An Atl Server Might Fail To Register?
The following are the top 3 motives an ATL server may fail to sign up:
You built your venture with _WIN32_WINNT=0x400 (the default), and also you are not jogging the ATL server below Windows NT four.Zero otherwise you do no longer have an uptodate model of Oleaut32.Dll. To solve this hassle, run "DUMPBIN /EXPORTS OLEAUT32.DLL" and look for UnregisterTypelib. If it is not there, then your server can't run. Remove this #define assertion from Stdafx.H in case you want to run the ATL server below Windows 95 or older variations of Windows NT. Alternatively, you could use LoadLibrary and GetProcAddress so you can run optimally underneath each Windows 95 and Windows NT four.@The Oleaut32.Dll that ships with the Internet Explorer three.X is uptodate.
You built your assignment as MinSize and Atl.Dll is not properly hooked up on the machine. The accurate version of Atl.Dll ought to be copied and registered through Regsvr3@There are Windows NT and Windows 95 variations of Atl.Dll. The Windows ninety five model runs below Windows NT. However, since it does now not use the UNICODE APIs, it's far slightly much less efficient. Unless you build your project as MinDependency, you may want to install the right model of Atl.Dll and run Regsvr32 on it prior to installing your server.
You constructed your task as UNICODE, and you cannot run it under Windows nine@
The following are the stairs to troubleshoot:
For a DLL server, run Regsvr32 within the debugger. Open the Project Settings conversation container and click on the Debug tab. In the Executable for debug session textual content container, enter the overall course to Regsvr32.Exe, along with C:SharedideBinRegsvr32.Exe. In the Program arguments text field, specify the full direction on your DLL, which includes C:MyprojectsMyFolderDebugMyFile.Dll. Set a breakpoint at DllRegisterServer and begin stepping.
For an EXE server, run it within the debugger and specify /REGSVR as its commandline argument.
Q25. What Is Function Description Of Atlaxcreatecontrol? (wer.Hypertext Preprocessor?
Creates a number item, connects it to the provided window, then masses a manage.
Q26. What Is The Information That Srfs Typically Contain?
SRF documents incorporate HTML and script tags denoted by the commencing and closing braces.
A unmarried SRF report can also call code from a number of application DLLs and a unmarried utility DLL may serve some of SRF documents.
Following is a listing of tags used within the SRF:
The codepage tag within an SRF is used when the SRF is parsed.
The comment tag does no longer rendered at the client Web browser.
The handler tag specifies the call of the Web application DLL and the call of the request handler. There can best be one handler tag in line with SRF.
The consist of tag inserts the rendered content of another SRF on the present day position of the SRF that makes use of it.
The locale tag means that any content rendered after that factor inside the record need to aid the locale this is specified.
The substitute tag is a customized tag that is replaced with content from the request handler within your Web utility DLL.
The subhandler tag defines a further request handler. Unlike the handler tag, there can be multiple subhandler tags within an SRF.
Q27. What Is Function Description Of Atlaxcreatecontrollicex?
Creates a certified ActiveX control, initializes it, and hosts it inside the precise window, just like AtlAxCreateControlLic.
Q28. Explain The Atl Server Architecture?
The Web server gets requests from the purchaser and passes them on to the ISAPI extension DLL when the request is for a record extension dealt with by way of that DLL.
The ISAPI extension DLL receives requests from IIS and passes them on to the perfect Web application DLL.
Web software DLLs offer utility-particular functionality for managing requests and generating responses.
Server response documents are textual content files that include the static parts of a response and unique tags describing wherein request handler techniques may be referred to as to generate the dynamic elements of the reaction.
Q29. What Is Function Description Of Atlaxcreatecontrolex?
Creates a number object, connects it to the supplied window, then hundreds a manipulate (also lets in occasion sinks to be installation).
Q30. What Is "atlaxwin80"?
"AtlAxWin80" is the call of a window elegance that helps offer ATL's controlhosting functionality. When you create an instance of this elegance, the window manner will mechanically use the controlhosting API to create a number object related to the window and load it with the control that you specify as the name of the window.
Q31. What Is Class Description Of Caxdialogimpl?
Acts as a base elegance for conversation instructions primarily based on a conversation aid. Such dialogs can include ActiveX controls.
