Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. swfsource: error2664

swfsource: error2664

Scheduled Pinned Locked Moved Managed C++/CLI
helpcsharpc++
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    adarsh_sebiz
    wrote on last edited by
    #1

    we are trying compiling swfsource in VC++ .NET. By compiling swfsource we are getting following error: error C2664: 'wcslen' : cannot convert parameter 1 from 'WORD *' to 'const wchar_t *' please help us in removing this error... thanx in advance.. ADARSH and JITESH SEBIZ INFOTECH PVT. LTD., CHANDIGARH.

    I 1 Reply Last reply
    0
    • A adarsh_sebiz

      we are trying compiling swfsource in VC++ .NET. By compiling swfsource we are getting following error: error C2664: 'wcslen' : cannot convert parameter 1 from 'WORD *' to 'const wchar_t *' please help us in removing this error... thanx in advance.. ADARSH and JITESH SEBIZ INFOTECH PVT. LTD., CHANDIGARH.

      I Offline
      I Offline
      IceBerG71
      wrote on last edited by
      #2

      can give the full line of the error where wcslen is?? looking at the error, it seems like you are trying to get the length of the word.... if you know wcslen(wide character string); only...just check it out again:-D

      A 1 Reply Last reply
      0
      • I IceBerG71

        can give the full line of the error where wcslen is?? looking at the error, it seems like you are trying to get the length of the word.... if you know wcslen(wide character string); only...just check it out again:-D

        A Offline
        A Offline
        adarsh_sebiz
        wrote on last edited by
        #3

        thanx to u for replying to me... there is a good news that i succeded in removing that error2664.. the solution to this is to use reinterpret_cast operator which converts one datatype to another... thanx a lot.. regards.. ADARSH SEBIZ INFOTECH PVT. LTD. CHANDIGARH.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups