Sign in to follow this  
Eitsch

NVPerfHUD AnyCpu apps

Recommended Posts

Eitsch    188
i am using c# with slimdx whereby the build target is ANY CPU. an explicit x86 compile works but is there a possibility to run any cpu builds with perfhud? thanks

Share this post


Link to post
Share on other sites
sirob    1181
This isn't just an NVPerfHUD issue, it's a SlimDX issue (and actually an issue with any Class Library linking unmanaged libraries).

Since the Any CPU setting would decide the compile target at runtime, depending on the target machine, SlimDX would need to be able to link with the correct DX library at runtime. Since that isn't possible, SlimDX can only link with either 32bit DX or 64bit DX. Whichever it picks would break if the application were compiled to the other setting.

I'd recommend you specifically specify the compile target (I also hear it's better for performance in some cases).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this