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. C / C++ / MFC
  4. Messagebox and Manifest

Messagebox and Manifest

Scheduled Pinned Locked Moved C / C++ / MFC
question
2 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.
  • S Offline
    S Offline
    S van Leent
    wrote on last edited by
    #1

    When I use the MessageBox function and a Manifest file under XP, the MessageBox isn't displayed. Without Manifest file it does work. What's wrong? Sjoerd van Leent LPCTSTR Dutch = TEXT("Double Dutch :-)");

    E 1 Reply Last reply
    0
    • S S van Leent

      When I use the MessageBox function and a Manifest file under XP, the MessageBox isn't displayed. Without Manifest file it does work. What's wrong? Sjoerd van Leent LPCTSTR Dutch = TEXT("Double Dutch :-)");

      E Offline
      E Offline
      EVILkos
      wrote on last edited by
      #2

      This thread is DAMN old, i know. But for people who actually wanna find the solution (like myself the half of day), here is the answer: XP Manifest indicates that application will use Microsoft.Windows.Common-Controls ver. 6.0.0.0 theme extensions. But it DOES NOT ensure that that the common control dynamic-link library (DLL) is loaded. So before calling something even as simple as "MessageBoxA" in the application with such embedded manifest, you should call "InitCommonControls" from "comctl32.dll".

      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