Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 64
Registered: ‎08-07-2008
My Device: Not Specified

Re: Preprocessor Directives for JDE

I know you posted your question in 2008. Today, I want to know if you successfully got preprocess work. I followed all the steps you did. I didn't see preprocess work JDE4.6 though.

Developer
Posts: 64
Registered: ‎08-07-2008
My Device: Not Specified

Re: Preprocessor Directives for JDE

okay, I think I found the answer by myself. JDE4.6 is very strict.

You can put a space between // and #  

A good example is : //#ifdef HANDHELD_VERSION_60

A bad example is : // #ifdef HANDHELD_VERSION_60   (which deson't work due to the space between  // and #  )

Highlighted
Developer
Posts: 64
Registered: ‎08-07-2008
My Device: Not Specified

Re: Preprocessor Directives for JDE

Sorry. I mean on JDE4.6, DON'T put a space between // and #