PDA

View Full Version : Constructing my own class -- EPRIVLEVEL violation?


flarb
04-04-2002, 01:12 PM
So I'm messing around with extension classes at the moment. I've created my own simple extension class, similar to the one in the example documentation. When I try to call ISHELL_CreateInstance in my applet with the Brew ClassID of the class I want to create, I get an EPRIVLEVEL error return code.

How do I make my applet have the appropriate security level to create my own custom class? I put the Class ID in the dependencies field of the MIF. I also tried checking off all the permissions types (file, network, etc.) I still get the same error.

flarb
04-04-2002, 01:17 PM
d'oh

Maybe I should try reading the message board--I tried the remedy in the other thread about EPRILEVEL and it works fine. :)

The confusing thing is, I think that the BREW example applet has an Applet class ID in the extension's MIF, even though you're not supposed to do that.