Author Topic: CW_ENABLE_COMMENT_WRAP and genComment  (Read 6177 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?

gary_ash

  • Guest
Re: CW_ENABLE_COMMENT_WRAP and genComment
« Reply #1 on: January 05, 2007, 08:57:19 PM »
Hi,

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

I'm surprised you're getting an error using version 11. Have you installed the hot fixes?
You may also want make sure you have the latest version from http://www.wideopenwest.com/~gary_ash/

gb

taki

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Re: CW_ENABLE_COMMENT_WRAP and genComment
« Reply #2 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 ?


gary_ash

  • Guest
Re: CW_ENABLE_COMMENT_WRAP and genComment
« Reply #3 on: January 05, 2007, 09:51:11 PM »
as long as your loading up I think you have all you need, that said, I'm running with the latest hotfix package
hotfix_se1102_cumulative.zip

good luck

gb

Graeme

  • Senior Community Member
  • Posts: 2796
  • Hero Points: 347
Re: CW_ENABLE_COMMENT_WRAP and genComment
« Reply #4 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