.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1 REPLY 1
Reply
Message 1 of 2
shunta17
572 Views, 1 Reply

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

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

 

1 REPLY 1
Message 2 of 2
shunta17
in reply to: shunta17

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost