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 · Apr 27, 2015 at 11:12 am · 2 comments

The Curious Case Of The Flash Sale

What do the horses in the Xiaomi stable, notably the Mi 3, Mi 4, Redmi 1S, Redmi 2 & Redmi Note 4G have in common with the YU Yureka or the Micromax Canvas Spark, or even the Lenovo A6000 and the A7000? For starters, the mentioned phones are amongst the more value centric Android smartphones, aiming to offer a better deal in terms of specifications and an overall package, than their domestic and foreign competitors in the Indian market. What...

XDA NEWS
Jimmy McGee · Apr 27, 2015 at 06:00 am · 3 comments

3D Printable Mobile Microscope? Nexus 7 Discontinued – XDA TV

The Nexus 7 2013 has been discontinued on the Google Store! That and much more news is covered by Jordan when he reviews all the important stories from this weekend. Included in this weekend's news is the announcement of Xposed 3.0 Alpha 3 and be sure to check out the article talking about the 3D printable microscope for mobile devices. That's not all that's covered in today's video! Jordan talks about the other videos released this week on XDA TV. XDA...

XDA NEWS
Emil Kako · Apr 26, 2015 at 04:19 pm · 3 comments

Which Lockscreen Security Type Do You Use?

From pattern locks to the controversial face unlock, there are a number of different ways you can secure your Android phone's lockscreen. Some methods are clearly more secure than others, but it comes down to user preference at the end of the day. So, which lockscreen security type do you prefer and why?

DISCUSS
Share This