Проблемы с Windows Store App (win 8.1)

Обсуждение специальной версии Magic Particles (Dev), предназначенной для разработчиков игр.

Проблемы с Windows Store App (win 8.1)

Сообщение ajsfuul » Сб дек 20, 2014 3:52 pm

Привет. Закончил портирование игры на windows 8.1 и все было ок, пока не дошло до сборки билда для загрузки в стор. При попытке пройти тесты сертификации WACK получаю ошибку на "Supported API test":

API ??1type_info@@UAE@XZ in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API ??2@YAPAXI@Z in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API ??3@YAXPAX@Z in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API ?terminate@@YAXXZ in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API __CppXcptFilter in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API __CxxFrameHandler3 in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API __clean_type_info_names_internal in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API __crtTerminateProcess in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API __crtUnhandledException in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API __dllonexit in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _amsg_exit in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _calloc_crt in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _crt_debugger_hook in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _except1 in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _except_handler4_common in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _initterm in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _initterm_e in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _libm_sse2_acos_precise in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _libm_sse2_atan_precise in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _libm_sse2_cos_precise in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _libm_sse2_sin_precise in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _libm_sse2_sqrt_precise in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _libm_sse2_tan_precise in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _lock in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _malloc_crt in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _onexit in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _purecall in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API _unlock in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API atoi in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API fclose in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API fopen in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API fread in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API free in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API fseek in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API ftell in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API fwrite in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API malloc in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API memcpy in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API memset in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API rand in msvcr120.dll is not supported for this application type. magic.dll calls this API.
API realloc in msvcr120.dll is not supported for this application type. magic.dll calls this API.


Начал разбираться, оказалось, что msvcr120.dll, - это для Windows Desktop Apps, а для стора, соотвественно, нужна другая dll - msvcr120_app.dll.
Собственно сам вопрос, можно как-то получить dll-ку для винсторовских приложений? На сайте в загрузках не нашел ничего, а выпиливать партикли обидно. Или же это я где-то туплю и с текущей dll можно как-то пройти в стор?
ajsfuul
 
Сообщения: 4
Зарегистрирован: Сб дек 20, 2014 3:42 pm

Re: Проблемы с Windows Store App (win 8.1)

Сообщение Odin_KG » Вс дек 21, 2014 12:28 am

Библиотеки под Win8 лежат тут: http://astralax.ru/download/programm/ma ... 140809.zip
Скорее всего, вам просто нужно взять нужную. Библиотека, которая входит в состав враппера, естественно, не предназначена для загрузки на AppStore.
Аватара пользователя
Odin_KG
Administrator
Administrator
 
Сообщения: 841
Зарегистрирован: Чт янв 15, 2009 2:57 pm

Re: Проблемы с Windows Store App (win 8.1)

Сообщение ajsfuul » Вс дек 21, 2014 6:16 pm

Я из этого архива и брал dll, на тесте все работало отлично. А вот при прогоне через тесты WACK перед заливкой в стор - вылезли эти ошибки.
ajsfuul
 
Сообщения: 4
Зарегистрирован: Сб дек 20, 2014 3:42 pm

Re: Проблемы с Windows Store App (win 8.1)

Сообщение Odin_KG » Вс дек 21, 2014 9:38 pm

Вот в этой игре должна работать моя библиотека: http://apps.microsoft.com/windows/en-us ... dceb79b9d7
Насколько я помню, я с того времени либы не менял. Сравните либу в этой игре и вашу.
Версии библиотек под Win8 и Win8.1 разные.
Внешние библиотеки я никакие не использую, кроме самых древних и стандартных типа stdio.h и math.h, даже stl внутри нет.
Аватара пользователя
Odin_KG
Administrator
Administrator
 
Сообщения: 841
Зарегистрирован: Чт янв 15, 2009 2:57 pm

Re: Проблемы с Windows Store App (win 8.1)

Сообщение ajsfuul » Пн дек 22, 2014 1:53 pm

Посмотрел, у них, по всей видимости, сборка шла с таргетом на win8.0, в зависимостях у либы лежит msvcr110.dll. Каких-то еще отличий по манифесту не нашел..
ajsfuul
 
Сообщения: 4
Зарегистрирован: Сб дек 20, 2014 3:42 pm

Re: Проблемы с Windows Store App (win 8.1)

Сообщение ajsfuul » Пн дек 22, 2014 8:08 pm

На эту тему нашел тред на msdn-е, там похожая проблема. И как раз под win8 тесты проходят, а под 8.1 уже фейлятся. И в том же SDL-е используются memcpy и иже с ними, и в зависимостях ссылаются на msvcr120_app.dll
ajsfuul
 
Сообщения: 4
Зарегистрирован: Сб дек 20, 2014 3:42 pm

Re: Проблемы с Windows Store App (win 8.1)

Сообщение Odin_KG » Вт дек 23, 2014 12:42 am

Начал разбираться, оказалось, что msvcr120.dll, - это для Windows Desktop Apps, а для стора, соотвественно, нужна другая dll - msvcr120_app.dll.

Сейчас просмотрел зависимости для библиотеки, которая лежит в архиве тут: \8.1\arm\magic.dll
На скриншоте видно, что обращение идет именно на msvcr120_app.dll. Может вы-таки не ту библиотеку положили ?
Вложения
zavisimosti_DLL.jpg
zavisimosti_DLL.jpg (41.13 Кб) Просмотров: 42214
Аватара пользователя
Odin_KG
Administrator
Administrator
 
Сообщения: 841
Зарегистрирован: Чт янв 15, 2009 2:57 pm


Вернуться в Magic API

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 2

cron