Using the method described in http://forum.xda-developers.com/showthread.php?t=1944675 I executed a win32 desktop app in my surface with Windows RT.
Loading windows dlls like user32.dll, kernel32.dll, gdi32.dll and etc, using LoadLibrary is possible. But when I try to load "comctl32.dll" or "comdlg32.dll" using LoadLibrary, It returns NULL.
The error code returns by GetLastError() is 1114. It means "A dynamic link library (DLL) initialization routine failed."
EDIT: When I test my app which compiled for x86, It works without any problem. When I build it for ARM and run under Windows RT this error occurred.
Sample code:
HMODULE hModule;
hModule = LoadLibraryA("user32.dll");
printf("Load Library user32.dll : %x with Err: %x\n", hModule, GetLastError());
hModule = LoadLibraryA("kernel32.dll");
printf("Load Library kernel32.dll : %x with Err: %x\n", hModule, GetLastError());
hModule = LoadLibraryA("comctl32.dll");
printf("Load Library comctl32.dll : %x with Err: %x\n", hModule, GetLastError());