<< < 34 35 36 37 38 39 40 41 > >>   Sort: Rank

What is a Thread
What is a Thread ? A thread is the basic unit to which the operating system allocates processor time.
2007-10-22, 4593👍, 0💬

What is Multi-threading
What is Multi-threading ? Multi-threading forms subset of Multi-tasking. Instead of having to switch between programs this feature switches between different parts of the same program. Example you are writing in word and at the same time word is doing a spell check in background.
2007-10-22, 4564👍, 0💬

What is Multi-tasking
What is Multi-tasking ? It’s a feature of modern operating systems with which we can run multiple programs at same time example Word, Excel etc.
2007-10-22, 4769👍, 0💬

What is equivalent for regsvr32 exe in .NET
What is equivalent for regsvr32 exe in .NET ? Regasm
2007-10-22, 4838👍, 0💬

What are types of compatibility in VB6
What are types of compatibility in VB6? There are three possible project compatibility settings: ã No Compatibility ã Project Compatibility ã Binary Compatibility No Compatibility With this setting, new class ID’s, new interface ID’s and a new type library ID will be generated by VB each time ...
2007-10-22, 4696👍, 0💬

How do you do object pooling in .NET
How do you do object pooling in .NET ? COM+ reduces overhead by creating object from scratch. So in COM+ when object is activated its activated from pool and when its deactivated it’s pushed back to the pool. Object pooling is configures by using the “ObjectPoolingAttribute” to the class. Note:- Wh...
2007-10-22, 4881👍, 0💬

How many types of Transactions are there in COM + .NET
How many types of Transactions are there in COM + .NET ? There are 5 transactions types that can be used with COM+. Whenever an object is registered with COM+ it has to abide either to these 5 transaction types. Disabled: - There is no transaction. COM+ does not provide transaction support for this ...
2007-10-22, 4491👍, 0💬

How to implement DTC in .NET
How to implement DTC in .NET ? DTC is implemented using COM+. Following are the steps to implement COM + in .NET :- ã gEnterpriseServiceh namespace has all the classes by which we can implement DTC in .NET. You have to add reference gEnterpriseServiceh namespace. omits it all together, then w...
2007-10-22, 5474👍, 0💬

How do we create DCOM object in VB6
How do we create DCOM object in VB6? Using the CreateObject method you can create a DCOM object. You have to put the server name in the registry.
2007-10-22, 7135👍, 0💬

Can you explain what is DCOM
Can you explain what is DCOM ? DCOM differs from COM in that it allows for creating objects distributed across a network, a protocol for invoking that object’s methods, and secures access to the object. DCOM provides a wrapper around COM, hence it is a backwards compatible extension. DCOM uses Remot...
2007-10-22, 5119👍, 0💬

Can you describe IUKNOWN interface in short
Can you describe IUKNOWN interface in short ? Every COM object supports at least one interface, the IUnknown interface. All interfaces are classes derived from the base class IUnknown. Each interface supports methods access data and perform operations transparently to the programmer. For example, IU...
2007-10-22, 4624👍, 0💬

What is Reference counting in COM
What is Reference counting in COM ? Reference counting is a memory management technique used to count how many times an object has a pointer referring to it. The first time it is created, the reference count is set to one. When the last reference to the object is nulled, the reference count is set t...
2007-10-22, 4394👍, 0💬

What is COM
What is COM ? Microsoft’s COM is a technology for component software development. It is a binary standard which is language independent. DCOM is a distributed extension of COM.
2007-10-22, 4701👍, 0💬

When we use windows API in .NET is it managed or unmanaged code
When we use windows API in .NET is it managed or unmanaged code ? Windows API in .NET is unmanaged code. Note:- Even though VB6 and V C++ has gone off still many people do ask these old questions again and again. Still there are decent old application which are working with COM very much fine. So in...
2007-10-22, 4735👍, 0💬

How can we make Windows API calls in .NET
How can we make Windows API calls in .NET? Windows API call are not COM based and they are invoked through Platform Invoke Services. Declare StringConversionType (Function | Sub) MethodName Lib "DllName" ([Args]) As Type ã StringConversionType is for what type of conversion should take place. Eithe...
2007-10-22, 5540👍, 0💬

How can we use .NET components in COM
What is CCW (COM callable wrapper) ? or How do we ensure that .NET components is compatible with COM ? .NET components can not be used in straight forward way with COM. You will need to create CCW in order that COM components communicate with .NET assemblies. Following are the different approaches t...
2007-10-22, 5559👍, 0💬

Once I have developed the COM wrapper do I have to still register the
Once I have developed the COM wrapper do I have to still register the COM in registry? Yes.
2007-10-22, 7880👍, 0💬

What is RCW
How can we use COM Components in .NET? .NET components communicate with COM using RCW (Runtime Callable Wrapper). Following are the ways with which you can generate RCW :- ã Adding reference in Visual Studio.net. See figure below (Adding reference using VS.NET 2005). Wrapper class is generated and ...
2007-10-22, 4964👍, 0💬

What is CodeDom
What is CodeDom? “CodeDom” is an object model which represents actually a source code. It is designed to be language independent - once you create a “CodeDom” hierarchy for a program we can then generate the source code in any .NET compliant language. So let’s try to do something real practical an...
2007-10-22, 6350👍, 0💬

If we have two version of same assembly in GAC how do we make a
If we have two version of same assembly in GAC how do we make a choice ? OK first let’s try to understand what the interviewer is talking about. Let’s say you have made an application and its using a DLL which is present in GAC. Now for some reason you make second version of the same DLL and put it ...
2007-10-22, 8061👍, 0💬

What is Native Image Generator (Ngen.exe)
What is Native Image Generator (Ngen.exe)? The Native Image Generator utility (Ngen.exe) allows you to run the JIT compiler on your assembly's MSIL and generate native machine code which is cached to disk. After the image is created .NET runtime will use the image to run the code rather than from th...
2007-10-22, 8436👍, 0💬

What is the difference between Convert.toString and .toString()
What is the difference between Convert.toString and .toString() method ? Just to give an understanding of what the above question means seethe below code. int i =0; MessageBox.Show(i.ToString()); MessageBox.Show(Convert.ToStri ng(i));We can convert the integer “i” using “i.ToString()” or “Convert....
2007-10-22, 4895👍, 0💬

How to prevent my .NET DLL to be decompiled
How to prevent my .NET DLL to be decompiled? By design .NET embeds rich Meta data inside the executable code using MSIL. Any one can easily decompile your DLL back using tools like ILDASM (owned by Microsoft) or Reflector for .NET which is a third party. Secondly there are many third party tools whi...
2007-10-22, 5752👍, 0💬

What is CODE Access security
What is CODE Access security? CAS is part of .NET security model that determines whether or not a piece of code is allowed to run and what resources it can use while running. Example CAS will allow an application to read but not to write and delete a file or a resource from a folder..
2007-10-22, 5023👍, 0💬

<< < 34 35 36 37 38 39 40 41 > >>   Sort: Rank