Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8504085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:55:46+00:00 2026-06-11T01:55:46+00:00

Is there a new macro to determine in code if the application is running

  • 0

Is there a new macro to determine in code if the application is running on WinRT? As I’m working with LoadLibrary, it would be great if there is a macro to replace all calls to LoadLibrary with one to LoadPackagedLibrary…

I’m understanding the documentation correct as in I can load any DLL (as long as it’s inside my package) via LoadPackagedLibrary, right?! (And as long as that DLL doesn’t use black-listed APIs…)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T01:55:47+00:00Added an answer on June 11, 2026 at 1:55 am

    I recently updated to Visual Studio 2012, and think I found the answer to my question:

    Inside the Microsoft Headers the Macro WINAPI_FAMILY_PARTITION is used to determine the “Level” of WinAPI. Currently there are WINAPI_PARTITION_DESKTOP and WINAPI_PARTITION_APP, therefore I “guess” that via this macro one can differentiate between Desktop and Metro…

    The two macros lead to another set of macros: #define WINAPI_FAMILY_APP WINAPI_PARTITION_APP and #define WINAPI_FAMILY_DESKTOP_APP (WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_APP). Therefore if WINAPI_FAMILY_APP is defined one should be able to assume that it’s a Metro application…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like a macro for Visual Studio to set assembly properties. Is there
Is there a way to define a macro (or something similar) that would allow
With google maps api (utlizing there new Places Library)Im trying to: Display a map
Is there something new about row-level security in SQL Server 2012? In 2008 and
Is there a new version of XML out? If so when was it released
Is there a new way to connect to MySQL from Python with Mac OS
Does anyone know if there are new binaries for the castle logging facility using
In Windows Server 2008 and Windows 7 there are new Events categorized under Applications
I use the rails 3.0.0.beta Is there any new syntax to write RJS, here
I know this is the list of permissions in android Is there any new

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.