• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Active Member
    shunta17
    Posts: 6
    Registered: ‎06-24-2011

    RealDWG exception on RuntimeSystem.Initialize(new ApplicationHost(), 1033)

    153 Views, 1 Replies
    06-24-2011 01:32 AM

    I am new to RealDWG and am attempting to get a simple application working that reads Title blocks from DWG drawings. On the first line of my RealDWG 2010 application I get the following exception:

     

      

    The specified module could not be found. (Exception from HRESULT: 0x8007007E)

     This occures when I call the following method:

     

    RuntimeSystem.Initialize(new ApplicationHost(), 1033)

     

    I have installed RealDWG 2010 x86 on my 64bit Windows 7 PC, am building the assembly with the StrongNameKey file and the correct license information. I have also added the following path to my PATH environment variable:

     

         C:\Program Files (x86)\RealDWG 2010

     

    I have also attempted this with the x64 RealDWG installation, with the same result. I assume that there is something simple that I am missing such as a required dependency, but cannot figure out what it might be.

     

    Could you please advise what I need to do to resolve this issue?

     

    Thanks and Regards,

     

    Sean Hunter

    Onset Design

     

    Please use plain text.
    Active Member
    shunta17
    Posts: 6
    Registered: ‎06-24-2011

    Re: RealDWG exception on RuntimeSystem.Initialize(new ApplicationHost(), 1033)

    06-24-2011 02:25 AM in reply to: shunta17

    This was resolved by adding C:\Program Files (x86)\RealDWG 2010 to the start of the path variable.

    Please use plain text.