idlj Ignoring "#pragma prefix"
I have an IDL file that has a "#pragma prefix" directive, but whenever I use idlj to build the J开发者_JAVA技巧ava code, it ignores this and generates an _id without the prefix specified. This is a big problem because when _is_a is used, it always returns false, since my generated code does not contain the expected prefix. Please help! Thanks in advance!
I ended up being the culprit on this one. I was just not doing enough checks and balances and it ended up some of the IDL files I was using didn't even have the #pragma prefix statement in them.
精彩评论