.NET

.NET

Reply
Active Member
6 Posts
0 Kudos
Registered: ‎06-24-2011
Post 1 of 2

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

262 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

 

Active Member
6 Posts
0 Kudos
Registered: ‎06-24-2011
Post 2 of 2

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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!