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:
Jimmy McGee · Mar 6, 2015 at 06:00 am · no comments

LG G4 Confirmed, New Blackphone 2 & More – XDA TV

Nvidia unveiled the SHIELD Tegra X1 TV Box! That and much more news is covered by Jordan when he reviews all the important stories from this week. Included in this week's news is the announcement of the Cyanogen's new corporate identity and partnership with Qualcomm and be sure to check out the article talking about Lollipop devices being no longer encrypted by default! That's not all that's covered in today's video! Jordan talks about the other videos released this week...

XDA NEWS
GermainZ · Mar 5, 2015 at 01:50 pm · 2 comments

HTC to Replace Swype with TouchPal

According to engadget (citing TouchPal as well as an internal source), HTC aims to replace Swype with TouchPal as the default input method in upcoming devices, including the new HTC One M9. The official TouchPal Twitter account also tweeted the engadget article about this, further confirming the move. What prompted this move? The CEO of CooTek, the company behind TouchPal, says it's because of their better contextual prediction and language support. If you actually look at the supported languages, you'll...

XDA NEWS
Emil Kako · Mar 5, 2015 at 12:10 pm · no comments

Do You Think the Apple Watch Will Be a Huge Success?

Many people are under the impression that once Apple finally launches its smartwatch, the market for wearables will suddenly become mainstream and be taken to the next level. Taking an idea that already exists and making it incredibly successful isn't something new to Apple, but does the Apple Watch have what it takes? The wearable hasn't even shipped yet, but has already won multiple awards and has been featured on numerous fashion magazine covers. Do you think the Apple Watch will be a huge success? Let us know your thoughts.

DISCUSS
Share This