How do you hide Public .NET Classes and other public members from COM?
Managed Code and Unmanaged Code related ASP.NET - How do you hide Public .NET Classes and other public members from COM? In some cases, you might want to hide selected .NET classes from COM but keep them public for use from other .NET assemblies. The ComVisible attribute allows you to select which p... 2009-04-09, 7568👍, 0💬
What are the limitations of using Unmanaged Code from within a .NET assembly?
Managed Code and Unmanaged Code related ASP.NET- What are the limitations of using Unmanaged Code from within a .NET assembly? Performance : Although native-code DLLs can perform some operations more quickly than equivalent code managed by the CLR, these benefits might be offset by the time it takes... 2009-04-07, 4094👍, 0💬
.NET Remoting versus Distributed COM ?
.NET Remoting versus Distributed COM ? In the past interprocess communication between applications was handled through Distributed COM, or DCOM. DCOM works well and the performance is adequate when applications exist on computers of similar type on the same network. However, DCOM has its drawbacks i... 2009-03-19, 4439👍, 0💬
How Can we change priority & what levels of priority are provided by Dot Net?
How Can we change priority & what levels of priority are provided by Dot Net? Thread Priority can be changed by using Threadname.Priority = ThreadPriority.Highest. In the sample provided look out for code where the second thread is ran with a high priority. Following are different levels of Prio... 2009-03-13, 6510👍, 0💬
What does address of operator do in background? any example.
What does address of operator do in background? any example. The AddressOf operator creates a delegate object to the BackgroundProcess method. A delegate within VB.NET is a type-safe, object-oriented function pointer. After the thread has been instantiated, you begin the execution of the code by cal... 2009-03-13, 4382👍, 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, 4537👍, 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, 4654👍, 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, 4321👍, 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 :- ã gEnterpriseServiceh namespace has all the classes by which we can implement DTC in .NET. You have to add reference gEnterpriseServiceh namespace. omits it all together, then w... 2007-10-22, 5254👍, 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, 6711👍, 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, 4923👍, 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, 4438👍, 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, 4236👍, 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, 4439👍, 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, 4555👍, 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, 5346👍, 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, 5326👍, 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, 4766👍, 0💬
What Are Named Parameters? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions Name...
How To Use SELECT Statement to Count the Number of Rows? - Oracle DBA FAQ - Understanding SQL SELECT...
How To Get the Uploaded File Information in the Receiving PHP Script? Once the Web server received t...
Where Do You Download JUnit? Where do I download JUnit? I don't think anyone will ask this question ...
How was XML handled during COM times? During COM it was done by using MSXML 4.0. So old languages li...