Jump to content
  • Advertisement
Sign in to follow this  
terry_burns85

EXE and DLL's

This topic is 2916 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Afternoon all,

Got an issue making my exe available for use on others machines. I have created a C# windows application that has a panel which is hooked to a dll i have created that runs a map editor and some pathfinding algorithms. My problem is, I have sent the Release version to a friend to test on his machine and he has got an error


Description:
Stopped working

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: t3dpathfinding.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 4cbf0372
Problem Signature 04: T3DPathfinding
Problem Signature 05: 1.0.0.0
Problem Signature 06: 4cbf0372
Problem Signature 07: 7
Problem Signature 08: 17
Problem Signature 09: System.DllNotFoundException

OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 2057


I thought that this could be related to the direct x dll being missing, so i sent him the correct direct x dll (D3dx9d_42.dll) that matches my SDK. and he then received this issue:


Description:
Stopped working

Problem signature:
Problem Event Name: APPCRASH
Application Name: T3DPathfinding.exe
Application Version: 1.0.0.0
Application Timestamp: 4cbf0372
Fault Module Name: PathfindingSystem.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4cbf041a
Exception Code: c0000005
Exception Offset: 00004d65


On top of this i asked that he install the DirectX End-User Runtime but still no fix.

I have tried moving the release folder around my computer to see if there is any issue but all is ok on my machine. Anyone any ideas, or tips on what i should try?

Cheers

Share this post


Link to post
Share on other sites
Advertisement
Ideally you'd debug the program on his machine. Failing that here's a few things to try.

Are you using SlimDX? If so they provide a redistributable installer which will cover all the DLLs your friend needs. http://slimdx.org/download.php

Visual studio can also load crash dumps, and debug those. To make one see http://www.wintellect.com/CS/blogs/jrobbins/archive/2010/06/17/how-to-capture-a-minidump-let-me-count-the-ways.aspx

If the crash is caused by a missing file you might find the output from Process Monitor useful to track down what's missing.

You could also try setting up a virtual machine (or dual boot), with a fresh install of whatever OS your friend has to help you reproduce the issue on your PC.

Share this post


Link to post
Share on other sites
Hi again guys,

I am still having an issue with getting this to work on another machine, so I was wondering if someone could walk through a setup I should have for the DLL project and the C# .NET exe I have created so I can ensure that I am doing everything I can at my end to ensure this works.

Thanks

Share this post


Link to post
Share on other sites
If i understand correctly, its missing T3DPathfinding.dll, right ? Not anything with DX.

What you may be able to do is run depends.exe on it. If your friend has dependency walked (if he has VS installed) or just give it to him.

Dependency walker not only allows you to see dependencies and see if they are found or not, but it allows you to trace the work of the OS loader. Just hit F7.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!