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. ATL / WTL / STL
  4. [wtl]CHyperLink bRet = (dwRet > 32);

[wtl]CHyperLink bRet = (dwRet > 32);

Scheduled Pinned Locked Moved ATL / WTL / STL
c++question
3 Posts 2 Posters 0 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.
  • T Offline
    T Offline
    Tommy2d
    wrote on last edited by
    #1

    Sometimes, my CHyperLink breakes and it stops at this check. What can i do to stop this from happening?

    M 1 Reply Last reply
    0
    • T Tommy2d

      Sometimes, my CHyperLink breakes and it stops at this check. What can i do to stop this from happening?

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      CHyperLink uses ShellExecute() to launch the URL in your default browser. So ShellExecute() is failing, probably because the control doesn't have a valid URL. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD

      T 1 Reply Last reply
      0
      • M Michael Dunn

        CHyperLink uses ShellExecute() to launch the URL in your default browser. So ShellExecute() is failing, probably because the control doesn't have a valid URL. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD

        T Offline
        T Offline
        Tommy2d
        wrote on last edited by
        #3

        ...But the URL is ok...and sometimes it works and sometimes is just doesn't, with the same link. I never saw this before:S.. it's obviously ShellExecute(). It returns 0..

        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