xxx.arx is an invalid ARX file.

xxx.arx is an invalid ARX file.

Anonymous
Not applicable
9,328 Views
9 Replies
Message 1 of 10

xxx.arx is an invalid ARX file.

Anonymous
Not applicable
I download the ObjectARX_2009_Win_64_and_32Bit.exe and unzip to C:\ObjectARX 2009
And I use VC2005 as my dev IDE. My project can be build successfully and load successfully.
But after I reinstall VC2005, the project can pass build, but can not be load, all the source code and project files are the same.

It informs me "xxx.arx is an invalid ARX file" ; error: ARXLOAD failed, what can I do now. I have reinstalled the AutoCAD2009 once, same error.
0 Likes
9,329 Views
9 Replies
Replies (9)
Message 2 of 10

Anonymous
Not applicable
Are you using VS 2005 SP1? Ie, did you forget to add the SP1?
0 Likes
Message 3 of 10

Anonymous
Not applicable
Yes, My vs2005 does have SP1.
0 Likes
Message 4 of 10

Anonymous
Not applicable
Use Dependency Walker to determine which dependent modules are missing.
See also:
http://otb.manusoft.com/2007/01/my-manusoft-manifest-manifesto.htm
--
Owen Wengerd
President, ManuSoft <>
VP Americas, CADLock, Inc. <>
0 Likes
Message 5 of 10

Anonymous
Not applicable
With dependency walker, I found my arx can not find "ACAD.exe", "ACDB17.DLL", "ACGE17.DLL", "DWMAPI.DLL"(this should be a vista support dll) "MFC80U.DLL", "MSVCP80.DLL", "MSVCR80.DLL"


And acad.exe(autocad2009) use follow dll
c:\windows\winsxs\x86_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_3bf8fa05\MFC80U.DLL
c:\windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\MSVCP80.DLL
c:\windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\MSVCR80.DLL

My manifest file is


assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"
dependency
dependentAssembly
assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b" /assemblyIdentity
/dependentAssembly
/dependency
dependency
dependentAssembly
assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b" /assemblyIdentity
/dependentAssembly
/dependency
/assembly

now how can i fix these?

And when i open old project of my arx. I can pass build and load successfully, but if I close the project, (I think visual studio will write some files like *.ncb *.suo ....) then reopen the project, build pass, load failed. Edited by: yelixing on May 13, 2009 1:41 AM
0 Likes
Message 6 of 10

Anonymous
Not applicable
> now how can i fix these?

Instructions for removing the manifest file (see the section "When using
the VC7 build tools"):
http://www.manusoft.com/Resources/ARXTips/Index.stm#VC8ForARX2000
--
Owen Wengerd
President, ManuSoft <>
VP Americas, CADLock, Inc. <>
0 Likes
Message 7 of 10

Anonymous
Not applicable
...Never mind... Edited by: danielm103 on May 13, 2009 12:45 AM
0 Likes
Message 8 of 10

Anonymous
Not applicable
I have set "Generate Manifest" to "No", Nothing change unless I can not find the manifest file in Debug dir.
0 Likes
Message 9 of 10

Anonymous
Not applicable
Shouldn’t Acad09 need CRT 8.0.50727.762 since it was built with SP1
0 Likes
Message 10 of 10

Anonymous
Not applicable
What version should Acad09 need? I found this is the latest version in my platform.
0 Likes