Click here to Skip to main content
15,904,500 members
Home / Discussions / COM
   

COM

 
GeneralRe: COleDispatchDriver Pin
AJ12312-Jul-02 5:48
AJ12312-Jul-02 5:48 
Questionhow to display data in grid Pin
Paul_S10-Jul-02 23:45
Paul_S10-Jul-02 23:45 
AnswerRe: how to display data in grid Pin
Ernest Laurentin11-Jul-02 10:34
Ernest Laurentin11-Jul-02 10:34 
GeneralComposite Property page control Pin
srisan10-Jul-02 9:31
srisan10-Jul-02 9:31 
GeneralImplemetation of Callback functions Pin
wins10-Jul-02 2:12
wins10-Jul-02 2:12 
GeneralAdd format for image icon on 2000 and XP file explorer Pin
Anonymous9-Jul-02 2:48
Anonymous9-Jul-02 2:48 
GeneralRe: Add format for image icon on 2000 and XP file explorer Pin
Anonymous13-Jul-02 6:59
Anonymous13-Jul-02 6:59 
GeneralObjectContext and it's role in COM+ Pin
MrGlover8-Jul-02 12:34
MrGlover8-Jul-02 12:34 
I have recently been re-evaluating the way our middle tier objects are designed and coded, including looking at their future under .Net

I guess to a large extent some of my methods of coding middle tier objects have been inherited from other people's code without a complete understanding of why. A few questions have arisen regarding the use of ObjectContext to create objects and so forth, especially in regard to COM+, but also wondering how things will change moving to .Net

1) All middle tier object instatiating (BLL creates DAL object, or BLL creates different BLL object) uses ObjectContext.CreateInstance. As I understand it, this will ensure the created object executes within the activity, the transaction (if there is one) and the security context of the client object.

Assuming my object is non transactional and I am not using security roles or such, do I still need to create objects in this manner?

2) Looking at the data access "helper" methods I see that someone has decided to ObjectContext.CreateInstance ADO objects. Is this wise? Are they threaded in such a way as to make them safe to run in an MTS activity?

3) All the documentation on ObjectContext talks about MTS, but there is no mention of it in the COM+ docs. Is there a good reason for this? What happened to ObjectContext in COM+?

4) In .Net it seems that my BLL and DAL objects would live in assemblies placed inteh ASP.Net Application's /bin/ directory and no longer require registering with COM+. Thank god I say, but are these assemblies still going to run under the supervision of COM+? And what happens to ObjectContexts under .Net?

Even if I could be pointed in the direction of some useful reading material that would be swell.

GeneralRe: ObjectContext and it's role in COM+ Pin
Paul Ingles20-Jul-02 13:54
Paul Ingles20-Jul-02 13:54 
GeneralRe: ObjectContext and it's role in COM+ Pin
MrGlover21-Jul-02 12:39
MrGlover21-Jul-02 12:39 
GeneralRe: ObjectContext and it's role in COM+ Pin
Paul Ingles22-Jul-02 4:10
Paul Ingles22-Jul-02 4:10 
GeneralDrag n drop within IE Pin
Per-Olov Jernberg8-Jul-02 1:43
Per-Olov Jernberg8-Jul-02 1:43 
GeneralRe: Drag n drop within IE Pin
Per-Olov Jernberg8-Jul-02 4:40
Per-Olov Jernberg8-Jul-02 4:40 
GeneralRe: Drag n drop within IE Pin
Per-Olov Jernberg10-Jul-02 4:09
Per-Olov Jernberg10-Jul-02 4:09 
GeneralRe: Drag n drop within IE Pin
Paul Ingles20-Jul-02 13:50
Paul Ingles20-Jul-02 13:50 
GeneralAdd ActiveX Control To ActiveX Pin
7-Jul-02 3:11
suss7-Jul-02 3:11 
GeneralMultiple clients accessing a COM component Pin
Atin Kumar5-Jul-02 17:53
Atin Kumar5-Jul-02 17:53 
GeneralRe: Multiple clients accessing a COM component Pin
Vivek Rajan12-Jul-02 10:15
Vivek Rajan12-Jul-02 10:15 
GeneralRe: Multiple clients accessing a COM component Pin
Atin Kumar14-Jul-02 15:05
Atin Kumar14-Jul-02 15:05 
GeneralInheritence & Virtual functions with COM/ATL Pin
Ed K5-Jul-02 8:39
Ed K5-Jul-02 8:39 
GeneralRe: Inheritence & Virtual functions with COM/ATL Pin
mhamsa8-Jul-02 6:38
mhamsa8-Jul-02 6:38 
GeneralRe: Inheritence & Virtual functions with COM/ATL Pin
soptest8-Jul-02 7:37
soptest8-Jul-02 7:37 
GeneralRe: Inheritence & Virtual functions with COM/ATL Pin
Vivek Rajan11-Jul-02 11:10
Vivek Rajan11-Jul-02 11:10 
GeneralRe: Inheritence & Virtual functions with COM/ATL Pin
Ed K11-Jul-02 15:42
Ed K11-Jul-02 15:42 
GeneralRe: Inheritence & Virtual functions with COM/ATL Pin
Vivek Rajan12-Jul-02 6:44
Vivek Rajan12-Jul-02 6:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.