Jump to content
  • Advertisement
Sign in to follow this  
Jerry.Mouse

SlimDX problem under Win7x64

This topic is 2169 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

Hello, 

 

I would like to use SlimDX under Windows 7 x64, I have September 2011, March 2011, June 2012 installed, but If I launch 

my program I get this error message:

 

...........SlimDX 4.0.11.43 is missing.

 

How can I repair this problem ? 

 

Thanks

 

Jerry 

Share this post


Link to post
Share on other sites
Advertisement

Put the SlimDX DLL somewhere your program can find it (e.g. right next to it). Sometimes whatever IDE you use won't move it automatically, especially if the dependencies aren't set up quite right. Also make sure you use the right .NET framework (see project properties if you're using VS)

 

EDIT: you did install SlimDX, right? Can you give more details, can you compile your program correctly but it's just saying the DLL is missing?

Edited by Bacterius

Share this post


Link to post
Share on other sites

Thank you for information. Seems to be working OK.

 

Is there a possible way how to avoid to copy DLL files into every directory for every EXE file which needs this SlimDX library ?

For example can I create something like Common directory for all EXE files. How can I define target path in source code C++/CLI .NET ? 

 

 

 

Share this post


Link to post
Share on other sites

Thank you for information. Seems to be working OK.
 
Is there a possible way how to avoid to copy DLL files into every directory for every EXE file which needs this SlimDX library ?
For example can I create something like Common directory for all EXE files. How can I define target path in source code C++/CLI .NET ? 

 

Normally, your IDE should copy the DLL over to the debug or release directory upon compilation if you set it up as a dependency. If that doesn't happen and you can't/won't fix that, there are a few things you can do to simplify your life as a developer, among those I can think of:

- add those DLL's in some directory, then add this directory to your system's PATH (environment variable), Windows looks in there to find DLL's if it doesn't find it in the program's working directory

- add those DLL's in System32, brute-force but guaranteed to work

 

Of course these fixes won't apply to your users, but release is probably going to involve packaging stuff anyway so you'll have to deal with the problem there anyhow.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!