Author Topic: CW_ENABLE_COMMENT_WRAP and genComment  (Read 7604 times)

taki

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
CW_ENABLE_COMMENT_WRAP and genComment
« on: January 05, 2007, 08:09:18 PM »
When I load the genComment macro set I get an error for gc_comment.e on the following line:

      gc_commentWrapEnabledOrigFlag = _ext_commentwrap_flags(CW_ENABLE_COMMENT_WRAP);

The status bar indicates that CW_ENABLE_COMMENT_WRAP has not been declared.

I have seen this on a 10.0 as well as 11.0 installation.

Do I need to have some other macro loaded to declare this?

taki

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Re: CW_ENABLE_COMMENT_WRAP and genComment
« Reply #1 on: January 05, 2007, 09:30:03 PM »
Thanks!   :)

Installing the 11.0.2 patch allowed me to load.

Are there particular hotfixes that are required for proper operation ?


Graeme

  • Senior Community Member
  • Posts: 2837
  • Hero Points: 348
Re: CW_ENABLE_COMMENT_WRAP and genComment
« Reply #2 on: January 06, 2007, 03:38:28 AM »
Version 11 should support that call and flags. If you're using version 10 or earlier you'll have to comment that stuff out.
Sorry about that but I couldn't seem to find a way to tell what version of slick I was running under

There's a function called _version() for that.  I don't know which versions provide it but V9 onwards definitely do.  You can probably use find_index to see if a function exists at runtime, before calling it.

Graeme