Debug problem

Debug problem

Anonymous
Not applicable
717 Views
8 Replies
Message 1 of 9

Debug problem

Anonymous
Not applicable
Hi
I have this debug problem in VS2005.
I start my arx in debug mode. It opens AutoCAD2007. When trying to load ARX it shows me this message:
D:\ProjektiArxMFCProject 2007\Debug\App.arx cannot find a dll or
other file that it needs.
AcRxDynamicLinker failed to load 'D:\Projekti\ArxMFCProject
2007\Debug\App.arx'

I tried to put support paths and same error shows. When i puth more paths i get this message:
http://img216.imageshack.us/my.php?image=errorfi4.jpg

I dont call any extra dll so what paths i must enter or what to do to manage debug 😞
Pls help. Message was edited by: Andeo
0 Likes
718 Views
8 Replies
Replies (8)
Message 2 of 9

Anonymous
Not applicable
Andeo:

Use Dependency Walker (http://www.dependencywalker.com) to determine which
DLLs your module needs. 🙂
--
Owen Wengerd
President, ManuSoft ==> http://www.manusoft.com
VP Americas, CADLock, Inc. ==> http://www.cadlock.com
0 Likes
Message 3 of 9

Anonymous
Not applicable
Hi
Yes, i didn't write but i tried that and get this http://img162.imageshack.us/my.php?image=error2kk3.jpg

Thats why i tried to add more paths but then i get that second error. Some advice?
0 Likes
Message 4 of 9

Anonymous
Not applicable
Do anybody know what to do? Please help, without debuging is difficult to do something. 😞
0 Likes
Message 5 of 9

Anonymous
Not applicable
Do you get these messages with any ARX that you are trying to debug? The
first step is to make sure that you can debug with a bare bones ARX - use
the wizard to create a new project, and just debug from there without adding
any references.

You also need to make sure that the version of AutoCAD you are running is
compatible with the compiler you're using, as well as the C libraries. Can
you use the MSVC 8 with 2007? I have yet to install VS 2005 on this
machine, so i haven't looked at the requirements for 2007.

I also see that the dependency walker is unable to find MSVC80.dll - but
that's certainly something it should find. I'm pretty sure that should be
in the system32 directory, or some other shared location.

-Rich



wrote in message news:[email protected]...
Do anybody know what to do? Please help, without debuging is difficult to do
something. 😞
0 Likes
Message 6 of 9

Anonymous
Not applicable
Yes. I worked on few projects on other computer and there it was all ok. But i have a new for a week and did not try with other projects. Today I tried old projects(for ACAD2005 in VS7.0) and the same error is on every project. That error with autocad.exe.

Then i created new project using wizard and problem is here too. With both versions of Visual studio. (VS7 trying with ACAD2005 and VS8 with ACAD2007).
Then done reinstall and again install everything but the problem is still here. 😞

This is what happened in a simple project created with wizard when I tried to debug:
In VS7 project this error occurs on begin of debug process:
http://img48.imageshack.us/my.php?image=error1zn6.jpg

This in VS8:
http://img359.imageshack.us/my.php?image=error05nx1.jpg
And dependency return this:
http://img364.imageshack.us/my.php?image=error052kz6.jpg
0 Likes
Message 7 of 9

Anonymous
Not applicable
When i use VS2003, i get the same error you have displayed there. But if i
just press "continue" twice, it runs fine after that. I find that a bit
annoying, but it doesn't stop me from debugging.

As i said, i haven't yet used VS2005 (though i might have a box around here
i can try compiling with) - so i'm not sure what's wrong with VC80 +
ACAD2007.



wrote in message news:[email protected]...
Yes. I worked on few projects on other computer and there it was all ok. But
i have a new for a week and did not try with other projects. Today I tried
old projects(for ACAD2005 in VS7.0) and the same error is on every project.
That error with autocad.exe.

Then i created new project using wizard and problem is here too. With both
versions of Visual studio. (VS7 trying with ACAD2005 and VS8 with ACAD2007).
Then done reinstall and again install everything but the problem is still
here. 😞

This is what happened in a simple project created with wizard when I
tried to debug:
In VS7 project this error occurs on begin of debug process:
http://img48.imageshack.us/my.php?image=error1zn6.jpg

This in VS8:
http://img359.imageshack.us/my.php?image=error05nx1.jpg
And dependency return this:
http://img364.imageshack.us/my.php?image=error052kz6.jpg
0 Likes
Message 8 of 9

Anonymous
Not applicable
Yes, that works with VS7 and AutoCAD2005 but in VS8 i still can't debug. Message is this:
D:\ProjektiArxMFCProject 2007\Debug\App.arx cannot find a dll or
other file that it needs.
AcRxDynamicLinker failed to load 'D:\Projekti\ArxMFCProject
2007\Debug\App.arx'
0 Likes
Message 9 of 9

Anonymous
Not applicable
Had have the same problem with a release version and msvcr80.dll on a
windows machine. The problem was the location of the msvcr80.dll- the
\winsxs\... folder. Maybe copying the msvcr80.dll to the \system32 folder
or AutoCAD folder helps.

Tim
0 Likes