标签: windows-xp-sp3

Dependency Walker报告缺少IESHIMS.DLL和WER.DLL?

在带有Internet Explorer 8的Windows XP Professional SP3上,当我在我的可执行文件上运行Dependency Walker时,它报告:IESHIMS.DLL和WER.DLL无法找到.

  1. 我需要这些DLL吗?
  2. 我在哪里可以买到它们?

我相信他们应该位于C:\ Windows\System32\Wer.dll和C:\ Program Files\Internet Explorer\Ieshims.dll

dll dependency-walker internet-explorer-8 windows-xp-sp3

96
推荐指数
2
解决办法
15万
查看次数

mysqldump错误1045尽管密码正确,但拒绝访问

这是一个棘手的问题,我有以下输出:

mysqldump:收到错误:1045:尝试连接时用户'root'@'localhost'(使用密码:YES)拒绝访问

尝试mysqldump在Windows XP上导出数据库时.用户名为root,密码正确且仅包含字母数字字符.我尝试了不同的情况,有/没有引号,指定使用-u-p,指定使用--user=--password=其他指定用户/密码等的方法,指定主机(它是全局的),甚至指定数据库使用--databases而不是只是空白.使用密码时错误始终相同,除非"否",否则始终相同.我已尝试通过搜索找到许多修复但没有成功.一个修复建议检查mysql.conf,但Windows构建似乎没有.凭证(实际上是命令行参数)与mysql.exe完美配合 - 这个问题似乎只影响mysqldump.exe.

非常感谢您的帮助.

mysql localhost access-denied windows-xp-sp3 mysql-error-1045

47
推荐指数
11
解决办法
16万
查看次数

VS 2010错误 - 无法打开文件"iostream"

我刚刚从VS2005迁移到VS2010,它无法编译一个简单的程序.

#include <iostream>
using std::cout;
using std::endl;

int main()
{
    cout << "Hello Visual Studio 2010 :)" << endl;
}
Run Code Online (Sandbox Code Playgroud)

错误 -

1  error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified.
2  IntelliSense: cannot open source file "iostream"
3  IntelliSense: name followed by '::' must be a class or namespace name
4  IntelliSense: name followed by '::' must be a class or namespace name
5  IntelliSense: identifier "cout" is undefined
6  IntelliSense: identifier "endl" is …
Run Code Online (Sandbox Code Playgroud)

c++ compilation visual-studio-2010 windows-xp-sp3

19
推荐指数
3
解决办法
4万
查看次数

如何在IIS7.5 Express上运行PHP?

我有Win XP SP3并安装了IIS7.5 Express并希望在其上运行PHP.

我能够在服务器上运行简单的HTML代码,我能够通过运行iisservices.exe来启动和停止服务器,但我无法在其上运行php脚本.

如果我有以下PHP文件:

<? php 
echo "hello world";
?>
<html>HI</html>
Run Code Online (Sandbox Code Playgroud)

输出HI但PHP脚本不运行.

我按照本文中描述的步骤安装PHP:

http://learn.iis.net/page.aspx/724/install-and-configure-php/

但是,由于IIS Express没有IIS管理控制台MMC管理单元,因此无法从第10步开始.

如何配置IIS Express以运行PHP?

mysql5 iis-7.5 windows-xp-sp3 iis-express php-5.2

16
推荐指数
2
解决办法
2万
查看次数

在Windows控制台中正确打印utf8字符

这是我尝试这样做的方式:

#include <stdio.h>
#include <windows.h>
using namespace std;

int main() {
  SetConsoleOutputCP(CP_UTF8);
   //german chars won't appear
  char const* text = "aäbcdefghijklmnoöpqrsßtuüvwxyz";
  int len = MultiByteToWideChar(CP_UTF8, 0, text, -1, 0, 0);
  wchar_t *unicode_text = new wchar_t[len];
  MultiByteToWideChar(CP_UTF8, 0, text, -1, unicode_text, len);
  wprintf(L"%s", unicode_text);
}
Run Code Online (Sandbox Code Playgroud)

效果是只显示我们的ascii字符.没有显示错误.源文件以utf8编码.

那么,我在这里做错了什么?

到WouterH:

int main() {
  SetConsoleOutputCP(CP_UTF8);
  const wchar_t *unicode_text = L"aäbcdefghijklmnoöpqrsßtuüvwxyz";
  wprintf(L"%s", unicode_text);
}
Run Code Online (Sandbox Code Playgroud)
  • 这也行不通.效果是一样的.我的字体当然是Lucida Console.

第三步:

#include <stdio.h>
#define _WIN32_WINNT 0x05010300
#include <windows.h>
#define _O_U16TEXT  0x20000
#include <fcntl.h>

using namespace std;

