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.
Aamir Siddiqui · Jul 28, 2015 at 12:56 pm · no comments

Galaxy Unpacked: What is Samsung Going to Unveil?

Amidst all the hype of the OnePlus 2 and the rain of Moto 2015 news, Samsung tried stealing the limelight back to itself by announcing their next "Galaxy Unpacked" event, which will be held on August 13th 2015. Samsung took to Twitter to reveal a very cryptic gif associated with the event, which probably has some clue on the device(s) to be launched. The hashtag "#TheNextGalaxy" does indeed point that the event will be the launchpad for a Galaxy device,...

XDA NEWS
Mario Tomás Serrafero · Jul 28, 2015 at 12:26 pm · 1 comment

Arrow Launcher: Good Effort Without Direction

Microsoft’s Android expansion has been well received on the productivity front, but not so much in terms of original applications. While their Office suite managed to bring some of the document-editing excellence to mobile, attempts at entering one’s interface through apps like Picturesque proved to be pointless failures. But even then, some apps like Hyperlapse redeem the computing giant through great quality. Microsoft seems to be approaching Android with brute, misdirected development and plenty of unorganized output, and if they want...

XDA NEWS
Mario Tomás Serrafero · Jul 28, 2015 at 10:07 am · 4 comments

Two New Moto X and New Moto G – Specs & Details

Today’s Moto event just ended and now we have a clear look at all of Motorola’s upcoming phones, including not one but two refreshed versions of their Moto X line. So how do these phones stack up against the competition? Motorola promises no compromises for affordable prices in every bracket, and this is what they have to offer:     Motorola wanted to focus on 5 aspects: meaningful exchanges, making and sharing memories, Self Expression, being always there for you...

XDA NEWS