I'm getting hard time to use COM objects in a metro app. As stated in MSDN the rules are:
Only registration free COM objects can be used
The COM can use only those APIs which are allowed for metro apps.
But my CoCreateInstanceFromApp always returns REGDB_E_CLASSNOTREG. In desktop applications an error is written into the event log that SideBySide execution fails. But in metro application no such error is written into the event log.
I can use the same COM object from a desktop application as registration free over the similar manifest file.
Am I missing something? Can anyone please help me out?
Thanks
Related
We are developing application that needs write access to restricted data types. And looks like Google has stopped taking new request for whitelisting apps.
https://developers.google.com/fit/android/data-types#restricted_data_types
Note: Google has temporarily stopped taking new requests to write to restricted data types. We are updating our policy and process for reviewing requests and will update this documentation again when we resume.
Does anyone from Google have any idea when they will resume it?
Also: Is there a way to implement/write restricted data in development environment or debug build without whitelisting, and whitelist app before going to production?
There is no timeline yet for when this will be available.
(Source: I work on Google Fit)
We have used CloudRail to retrive files from OneDrive, Google Drive, Amazon S3 and Dropbox without hassle.
When we have tried to implement OneDrive For Business, we get an error
'The app ID is blocked for access of the O365 Discovery Service'
Does anyone know if this error comes from CloudRail or Azure? If I check the Azure history for the application, it is logging that my sign-n status is successful.
We have had multiple developers go through the setup instructions and get the client ID and secret with the same result.
We have now scaled our application to the example code on the CloudRail website and still the same problem.
Has anyone managed to get OneDrive For Business working with CloudRail?
If so, does anyone have any suggestions?
Thanks in advance
According to Microsoft, this is due to the O365 Discovery Service being depreciated. Existing application will still work but no new ones will.
CloudRail has updated their SDK to use Microsoft Graph instead of O365 and all is working.
In a Winforms app converted into a uwp app (Centennial) - how can the app check for the licensing status?
In UWP I can use CurrentApp.LicenseInformation but that's under Windows.ApplicationModel.Store, and I can't find that in the Add Reference to Winforms.
To be able to use the WinRT APIs from your Winforms project, please add a reference to this WinMD reference: C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Windows.winmd from your Winforms project. I'd also encourage you to take a look at the Desktop Bridge samples on GitHub: https://github.com/Microsoft/DesktopBridgeToUWP-Samples
Btw, since you asked the Store licensing question, have you already filled up this form: https://developer.microsoft.com/en-us/windows/projects/campaigns/desktop-bridge yet? Once you fill up the form, someone from MSFT will contact you to work with you further regarding further help on the onboarding to the Store process...Let me know if you are stuck there...
I created a basic application using PhoneGap Build that I am trying to implement a simple Email/Password authentication scheme for with Firebase. The authentication works fine in Android, but when I run it on my Windows Phone 8.1 I get the "TRANSPORT_UNAVAILABLE" error returned.
I looked through a lot of stuff on the interwebz, but there really isn't much out there for this kind of thing. So far I have attempted to add the InAppBrowser plugin as suggested in a few places, but that didn't resolve the issue.
The Firebase documentation states "Redirects are not available in PhoneGap / Cordova, or local", but since it works on the same code on the Android I am wondering if that really is the issue.
My next step is going to be implementing the google authentication, but I would prefer to get this fixed instead of having to reengineer that entire portion of my application.
Help me Firebase Support... you're my only hope!
I'd like to start work on a Windows Store App client for Spotify, using LibSpotify. However, it seems that I'm unable to use the libspotify dll from inside a Metro app, presumably because it uses parts of the win32 api that are off-limits to the Metro Sandbox.
Loading in my own simple test dll using LoadPackagedLibrary works ok, but loading in libspotify gives error 1114 - ERROR_DLL_INIT_FAILED.
Is there any hope for me?
Thanks
Tom
If you are trying to create a Metro-Style-App - you have no hope until Spotify releases an updated library or someone reverse engineers their library to make it work in WinRT.
If you want to create a Metro style app that is not WinRT - based - there are WPF libraries that let you theme your application to look Metro, but you won't be able to sell it in Windows Store unless you work for Spotify and get into a deal with Microsoft.
You can only use the WinRT library in Windows 8 Metro Apps, not Win32.