Former Writer · Jan 10, 2013 at 12:00 pm

Use the Complete Windows API in Windows Store Apps

While some have many bad things to say about Windows 8, others are doing what they can to make the experience more enjoyable for everyone. Thus, Windows 8 has received an unnaturally healthy amount of development from XDA community members and developers, despite not being a mobile OS. One limitation is that Microsoft doesn’t allow use of most of the Win32 API. There is now a way around that.

The workaround was written by XDA Recognized Developer mamaich, a known legend whose development here dates back to 2004 when he overclocked the successor to our namesake, the XDA2. Here is mamaich’s more in depth explanation:

As we know, MS prohibits using most of standard Win32 API in Windows Store applications. Obviously there are lots of ways to overcome this limit and to call any API you like, if you are not going to publish your app on Windows Store. And here is one of them.
Idea is really simple and rather old (lots of viruses use it): search for kernel32.dll base in memory, then parse its exports for LoadLibraryA and GetProcAddress, call them – and get profit.
Writing here so this post can be indexed by google.

So far, users have reported that the hack works quite well. It’s been tested on x86, x64, and ARM processors, and is confirmed working on all of them. There are still some limitations with official Metro apps, but this does help open possibilities quite a bit. To learn more, head over to the original thread.


_________
Want something on the XDA Portal? Send us a tip!
TAGS:

Former Writer

Former Writer is an editor on XDA-Developers, the largest community for Android users. View Former Writer's posts and articles here.
Eric Hulse · Jul 7, 2015 at 05:59 pm · 2 comments

T-Mobile Galaxy S6 Battery Woes

I've been using a T-Mobile Galaxy S6 since the device launched with T-mobile's service. However, over this past holiday weekend I knew I would be in an area without reliable T-Mobile service. So, I opened up T-Mobile's default "Device Unlock" app , pressed unlock, and placed my AT&T SIM card in the device. Everything seemed to be working fine: strong signal, great LTE, good voice calls - until day 3. On Sunday, my Galaxy S6 felt very hot to the touch and...

XDA NEWS
Brian Young · Jul 7, 2015 at 12:26 pm · 3 comments

Earthquake Early Warning in Your Pocket

Probably all of us reading this have a smartphone in our pocket. For many of us, the smartphone has become our primary method of reading and writing e-mails, messaging, and browsing the web. Though proclamations that "smartphones have replaced the personal computer" typically fall on deaf ears, the statements aren't without merit. Indeed, smartphones have "replaced"—or more accurately, "displaced"—PC's in several areas that they have traditionally been dominant. But how many of you look into your pocket, or on your desk, and...

XDA NEWS
Aamir Siddiqui · Jul 7, 2015 at 10:39 am · 2 comments

Sony: The OEM You Want To Save

In our recent Discuss article, we asked you readers on which OEM you would like to help. While the answers we received were varied, a lot of these responses and top comments stood out for helping one OEM: Sony. Some excerpts from our discussion are as below: And many more follow suit. Needless to say, many believe that Sony Mobile as a company is great and is worth saving. And all of these would be happy to hear that Sony will...

XDA NEWS
Share This