[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: QSM New Win32 Mixminion Client



BigappleAdmin wrote:
> I can't get QSM to do anything. No matter what I try I get the following;
> Unable to create the child process.
> Error: This application has failed to start because the application
> configuration is incorrect.
> Reinstalling the application may fix this problem.
> 
> Mixminion works just fine.

I get the same result here. This particular message also appears if I launch the
qsx.exe program. The path to mixminion.exe is corrent in QSM.ini. This is using
Windows XP Pro.

I also get:

C:\Program Files\qsm>qsx.exe
The system cannot execute the specified program.

On the other hand, I was able to compile QSX with MingW and it works now. I will
attach the (very ugly) patch I used to make GCC happy.

-- 
Philippe Gauthier <philippe.gauthier@xxxxxxxxx>
--- qsx-orig/QSX.cpp	Mon Nov 21 20:09:54 2005
+++ qsx-gcc/QSX.cpp	Fri Dec  9 11:08:03 2005
@@ -20,10 +20,15 @@
 // QSX.cpp : Defines the entry point for the console application.
 //
 
+#if 0
 #include "stdafx.h"
-#include "windows.h"
-#include "direct.h"
-#include "stdlib.h"
+#endif
+#include <windows.h>
+#if 0
+#include <direct.h>
+#endif
+#include <stdlib.h>
+#include <stdio.h>
 
 LPSTR GSXCommandLine()
 {
@@ -141,7 +146,7 @@
 	{
 		SetConsoleTitle("Checking Command Line Length");
  	    char numstr[16];
-	    _itoa_s(lstrlen(GetCommandLine()), numstr, 16, 10);
+	    snprintf (numstr, 16, "%d", lstrlen(GetCommandLine()));
 	    printf("Length of the current command line is:\n");
 	    printf(numstr);
 

Attachment: signature.asc
Description: OpenPGP digital signature