How to write unmanaged code and how to identify whether the
code is managed / unmanaged ?
Answers were Sorted based on User's Feedback
Answer / narayansahu
you can only write unmanaged code in c# not in vb.net
you can only call unmanaged code in vb.net. calling and
writing unmanaged code are different things.
To identify whether the code is managed or not open the
file in ildasm in VS.Net Command prompt.
Also you can use a .Net tool called dumpbin, which can be
used to check the headers.
or open the dll in notepad and check for "V e r s i o n".
If you find that, it is managed assembly.
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / padmaja
The code which is under control of clr is comes under
managed code.The code which is not comes under clr is
unmaged code.All IL code is managed code.com components
comes under unmanaged code.
| Is This Answer Correct ? | 4 Yes | 3 No |
How do you open a page in a new window?
After building the custom control, you test it by adding an ASP.Net web application to the solution. You add a correct <%@ Register %> directive and a proper declaration of the control in the <asp:Form> tag to the Web Form, but when you execute the application you get an error. What is the most likely reason for the problem? a) The custom control must be compiled first. b) The web application must have a reference to the control c) The custom control must be registered with windows first. d) The assembly from the custom control is not in the application?s bin directory.
How Clustered Index and Non clustered index stored on SQL server?
Explain the concept of View Model in MVC?
wt is repeater control and wt is datalist control and wt defferences these two? i want some code in datalist?
with which controls you worked in Asp.net 2.0?
2 Answers HP, nTech Solutions,
Difference between ByVal and ByRef?
what are grid events ?code for dropdown inside grid and binding dropdown syntax
Are xaml file compiled or built on runtime?
Can the unique key be null?
What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
hi .net gurus here is my question " how does impersonate in asp.net works? explain with good example"
2 Answers PennyWise, TCS, Wipro,
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)