craziscoth Posted June 20, 2005 Share Posted June 20, 2005 Hi,I have this application I am developing to run on both WinXP Embedded and WinXP Pro and it uses the EWF functionality of WinXP Embedded. When it runs on XPe I need the ewfapi.dll loaded, but when I run on XPpro, it won't run because the dll is not there. Is there a way to keep the dll from trying to load when the app runs on XPpro so that the application will still run without the EWF functionality?Thanks. Link to comment Share on other sites More sharing options...
craziscoth Posted June 20, 2005 Author Share Posted June 20, 2005 Well I figured this one out using the LoadLibrary() function and checking to see if it was NULL. Seems whenever I post a question to a forum, even though I've spend hours trying to find the answer beforehand, I find the answer elsewhere within an hour or two of my post and before anyone can reply to my post with an answer. Link to comment Share on other sites More sharing options...
Zxian Posted June 20, 2005 Share Posted June 20, 2005 Yup... that's a common occurence with me as well.Glad to know you solved your problem. Link to comment Share on other sites More sharing options...
dman Posted June 22, 2005 Share Posted June 22, 2005 I think thats part of the same mysterious force that makes working code exhibit bugs as soon as you show it to someone else. Link to comment Share on other sites More sharing options...
Zxian Posted June 22, 2005 Share Posted June 22, 2005 ^^ lmao... so true...Or like the one where computer problems go away the moment you ask someone for help... Link to comment Share on other sites More sharing options...
Martin Zugec Posted June 22, 2005 Share Posted June 22, 2005 Murphys Computer Laws... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now