|
-
July 18th, 2001, 11:11 AM
#1
COM+ MTxAS Compilation Error
Greetings,
Through the informative reponses of my recent posts, I was able to get a VB DLL on track from a MTS/COM to COM+ project. The only remaining issue is a compilation error. It reads as:
Compile error: User-defined type not defined
and is displaying this line of code:
Dim mySecurity as MTxAS.SecurityProperty
In reviewing the References, I have noticed that the MTS Type Library is no longer available - I've moved the project from Win98 to Win2K environment to reference the COMSVCS.DLL.
Do I need to bring the MTXAS.DLL file along? - I suspect not.
Does the MTxAS need to be changed to another security type reference that exists in COMSVCS.DLL?
If so, where would I find this information?
Cheers,
Chris.
-
July 19th, 2001, 01:00 AM
#2
Re: COM+ MTxAS Compilation Error
Security information is stored in the objectcontex, I'm not 100% sure, but I believe that it can be obtained by calling the GetSecurityContext (or something) of the objectcontext. For the specifics, check out MSDN.
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|