Hi
I need to integrate AdMob into WindowsPhone 8.1 version of my game and have some trouble with this ;]
My game is cross-platform (Android/iOS/WinPhone8.1).
Writen mainly in C++ (some jni calls on android, some objective-c on iOS).
I see that AdMob SDK for windows phone is in NET assembly, so to call it from C++ I'v created 'Windows runtime component' library, created class within and I'm abble to successfully create instance of this class in my C++ (ref new)
In this c# class I'm creating InterstitialAd but this call fails with exception I cannot debug (callstack inside googleAds.dll)
The output is:
'RoboticaWP8_Win32_static_debug.exe' (Win32): Loaded 'U:\SharedData\PhoneTools\AppxLayouts\edab871e-e04f-4fd9-a6db-51728f935571VS.Debug_Win32.Louise\GoogleAds.dll'.
'RoboticaWP8_Win32_static_debug.exe' (Win32): Loaded 'C:\Windows\system32\SYSTEM.CORE.NI.DLL'.
First-chance exception at 0x770B210B in RoboticaWP8_Win32_static_debug.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x0288CD9C.
First-chance exception at 0x770B210B in RoboticaWP8_Win32_static_debug.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x770B210B in RoboticaWP8_Win32_static_debug.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
any idea what might be wrong (I'm testing both on emulator (x86) and on device (ARM) - effect is still that same
the file GoogleAds.dll resides in the same directory as executable and it seems that it is loaded just fine, mut creating any object
from it leads to this exception (i'v tried new InterstitialAd and new AdRequest)
the test project attached to the AdMob sdk works just fine
thanks for any information