windows-messages 相关问题


使用 Microsoft Graph 获取所有电子邮件 - 版本 5.2.0 或更高版本

我的原始代码是: var messages = wait graphClient.Users["[email protected]"].MailFolders[folderName].Messages.GetAsync(); 我正在使用 Microsoft.Graph 5.2.0。 不幸的是...


预呈现页面“/”时发生错误。阅读更多:https://nextjs.org/docs/messages/prerender-error 修改请求(不知道如何)

已经四天了,我仍然陷入困境。 关于这个问题我看到有人说使用axios,并设置超时。或者在获取数据时将 http 更改为 https,但这一切都是徒劳的...


为什么最新的WDK默认不支持Windows 7?

我下载了针对 Windows 7 的驱动程序(在“.vcxproj”中有选项“TargetVersion”==“Windows 7”)。我还安装了 Visual Studio 2022 Community、最新的 SDK 和...


如何在 ARM64 系统上原生构建适用于 ARM64 的 Windows 11 设备驱动程序?

如何在 ARM64 系统上原生构建适用于 ARM64 的 Windows 11 设备驱动程序? 使用: ARM64 虚拟机上的 Windows 11 21H2(主机:MacBook M1) 视觉工作室17.5.2 Windows 驱动程序套件 10.0.226...


Windows XP 中是否可以显示“输入符号”?

我想在 Windows XP 中显示 Enter 键的符号。有没有显示该符号的组合键?


为什么在Windows环境下Apache IoTDB中运行`pip install`后出现`failed to build thrift`错误?

pip install apache-iotdb工具不支持Windows环境吗?在Windows中运行pip install apache-iotdb==0.13.0.post1后,出现错误消息:Failed to build thrift, ERROR: Could ...


如何在 C for Windows 中正确链接到库

我目前正在尝试 Windows 的 C 编程。我有 Windows 11,我在 VS Code 上编码,并且我已经安装了 MinGW 并将其正确添加到 PATH 中。问题是我无法链接我的 p...


我们需要高级帐户才能将 pritunl VPN 与 Windows Active Directory 集成吗?

我们需要高级帐户才能将 pritunl VPN 与 Windows Active Directory 集成吗? 我无法将我的免费 pritunl 与 Windows AD 集成, 我在 pritunl 中找不到任何选项...


如何通过 Azure 门户查找虚拟机上的 Windows 版本

如何通过 Azure 门户查找我的虚拟机上运行的 Windows 版本? 我们有大约 60 个带有虚拟机的资源组,我们计划升级所有 Windows 服务器...


Matlab 2021 和 2023 交叉兼容性 [已关闭]

我在两台电脑上工作;一台 Windows 10 笔记本电脑和一台 Windows 7 工作站。 我在工作站上使用 MATLAB 2021a(因为它是与 Windows 7 兼容的最新版本)并且希望...


SecurityException:不允许启动服务Intent { act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gms (有额外功能)}

