Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[C++] Conditional DLL Loading

Featured Replies

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.


  • Author

Well I figured this one out using the LoadLibrary() function and checking to see if it was NULL. :D

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. :}

Yup... that's a common occurence with me as well.

Glad to know you solved your problem. :)

I think thats part of the same mysterious force that makes working code exhibit bugs as soon as you show it to someone else.

^^ lmao... so true...

Or like the one where computer problems go away the moment you ask someone for help... :wacko:

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.