小编Tof*_*fuw的帖子

地址 005ABEFFE 处的 Xampp 访问冲突

我的 XAMPP 控制面板有问题。

每次我运行 XAMPP 控制面板时,它都会关闭,并出现以下错误:

XAMPP 控制面板日志

这是应用程序错误窗口向我显示的内容:

  Exception EAccessViolation in module xampp-control.exe at 001ABEFFE.
  Access violation at address 005ABEFFE in module 'xampp-controle.exe'.
  Read of address 00000042.
Run Code Online (Sandbox Code Playgroud)

这是崩溃的详细信息:

  Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: xampp-control.exe
  Application Version:  3.1.0.0
  Application Timestamp:    505b977e
  Fault Module Name:    xampp-control.exe
  Fault Module Version: 3.1.0.0
  Fault Module Timestamp:   505b977e
  Exception Code:   c0000005
  Exception Offset: 001abefe
  OS Version:   6.3.9600.2.0.0.272.7
  Locale ID:    1036
  Additional Information 1: 85f1
  Additional Information 2: 85f130a438e7576b1a9e31c22e4b9f42
  Additional Information 3: 5349
  Additional Information …
Run Code Online (Sandbox Code Playgroud)

xampp

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

Android-谷歌地图V2:跟踪从当前位置到另一个目的地的路线

我从这个例子开始,在用户之间绘制2个地址之间的路由.这是工作.http://blog.rolandl.fr/1357-android-des-itineraires-dans-vos-applications-grace-a-lapi-google-direction

但是现在我想画一条从当前位置到另一个目的地的路线,由用户输入.我的问题是我不知道如何检索当前位置,在这种情况下.我试过这样做:

LocationManager locationmanager=(LocationManager)this.getSystemService(LOCATION_SERVICE);
final double longitude=locationmanager.getLongitude();
final double latitude=locationmanager.getLatitude();
Run Code Online (Sandbox Code Playgroud)

但它不起作用......我想我正在混合我发现的每一个例子,而且它根本不好.

你能帮我么 ?

这是我的MapActivity:在我的MainActivity公共类中由用户键入的接收2地址MapActivity扩展Activity实现LocationListener {private GoogleMap googlemap;

    protected void onCreate(final Bundle savedInstanceState) 
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_map);

        // Recuperation des composants graphiques
        googlemap = ((MapFragment)getFragmentManager().findFragmentById(R.id.map)).getMap();

        //Recuperations des adresses depart-arrivee
        // RETRIEVE DEPARTURE AND DESTINATION ADDRESS
        /*
         * For editDepart, I would like to replace it by my Current location
         */
        final String editDepart = getIntent().getStringExtra("DEPART");
        final String editArrivee = getIntent().getStringExtra("ARRIVEE");       

        /* Appel de la méthode asynchrone // ASYNCHRONOUS METHOD …
Run Code Online (Sandbox Code Playgroud)

gps android google-maps geolocation android-location

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

在PHP中将日期和时间写入LOG文件

我想在我的LOG文件中写入当前的日期和时间:

$logFileName = 'file://c:\MYLOG.log'; // /var/logs/file.log
$logContent = "Running through the function".PHP_EOL;
$date = (new DateTime('NOW'))->format("y:m:d h:i:s");
if ($handle = fopen($logFileName, 'a')) 
{
  fwrite($handle, $date);
  fwrite($handle, PHP_EOL);
  fwrite($handle, $logContent);
  fwrite($handle, PHP_EOL);
  fwrite($handle, $cmdWindows);
  fwrite($handle, PHP_EOL);
  fwrite($handle, $params);
  fwrite($handle, PHP_EOL);
 }
 fclose($handle);
Run Code Online (Sandbox Code Playgroud)

当它通过我的方法运行时,我可以看到我想要的所有信息,但不能看到日期和时间.你能告诉我哪里错了吗?先感谢您.

php datetime date logfile

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

什么替代C++ Qt上的glob?

我想访问一个目录,并解析其中的所有文件.为此,我在这篇文章中找到了一种方法,但显然它是针对C而不是C++(告诉我,如果我错了).

我正在使用Qt,我想知道使用哪种类似的方式来运行我的目录的每个文件.

c++ directory foreach qt glob

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

克隆BitBucket项目时,SourceTree上的身份验证失败

我正在尝试使用SourceTree将项目从我的bitbucket克隆到我的计算机.

我尝试从网络界面这样做:

在此输入图像描述

但它总是失败.

以下是错误的详细信息.

在此输入图像描述

你能帮我吗 ?

bitbucket bitbucket-server atlassian-sourcetree sourcetree

0
推荐指数
1
解决办法
813
查看次数