Jump to content
Posted 24 February 2012 - 04:41 PM
Posted 05 March 2012 - 02:06 AM
Posted 05 March 2012 - 03:33 AM
The Administrator mode wasn’t the problem, but thanks for the tip. (I wouldn’t have thought of it in a million years.)
There are some issues with WPF applications when not running in Administrator mode -- especially when referencing other libraries. It sounds stupid, but I've had some intensive third-party 3D controls not work when not in Administrative mode, mostly because they failed impersonation, etc, in .NET.
This sounds very promising, since I know it works with WinForms. I will definitely try that!
Does the process you're trying to do work in WinForms? If so, have you considered hosting a WinForms control inside WPF? (http://msdn.microsof...y/ms750944.aspx -- WindowsFormHost is the key here) It plays pretty well with WPF -- haven't had any issues with it when having to use legacy controls (except for minor issues caused by the legacy controls rendering poorly to begin with).
Interesting! This is very good to know. I haven’t had much the chance to familiarize myself with WPF. It’s good to approach new things.
Also, you're much smarter to stick with WPF than lightweight WinForms. I've found on a variety of projects that WPF is much faster than WinForms, especially when you have a graphic card. On some controls I'd written for clients, I saw increases in speed for rendering by as much as 200 - 250%. Average was about 170 - 180% faster -- never saw anything actually render slower.
Posted 06 March 2012 - 08:06 AM
Posted 06 March 2012 - 10:19 AM
I’ll let you know when I find a solution. I'll need PIX so I have to figure out a way.
Tsus, did you manage to get it working?
I still get that lame error and have 'temporarily' given up on PIX, but if you got it working, please do let me know what you did