473,395 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Com+ vs. DotNet Objects

I have a dll that we wrote using VB 6 and the Winsock object. We use
the dll as a COM+ object on our .Net server. The COM+ seams to handle
the mutli-threading even though the dll is single threaded (we have
done extensive testing and it works very well). Initially when we
created the dll we did not register it as a COM+ object and if
multiple simultaneous call were made to it the return data would be
passed back to the wrong calling application. Once we registered this
dll as a COM+ object it worked great.

Question:
Now we are looking to rewrite the VB 6 single threaded winsock
communication dll using VB.net. Does .Net offer the same
functionality of writing a single threaded object and registering it
as COM+ equivalent service in DotNet?
Nov 20 '05 #1
2 1214
You could write this dll in .net and not bother with com+ at all as .net is
multi-threaded. It could sit as a regular dll on your machine. You could
also look into remoting if you want the equivalent of dcom where one
machine/process accesses a dll on another machine/process.

"Gregg Maggioli" <gr****@magtech.com> wrote in message
news:be**************************@posting.google.c om...
I have a dll that we wrote using VB 6 and the Winsock object. We use
the dll as a COM+ object on our .Net server. The COM+ seams to handle
the mutli-threading even though the dll is single threaded (we have
done extensive testing and it works very well). Initially when we
created the dll we did not register it as a COM+ object and if
multiple simultaneous call were made to it the return data would be
passed back to the wrong calling application. Once we registered this
dll as a COM+ object it worked great.

Question:
Now we are looking to rewrite the VB 6 single threaded winsock
communication dll using VB.net. Does .Net offer the same
functionality of writing a single threaded object and registering it
as COM+ equivalent service in DotNet?

Nov 20 '05 #2
Maybe a little more clarification - the dll or DotNet Object will be
called from multiple web applications so the dll or DotNet object will
be loaded on the WebServer running the DotNet framework. So, many
requests will need to be processed as indepentent requests keeping the
returned data isolated from other calls.

I hope this helps...

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Andrew S. Giles | last post by:
I have written a bit of C# code that I wish to have access to from some unmanaged C++ code I am writing. I have written a COM interface for the classes and their methods, but I cannot manage to...
10
by: kathy | last post by:
In VB.NET help file "Walkthrough: Creating COM Objects with Visual Basic .NET", It said: "Note The COM objects you generate with Visual Studio .NET cannot be used by other Visual Studio .NET...
16
by: Ben Hannon | last post by:
Hi, I'm writting a COM Class in VB.NET to be used in a VB6 project (Tired of the VB6 hassles with cloning and serializing an object). All my classes I need cloneable/serializable are now in a...
1
by: Al | last post by:
Anyone know why MS says you can't create a COM class with VB.NET to use in other VB.NET projects? (reference the statement at the bottom of the MSDN article ... Walkthrough: Creating COM Objects...
4
by: Jethro | last post by:
Hi all upgrade a VB6 Project, and am now stumped. The project contained 4 class modules. These were upgraded from : Public Class HTMLMail to :
1
by: Gary Dunne | last post by:
I have a class library that contains Com objects, they were added as COM Class and contain all the necessary GUIDs etc. The class library is flagged to "Register for COM interop" ... The library...
5
by: Greg | last post by:
A COM object is in a thread as a running binary that is available to be used by it's clients. ..NET Assemblies refer to DLLs that have MSIL not binary code. Do .NET obects run in their own...
5
by: Deleo | last post by:
Hello, i still have my snmp in .net problem. But i thought i would write the snmp program in c++ and make a COM. Now i want to be able to use that COM in .net C# so i thought about using the COM+...
8
by: Derek Hart | last post by:
I am unclear about what all the requirements are to call a simple vb.net application, installed in the GAC, from COM (such as writing vba in Word to call the dotnet dll). I believe I have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.