我尝试从 Google 获取我的 GCM 注册 ID。 我的代码: 字符串SENDER_ID =“722*****53”; /** * 向 GCM 服务器异步注册应用程序。 * * 存储注册信息... 我尝试从 Google 获取我的 GCM 注册 ID。 我的代码: String SENDER_ID = "722******53"; /** * Registers the application with GCM servers asynchronously. * <p> * Stores the registration ID and the app versionCode in the application's * shared preferences. */ private void registerInBackground() { new AsyncTask<Void, Void, String>() { @Override protected String doInBackground(Void... params) { String msg = ""; try { if (gcm == null) { gcm = GoogleCloudMessaging.getInstance(context); } regid = gcm.register(SENDER_ID); msg = "Device registered, registration ID=" + regid; // You should send the registration ID to your server over // HTTP, so it // can use GCM/HTTP or CCS to send messages to your app. sendRegistrationIdToBackend(); // For this demo: we don't need to send it because the // device will send // upstream messages to a server that echo back the message // using the // 'from' address in the message. // Persist the regID - no need to register again. storeRegistrationId(context, regid); } catch (IOException ex) { msg = "Error :" + ex.getMessage(); // If there is an error, don't just keep trying to register. // Require the user to click a button again, or perform // exponential back-off. } return msg; } @Override protected void onPostExecute(String msg) { mDisplay.append(msg + "\n"); } }.execute(null, null, null); } 我收到错误: 03-01 19:15:36.261: E/AndroidRuntime(3467): FATAL EXCEPTION: AsyncTask #1 03-01 19:15:36.261: E/AndroidRuntime(3467): java.lang.RuntimeException: An error occured while executing doInBackground() 03-01 19:15:36.261: E/AndroidRuntime(3467): at android.os.AsyncTask$3.done(AsyncTask.java:299) 03-01 19:15:36.261: E/AndroidRuntime(3467): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352) 03-01 19:15:36.261: E/AndroidRuntime(3467): at java.util.concurrent.FutureTask.setException(FutureTask.java:219) 03-01 19:15:36.261: E/AndroidRuntime(3467): at java.util.concurrent.FutureTask.run(FutureTask.java:239) 03-01 19:15:36.261: E/AndroidRuntime(3467): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230) 03-01 19:15:36.261: E/AndroidRuntime(3467): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) 03-01 19:15:36.261: E/AndroidRuntime(3467): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) 03-01 19:15:36.261: E/AndroidRuntime(3467): at java.lang.Thread.run(Thread.java:841) 03-01 19:15:36.261: E/AndroidRuntime(3467): Caused by: java.lang.SecurityException: Not allowed to start service Intent { act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gms (has extras) } without permission com.google.android.c2dm.permission.RECEIVE 03-01 19:15:36.261: E/AndroidRuntime(3467): at android.app.ContextImpl.startServiceAsUser(ContextImpl.java:1800) 03-01 19:15:36.261: E/AndroidRuntime(3467): at android.app.ContextImpl.startService(ContextImpl.java:1772) 03-01 19:15:36.261: E/AndroidRuntime(3467): at android.content.ContextWrapper.startService(ContextWrapper.java:480) 03-01 19:15:36.261: E/AndroidRuntime(3467): at com.google.android.gms.gcm.GoogleCloudMessaging.b(Unknown Source) 03-01 19:15:36.261: E/AndroidRuntime(3467): at com.google.android.gms.gcm.GoogleCloudMessaging.register(Unknown Source) 03-01 19:15:36.261: E/AndroidRuntime(3467): at com.example.gcm.DemoActivity$1.doInBackground(DemoActivity.java:177) 03-01 19:15:36.261: E/AndroidRuntime(3467): at com.example.gcm.DemoActivity$1.doInBackground(DemoActivity.java:1) 03-01 19:15:36.261: E/AndroidRuntime(3467): at android.os.AsyncTask$2.call(AsyncTask.java:287) 03-01 19:15:36.261: E/AndroidRuntime(3467): at java.util.concurrent.FutureTask.run(FutureTask.java:234) 03-01 19:15:36.261: E/AndroidRuntime(3467): ... 4 more 这是我的清单: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.manyexampleapp" android:installLocation="preferExternal" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="18" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.GET_ACCOUNTS" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="com.example.manyexampleapp.c2dm.permission.RECEIVE" /> <uses-permission android:name="com.example.manyexampleapp.gcm.permission.C2D_MESSAGE" /> <permission android:name="com.example.manyexampleapp.gcm.permission.C2D_MESSAGE" android:protectionLevel="signature" /> <application android:name="com.zoomer.ifs.BaseApplication" android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> <activity android:name="com.zoomer.ifs.MainActivity" android:label="@string/app_name" android:configChanges="orientation|keyboardHidden|screenSize" android:launchMode="singleTop"> <!-- <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> --> </activity> <!-- PUSH --> <!-- WakefulBroadcastReceiver that will receive intents from GCM services and hand them to the custom IntentService. The com.google.android.c2dm.permission.SEND permission is necessary so only GCM services can send data messages for the app. --> <receiver android:name="com.example.gcm.GcmBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND" > <intent-filter> <!-- Receives the actual messages. --> <action android:name="com.google.android.c2dm.intent.RECEIVE" /> <category android:name="com.example.manyexampleapp" /> </intent-filter> </receiver> <service android:name="com.example.gcm.GcmIntentService" /> <activity android:name="com.example.gcm.DemoActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <!-- DB --> <activity android:name="com.example.db.DbActivity" android:label="@string/app_name" > <intent-filter> </intent-filter> </activity> <activity android:name="com.example.http.RestGetActivity" android:label="@string/app_name" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" > </activity> <activity android:name="com.example.fb.FacebookLoginActivity" android:label="@string/app_name" > <!-- <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> --> </activity> <activity android:name="com.example.http.SendFeedbackActivity" android:label="@string/app_name" > <!-- <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> --> </activity> <activity android:name="com.zoomer.general.SearchNearbyOffersActivity" android:label="@string/app_name" > <intent-filter> </intent-filter> </activity> <activity android:name="com.facebook.LoginActivity" android:label="@string/app_name" > <intent-filter> </intent-filter> </activity> <activity android:name="com.example.manyexampleapp.StoresListActivity" > <intent-filter> </intent-filter> </activity> <activity android:name="com.example.fb.ShareActivity" > <intent-filter> </intent-filter> </activity> <activity android:name="com.example.notifications.NotificationsActivity" > <intent-filter> </intent-filter> </activity> <activity android:name="com.example.fb2.no_use.MainActivity" > <intent-filter> </intent-filter> </activity> <activity android:name="com.zoomer.offers.OffersListActivity" > <!-- <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> --> </activity> <activity android:name="com.example.http.SearchNearbyOffersActivity" > <!-- <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> --> </activity> <service android:name="com.example.geo.LocationService" android:enabled="true" /> <receiver android:name="com.example.manyexampleapp.BootReceiver" > <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="com.example.manyexampleapp.LocationService.LOCATION_BROAD_MSG" /> </intent-filter> </receiver> <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/app_id" /> </application> </manifest> 改变 <uses-permission android:name="com.example.manyexampleapp.c2dm.permission.RECEIVE" /> 到 <!-- This app has permission to register and receive data message. --> <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /> 您收到异常是因为您尚未定义所需的权限 如果应用程序开发后安装了播放服务, 可能会发生 com.google.android.c2dm.permission.RECEIVE 权限已被授予但 android 仍在抱怨同样的错误。 在这种情况下,您必须完全重新安装开发的应用程序才能使此权限发挥作用。 我认为你必须检查 Kotlin 版本兼容性。


Srvnet 服务未在 Windows 容器中启动

我需要在Windows容器上启动文件共享服务 我的一个应用程序想要通过 //主机名或 ip 地址/C$/C/windows 访问容器内的文件夹,如下所示 我怎样才能做到呢


ToolStripItem(Windows 窗体)图像未完全呈现

我在设置 ToolStripItem(Windows 窗体)的图像时遇到一个奇怪的问题。 当我设置这样的图像时: ToolStripMenuItem oItem = new ToolStripMenuItem(); oItem.Text = Qit.WindowsStrings.


MariaDB 10.11 Windows 备份身份验证插件“auth_gssapi_client”无法加载

在 Windows 上安装了 MariaDB 10.11。尝试使用进行备份 $ mariabackup --backup --target-dir=F:/backup --user=root --password= https://mariadb.com/kb/en/full-backup-and-restore-with-mariabackup/


`R CMD 检查 --as-cran` 在 Windows 上找不到 `diff`

我在 Windows 上检查我的包裹时收到以下注释: > R CMD 检查 --as-cran mypkg_0.1.tar.gz (...) * 检查从“mypkg-Ex.Rout”到“mypkg-Ex.Rout.save”的差异...好的 留言...


WireGuard 的“禁用驱动程序签名强制执行”在 Windows 7 上是强制的还是某些本地错误?

我尝试在 Windows 7 SP 1(32 位)上使用 WireGuard,但隧道激活给我提供了以下跟踪信息和错误消息: 2024-01-04 16:44:45.812: [TUN] [V_VPN] 启动 WireGuard/0.5.3 (Windows...


Windows 平台不支持 System.Directory Services

我对软件开发和这个网站都很陌生。 我的问题是关于 Windows 上的 System.DirectoryServices 开发。 我启动了一个普通的 Visual Studio 2019 c# .net 5.0 项目,并且


Windows 上的 httpd.conf:找不到 API 模型结构 `php8_module`

我正在尝试按照这些指南在 Windows 上安装 PHP、Apache 和 MySQL。有时,系统会提示我编辑 httpd.conf 以指向我的 PHP 安装。 apache 目录和...


如何在react中获取Windows当前登录用户

我想知道哪个 Windows 身份验证登录用户使用我的网站,我该怎么做? 在.net中我使用了代码行 System.Threading.Thread.CurrentPrincipal.Identity.Name 我该怎么做


Windows 中的 UTF-8

如何在 C Windows 程序中将代码页设置为 UTF-8? 我有一个使用 fopen 打开文件的第三方库。我可以使用 wcstombs 将 Unicode 文件名转换为当前代码页,


如何在Windows上完全卸载VS Code?

在Windows 10上完全卸载Visual Studio Code及其扩展(包括所有配置等)的方法是什么? 我尝试卸载并安装,但它记住了之前的设置...


如何在 Windows 64 位上使用 Anaconda 安装 ImageMagick?

我下载了适用于 Windows 64 位的 ImageMagick 文件 ImageMagick-7.0.4-4-Q16-x64-dll.exe (链接)并安装了它。 我正在使用 Anaconda,但出现以下错误: C:\Anaconda2\lib\site-packages\


Windows 7 无法创建 SSL/TLS 安全通道。”} System.Net.WebException

我正在运行 Windows 7 64 位专业版并尝试编写 RSS Feed 阅读器 这是错误消息 - $Exception {“请求被中止:无法创建 SSL/TLS 安全通道。”} System.Net。


无法从 Windows 上的 Jupyter Notebook 中的虚拟环境访问库

我遇到一个问题,在 Windows 上运行 Jupyter Notebook 时无法从虚拟环境访问库。尽管激活了虚拟环境并安装了所需的


启动 GridDB 服务时出现问题

我在系统上启动 GridDB 服务时遇到困难。我在 Windows 11 电脑上使用适用于 Linux 的 Windows 子系统。当尝试使用以下方式启动服务时: sudo systemctl ...


Spring Integration SMB 在 Linux(CentOS 7) 上无效

我使用Spring Integration SMB将本地文件上传到Windows共享文件夹,在本地windows环境和idea中可以正常运行,但是当我将应用程序打成jar包时......


Windows操作系统主进程出现JavaScript错误

我正在开发一个 Electron.js 项目。当运行yarn electro-builder build 时,它会创建.exe 文件。 当我在 Windows 上安装该应用程序时,它会抛出一个错误


在 Windows Zip Installer 中哪里可以找到 Artifactory 6.10.0?

我必须将 Artifactory 从 5.8.2 升级到 6.1.0 或任何 6.x。然后升级到 7.x,但我找不到虚拟机的 Windows zip(我在 JFrog 页面中查找,但就是找不到...


在 Windows 10 中使用 vscode 进行四开

渲染时,弹出错误:未找到四开本安装 但是当我将 quarto 与 cli 一起使用时:quarto render myfile.qmd,成功 环境: 操作系统:Windows 10 专业版 四开——版本:1.0.37 vscode


在 Windows 主机上运行时,CreateProcessAsUser 失败并出现 Win32ErrorCode 1058:true?

我正在使用 Ansible 自动化平台。我正在尝试使用变为:true 在 Windows 主机上运行任务(特别是community.windows.win_credential),但失败并出现以下错误: { ...


.NET 6 连接到 Windows 会话切换

我正在将一个应用程序从 .NET Framework 迁移到 .NET 6。它在内部启动 Kestrel Web 服务器,并且旨在作为 Windows 服务运行 - 在使用 Topshelf li 实现的旧版本中...


在 Windows 上为 mingw-gcc 构建 BGFX 时出错

我正在尝试使用 mingw-gcc 而不是 Visual Studio 在 Windows 64 位上构建 bgfx。在尝试构建时出现错误 我尝试使用 make mingw-gcc-debug64 构建 bgfx 库,但出现错误...


在2019 windows server虚拟机上部署django项目(离线)

我已经在 Django 项目上工作了一段时间,完成后,我想部署它,以便我的同事可以使用它。我有一个虚拟机 (Windows Server 2019),但没有


在 Windows 上的命令行中使用gunzip

我需要在Windows终端中使用gunzip(gzip的解压工具) 我从这里下载了gzip(第一个下载链接) 我安装了它并将其 /bin 文件夹添加到我的 PATH va...


在Windows批处理脚本中使用printf写入带有特殊字符的行

我有一个简单的需要在 Windows 批处理脚本中执行此操作: 设置 getlock=C:\getlock.awk 如果存在 %getlock% 删除 %getlock% 回声 /^^uq:/ ^&^& /updsync/ {>>%getlock% 回声 printf (“...


如何在 Windows 11 上的 Python 3.12 上 pip 安装 TA-Lib?

如何在 Windows 11 上的 Python 3.12 上 pip 安装 TA-Lib? 请给我 cmd 或 VS code 终端的命令。 我试过: pip 安装 Ta-Lib 默认为用户安装,因为正常的站点包...


如何在Windows 10中打开显示设置(以编程方式,特别是使用C#)?

我正在尝试使用 C# 在 Windows 10 中打开/启动显示。 我已经尝试过这个: Process.Start("explorer.exe", @"shell:::{BB06C0E4-D293-4f75-8A90-CB05B6477EEE}"); 但它打开关于(信息...


如何在 Windows 上为 GNU make 正确设置 NASM x86 的 Makefile?

我一直在观看这个视频(他在 8:24 开始创建 Makefile),但由于他在 Linux 上而我在 Windows 上(我猜这就是原因),所以“make”命令确实好像没有...


无法在 Windows 中从命令行运行 R 脚本

我正在尝试通过Python(在Windows机器上)中的子进程调用来运行R脚本。子进程运行并返回已完成但 R 脚本尚未运行。所以现在我只是...


确定 Windows 11 上的指纹数量

我正在尝试在我的电脑上查看是否有人存储了额外的指纹来访问我的个人笔记本电脑。有没有办法查看 Windows 11 机器上存储了多少指纹?


有没有办法在 Windows 10 中拥有很长的文件名并通过脚本重命名它们?

我目前正在尝试让 ffmpeg 创建名称约为 1000 个字符的文件,我已在 Windows 中启用“LongPathsEnabled”并重新启动多次,但 ffmpeg 和


获取具有特定标签的 Windows VM 列表的 Powershell 脚本

使用 powershell,我需要获取租户内所有订阅的 Windows 虚拟机列表。我只需要带有标签 ApplicationName 且其值中包含 PROD 的虚拟机。 这是我当前的脚本...


通过powershell在Windows上创建.pem格式的自签名证书

我想在脚本中创建 .pem 格式的证书。但我在那里需要一些帮助。我使用Powershell脚本在Windows商店中生成证书;然后,我将其导出为 pfx 和 trie...


如何使用Windows批处理脚本每1秒更改cmd的文本颜色

颜色命令与更改 Windows 命令提示背景/文本的颜色有关 color 0A - 其中 0 是背景颜色,A 是文本颜色 我想改变这些文本的颜色...


具有提升权限的Windows核心运行命令

标准用户有几个选项可以以管理员(或任何其他用户)身份运行,但是,即使以管理员身份登录,某些功能也需要“提升”运行。 在 Windows GUI 上,j...


Windows 应用程序的在线产品演示环境

我正在寻找一种方法,让潜在客户在购买之前试用我的应用程序。 该产品是一个Windows窗体应用程序,需要SQL Server数据库才能运行。 虽然我...


如何使用 powershell 管理工作组服务器(Windows 2019)中 gpedit.msc 中的策略?

我正在尝试创建一个powershell脚本来管理gpedit.msc中的策略(管理模板(计算机)/系统)。 我想在 Windows 2019 服务器中管理这些策略,这不属于...


Control Maps Net Maui (net 8.0) for Windows

我正在使用 net 8.0,我想使用 Maui.Controls.Map。 MauiProgram.cs 中的代码是: 公共静态 MauiApp CreateMauiApp() { var builder = MauiApp.CreateBuild...


在 Windows 10 上通过 SSH 运行时,Poetry 安装会抛出 WinError 1312

我有一个从 Windows 机器到另一台机器的 SSH 连接,然后尝试进行诗歌安装。 我的问题是: 通过 ssh 执行诗歌安装时出现此错误: [WinError 1312] 规范...


Windows 10 IOT Core,普通 C++ dll 和 C# 代码支持?

我有一个基于 OpenCV v3 用 C++ 编写的实时图像处理 DLL 和一个基于该 dll 的带有 GUI 的 C# 程序。我想在 Windows 10 IOT 核心中使用该 dll,可以吗? DLL 就是我们...


© www.soinside.com 2019 - 2024. All rights reserved.