Jump to content

COM+ and Server Application

  • Please log in to reply
1 reply to this topic

#1 Guest_kittisoongswang_*

  • Guests

Posted 14 October 2005 - 07:32 AM

I tried to learn generate COM+ Application today. I found that it generate COM+ Library Application. I tested it with Generated WinForm App. It work Ok.

After I change it to Server Application, first it not working due to Enforce access checks for this application of Athorization in Security Tab. I changed it and my WinForm App can run. But I got result worng compare to Library Application. I only tested for load and got wrong result so I stop.

Please advice how to fix this. (I came from VB 6.0 background and just start to work on .NET. I used to created COM+ component with VB 6.0 before and just start learning with .NET and have little knowledge with it. So please advice)

Thank you very much.

#2 Guest_Paul_*

  • Guests

Posted 01 November 2005 - 01:08 PM

I tried to reproduce this error on my end and it seems that only the load method doesn't work properly when you change the library type to Server Application.

You just need to change the LOAD method first argument type from ByVal to ByRef and it will work.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users