Question

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!

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top