Benny
Benny

Reputation: 3917

idlj Ignoring "#pragma prefix"

I have an IDL file that has a "#pragma prefix" directive, but whenever I use idlj to build the Java 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!

Upvotes: 2

Views: 480

Answers (1)

Benny
Benny

Reputation: 3917

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.

Upvotes: 1

Related Questions