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. COM
  4. MIDL2020 : error generating type library [modified]

MIDL2020 : error generating type library [modified]

Scheduled Pinned Locked Moved COM
helpcomquestionlounge
2 Posts 1 Posters 4 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.
  • F Offline
    F Offline
    forexsurfr
    wrote on last edited by
    #1

    Can someone help me with this error? I am compiling an IDL file and am getting an MIDL2020 error. This error is defined as "General access denied error". I am working on a Windows Vista machine and have searched for a solution but cannot find anything that solves this. Any suggestions would be greatly appreciated. Below is the complete compilation error: midl\oleaut32.dll : error MIDL2020 : error generating type library : SaveAllChanges Failed : .\spellcheck.tlb (0x80070005) Here is the program: //Creating the interface import "unknwn.idl"; [object,uuid(C73BA5B4-B466-4348-8CC2-E6B48998B3F7)] //Defining the interface interface ISpellChecker : IUnknown { HRESULT CheckSpelling([in,string] char *word,[out,retval] BOOL *isCorrect); HRESULT UseCustomDictionary([in,string] char *filename); } //Define type library [uuid(C81C9C52-008B-429d-8533-262E90A1D0D5)] library SpellcheckerLib { [uuid(57B7A8A0-E4D7-11d0-818D-444553540000)] coclass CSpellChecker { interface ISpellChecker; } };

    modified on Sunday, May 30, 2010 10:46 AM

    F 1 Reply Last reply
    0
    • F forexsurfr

      Can someone help me with this error? I am compiling an IDL file and am getting an MIDL2020 error. This error is defined as "General access denied error". I am working on a Windows Vista machine and have searched for a solution but cannot find anything that solves this. Any suggestions would be greatly appreciated. Below is the complete compilation error: midl\oleaut32.dll : error MIDL2020 : error generating type library : SaveAllChanges Failed : .\spellcheck.tlb (0x80070005) Here is the program: //Creating the interface import "unknwn.idl"; [object,uuid(C73BA5B4-B466-4348-8CC2-E6B48998B3F7)] //Defining the interface interface ISpellChecker : IUnknown { HRESULT CheckSpelling([in,string] char *word,[out,retval] BOOL *isCorrect); HRESULT UseCustomDictionary([in,string] char *filename); } //Define type library [uuid(C81C9C52-008B-429d-8533-262E90A1D0D5)] library SpellcheckerLib { [uuid(57B7A8A0-E4D7-11d0-818D-444553540000)] coclass CSpellChecker { interface ISpellChecker; } };

      modified on Sunday, May 30, 2010 10:46 AM

      F Offline
      F Offline
      forexsurfr
      wrote on last edited by
      #2

      I obtained the answer for this on another board. Basically, the problem is that I did not sign-on as administrator on my Visual Studio program.

      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