windows xp cd writing support (can't find imapi.h) HELP!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tonylc@gmail.com

    windows xp cd writing support (can't find imapi.h) HELP!

    Hi,
    I'm trying to program in 2003 Visual Studio to try and burn files
    onto a cd burner in windows xp service pack 2.

    Learn with interactive lessons and technical documentation, earn professional development hours and certifications, and connect with the community.


    I found some code on this website that i'm trying to run, but it keeps
    saying it cannot find imapi.h. But I thought imapi.h came with windows
    xp? Any ideas?

    Thanks,
    Tony

  • pH

    #2
    Re: windows xp cd writing support (can't find imapi.h) HELP!

    The header should be included in the latest version of the Win32
    Platform SDK ...

    Comment

    • tonylc@gmail.com

      #3
      Re: windows xp cd writing support (can't find imapi.h) HELP!

      so i'm assuming its not included...

      Comment

      • tonylc@gmail.com

        #4
        Re: windows xp cd writing support (can't find imapi.h) HELP!

        ok well either way..i don't really need the IMAPI. I just need to be
        able to burn. And using the Burn the functionality if the ICDBurn
        requires a HWND to pass in. How do I just burn a specific file (for
        example NexText.doc)??? if anyone could answer that, that would be
        great!

        Thanks!

        Comment

        • tonylc@gmail.com

          #5
          Re: windows xp cd writing support (can't find imapi.h) HELP!

          just to clarify...i know file handles are of type HANDLE (ie long), but
          HWND is of type unsigned short. i must be missing some important
          concept.

          any help would be great thanks!

          Comment

          • Mattias Sjögren

            #6
            Re: windows xp cd writing support (can't find imapi.h) HELP!


            As the docs for ICDBurn::Burn says, the files are picked up from the
            "staging area" under the user's local profile directory. See
            Learn with interactive lessons and technical documentation, earn professional development hours and certifications, and connect with the community.


            [color=blue]
            >just to clarify...i know file handles are of type HANDLE (ie long), but
            >HWND is of type unsigned short.[/color]

            HWNDs and other HANDLEs are all opaque values the size of a pointer.


            Mattias

            --
            Mattias Sjögren [C# MVP] mattias @ mvps.org
            http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
            Please reply only to the newsgroup.

            Comment

            • Herfried K. Wagner [MVP]

              #7
              Re: windows xp cd writing support (can't find imapi.h) HELP!

              <tonylc@gmail.c om> schrieb:[color=blue]
              > I'm trying to program in 2003 Visual Studio to try and burn files
              > onto a cd burner in windows xp service pack 2.[/color]

              <URL:http://www.vbaccelerat or.com/home/NET/Code/Libraries/Writing_CDs/>

              --
              M S Herfried K. Wagner
              M V P <URL:http://dotnet.mvps.org/>
              V B <URL:http://classicvb.org/petition/>

              Comment

              • tonylc@gmail.com

                #8
                Re: windows xp cd writing support (can't find imapi.h) HELP!

                does anyone know what you need to include to get Visual Studio 2003 to
                recognize IDiscMaster, IDiscRecorder and all the other interfaces in
                IMAPI? Right my visual studio only recognizes ICDBurn. Any idea would
                be great.

                Thanks,
                Tony

                Comment

                Working...