int main() { …
Run Code Online (Sandbox Code Playgroud)

c++ console mingw utf-8 windows-xp-sp3

16
推荐指数
3
解决办法
2万
查看次数

WPF Choppy动画

WPF Windows-XP SP3

我遇到了一个简单的WPF动画问题.

我使用以下Xaml代码(在XamlPad和WPF项目中):

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" >
    <Border Name="MyBorder" BorderThickness="10" BorderBrush="Blue" CornerRadius="10" Background="DarkRed" >
       <Rectangle Name="MyRectangle" Margin="10" StrokeDashArray="2.0,1.0" StrokeThickness="10" RadiusX="10" RadiusY="10" Stroke="Black" StrokeDashOffset="0">
           <Rectangle.Triggers>
               <EventTrigger RoutedEvent="Rectangle.Loaded">
                   <BeginStoryboard>
                       <Storyboard>
                           <DoubleAnimation Storyboard.TargetName="MyRectangle" Storyboard.TargetProperty="StrokeDashOffset" From="0.0" To="3.0" Duration="0:0:1" RepeatBehavior="Forever" Timeline.DesiredFrameRate="30" />
                       </Storyboard>
                   </BeginStoryboard>
               </EventTrigger>
           </Rectangle.Triggers>
       </Rectangle>
    </Border>
</Page>
Run Code Online (Sandbox Code Playgroud)

它具有使边框在矩形周围动画的效果.重新启动机器后,此动画非常流畅.但是,我倾向于一直打开我的机器,经过一段时间后(我不知道有多长时间),动画开始出现口吃并变得不稳定.

我认为这可能是内存或资源问题,但在关闭所有其他应用程序和任何看似不必要的服务后,口吃仍然继续.但是,系统重启后,动画再次平滑!

我在WPF应用程序或XamlPad中得到相同的症状.在应用程序的情况下,无论是在调试器中运行还是直接运行可执行文件,似乎没有任何区别.

我在这个链接上应用了补丁:http: //support.microsoft.com/kb/981741 我认为它已经解决了这个问题,但它似乎没有.

我看过一些帖子可能表明使用透明度可能会影响动画,但正如您所看到的,我的xaml不使用透明度.

谁能给我一些关于如何确定问题的建议?是否有任何可能有帮助的WPF诊断工具?

更新:我检查了我的视频驱动程序,它们是最新版本.(nVidia GeForce 8400 GS)

wpf performance animation windows-xp-sp3

9
推荐指数
1
解决办法
2794
查看次数

任务管理器进程位置

是否有命令行语法在其中返回任务管理器上*.exe的图像路径/位置?

我正在使用Windows XP Professional Service Pack 3,我知道tslist(tasklist)命令,但我只获得所有正在运行的*.exe文件.

command-line taskmanager windows-xp-sp3

6
推荐指数
2
解决办法
1万
查看次数

在没有媒体的Windows XP SP3上安装IIS(CD/DVD)

我重建了系统,忘了安装IIS.它的Windows XP SP3.我没有Windows XP SP3的CD/DVD安装IIS.这可以下载吗?如果是的话?

iis windows-xp-sp3

5
推荐指数
1
解决办法
4万
查看次数

在C#中为Windows 7和Xp Sp3控制Windows防火墙

我在这里有一个完美的Windows 7代码,我从这篇文章中获得帮助....

在Win Xp Sp3 PC上编译相同代码时会出现问题.它不会导致...说界面丢失(错误)....

我似乎无法弄明白.我已经为windows xp再次添加了对hnetcfg.dll(COM APi参考)的引用(在Windows 7中我必须将nother dll" FirewallAPi.dll " 添加到项目中)

using NATUPNPLib;
using NETCONLib;
using NetFwTypeLib;
Run Code Online (Sandbox Code Playgroud)

但是VS仍然看不到接口和其他类

请原谅张贴整个代码

防火墙经理

using System;
using System.Collections;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using NATUPNPLib;
using NETCONLib;
using NetFwTypeLib;

namespace WindowsFirewallManager
{
/// Allows basic access to the windows firewall API.
/// This can be used to add an exception to the windows firewall
/// exceptions list
public class FirewallHelper
{
    #region Variables

    /// Hooray! …
Run Code Online (Sandbox Code Playgroud)

c# wpf windows-firewall-api windows-xp-sp3 windows-7-x64

5
推荐指数
1
解决办法
7063
查看次数

错误0x800706F7"存根接收到错误数据"在Windows XP SP3上

在我的VB6应用程序中,我多次调用我的团队从Ada项目创建的COM服务器(使用GNATCOM).COM服务器上基本上有两种方法可用.他们在VB中的原型是:

Sub PutParam(Param As Parameter_Type, Value)
Function GetParam(Param As Parameter_Type)
Run Code Online (Sandbox Code Playgroud)

其中Parameter_Type是一个枚举类型,它区分了我可以放入/获取COM服务器的许多参数,'Value'是Variant类型变量.PutParam()接收变量,GetParam()返回变量.(我真的不知道为什么在VB6对象浏览器中没有引用COM服务器接口上的Variant类型...).

这个项目的产品已经连续多年使用,在Windows XP SP2的计算机上没有任何问题.在使用WinXP SP3的计算机上,当尝试将参数设置为"Long"类型时,我们得到错误0x800706F7"存根接收到错误数据".

有没有人知道可能导致这种情况的原因?COM服务器仍在SP2系统中构建.在使用SP3的系统上构建它应该有什么区别吗?(就像我们在X64系统中为X64构建时).

导致问题的一个调用是(更改了一些var名称):

Dim StructData As StructData_Type

StructData.FirstLong = 1234567
StructData.SecondLong = 8901234
StructData.Status = True

ComServer.PutParam(StructDataParamType, StructData)
Run Code Online (Sandbox Code Playgroud)

StructData_Type的定义是:

Type StructData_Type
    FirstLong As Long
    SecondLong As Long
    Status As Boolean
End Type
Run Code Online (Sandbox Code Playgroud)

(首次发布问题后添加了以下内容)

IDL中COM服务器接口上的原语调用定义如下:

// Service to receive data
HRESULT PutParam([in] Parameter_Type Param, [in] VARIANT *Value);

//Service to send requested data
HRESULT GetParam([in] Parameter_Type Param, [out, retval] VARIANT *Value);
Run Code Online (Sandbox Code Playgroud)

我试图传递的结构的定义是:

struct StructData_Type …
Run Code Online (Sandbox Code Playgroud)

vb6 com windows-xp ada windows-xp-sp3

5
推荐指数
2
解决办法
6478
查看次数