aMule Forum

English => aMule Help => Topic started by: tired on November 30, 2007, 03:30:41 PM

Title: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on November 30, 2007, 03:30:41 PM
Hello I have a problem with the aMule version for Windows i'm using Windows Vista and want to change the directory of Incoming and Temp but finally when i change it in aMule and restart it. It go back to the previous folders witch are protected under vista in the C:/users/user/Appdata/Roaming and C:/users/user/documents and there's no way to change them can someone help me ? I disabled UAC.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on November 30, 2007, 09:29:18 PM
the error which i get :

FATAL ERROR

Permission on the aMule configuration directory too strick!
aMule cannot proceed.To fix this, you must set read/write/exec permissions for the folder C:\Users\User\AppData\Roaming\aMule

Can anyone help me ??
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: aseop on December 01, 2007, 02:05:04 AM
Uninstall and then re-install.  When you start it next, go in to the preferences and you set your for download, etc. to  folders other than the Windows user folders.  These have by default special protection in Vista.  There is a way to turn it off, but I don't know how and moving the directories will serve your purposes just as well.

Aseop
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: Kry on December 01, 2007, 03:55:13 AM
Actually, it's probably going to be more complicated than that. aMule *config* has to go somewhere else I guess.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on December 01, 2007, 08:18:15 AM
But unfortunatelly there is a problem I can only one time open aMule, the next time I'm getting this fatal error and need to delete the both folders to reopen it, but it deletes all my preferences, and it happend even if i don't change anything in options only open-close and next time if i want to open can't "Fatal Error".

I will be grateful for help.

And I'm using the zip version not exe, but I also tried the exe the same.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on December 01, 2007, 08:56:44 PM
Why can't anyone help me ? even on the forum aMule.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: Kry on December 01, 2007, 09:08:55 PM
Because it won't work unles you install it on a different folder, probably.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on December 01, 2007, 10:45:37 PM
I'm not installing it ! i use the zip version even if i install it on the D it goes to the same place C:/users/user/appdata/roaming can anyone help me ?
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: skolnick on December 01, 2007, 11:27:17 PM
installing a program means uncompressing it and configuring it to make it work, no matter if you use the zip, the exe or the whatever version.

Regards.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on December 02, 2007, 07:29:22 AM
I said that can't open aMule twice because i've got this error ! If i want to open it after closing i need to delete the both folders in C:/users/user/appdata/roaming/amule and C:/users/user/documents/amule downloads.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on December 03, 2007, 04:32:03 PM
Halo ?? can anyone help me ?
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: skolnick on December 04, 2007, 04:32:39 AM
did you change your preferences tio point to different incoming and temp folders?
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on December 04, 2007, 09:10:41 AM
Yes i did it but as i said that i can only open one time amule the next time it doesn't want to open get this fatal error which i wrote and not only i have this problem on vista my friend also.
So can someone finally help me properly ?
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: wuischke on December 04, 2007, 09:35:59 AM
Hi tired,

I don't know about Vista, but this is what they say about old eMules on Vista, but I guess you already tried this when installing to D:/.
Quote from: http://www.emule-project.net/home/perl/news.cgi?l=1&cat_id=10
Vista protects the directory where programms are stored against unauthorized write access and redirects any write access to a virtual directory. This applies to eMule because currently its configuration files as well as downloads are stored there, so you might have trouble finding your downloads later. The easiest solution for now is to install eMule into a seperate directory, not located in the default programm folder. So if the installer suggests "C:\Program Files\eMule" change it to "C:\eMule" for example.

I'm only confused that Vista protects write access to your user directory, but as I already mentioned, I have no experience with Vista. Could you check the permissions of these directories again, maybe it was created with wrong permissions?
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on December 04, 2007, 09:52:20 AM
Hello
I installed amule and also i have my account in vista as administrator. I did also that what you wrote i installed it ofcourse not on the C:/ on the D:/ it's the same because when i open amule it creates this folders automatically :( on C:/users/user... < (these folders are even hide in vista) and i can't do anything with this.

I did that thing with emule and yes it works but i really want to use amule.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: wuischke on December 04, 2007, 10:42:08 AM
And there's no way to change permissions? There was with Windows 2000 and I think XP as well, so there should be with Vista, too.

aMule 2.2.0 contains a feature to use a local config directory (i.e. it can be made self-contained; all you have to do is to create a "config" folder with the file "amule.conf" inside in the amule.exe directory), this would solve it.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on December 04, 2007, 10:58:45 AM
Hello
Exactly what i'm trying to say i can change it in options, it tells me to restart amule so i'm doing this and what i get ? FATAL ERROR, even if i don't change any settings only open amule and close it i can't open it again have to delete both folders to open it. I know that works under xp because i used it but under vista don't want some error maybe you know some of your friend who use vista and could see what's going on ?

Is there 2.2.0 version ? because i have 2.1.3.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: wuischke on December 04, 2007, 01:21:53 PM
Quote
Is there 2.2.0 version?
Not yet, sorry, I wrote this as if it was already released.

OK, I think we are misunderstaning each other. I want you to right-click the folder in Windows Explorer and check the permissions. You might have to activate some advanced options, but you can adjust the permissions there as well.

I know a couple of people who use Vista, but they know rather little about computers. Actually I have two (legal) licenses of Vista Business, but a) my PC is not very fast (1.6GHz C2D, 1GB) and Vista is horribly slow on it and b) I have big problems using the user interface, which confuses me.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on December 04, 2007, 02:15:01 PM
I understand about what you thought yes i gave permission for all doesn't help too... If you can please tell your friend to check maybe he will know how to fix this fatal error..
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: wuischke on December 04, 2007, 03:22:22 PM
It's a she...and her computer knowledge consists of the power switch, chatting and the internet. ;)

But I've uploaded you a developmental version of aMule 2.2.0. It will most probably crash once you open the preferences - if it starts at all, haven't tested it. But it would be interesting to see if there's the same error message when you start it twice.
If it produces the same error, please create a folder called "config" and inside this folder a file "amule.conf" (can be empty) in the directory, where amule.exe resides and report back whether it will still give the error.
Oh, and please tell me which 4-digit R (or Rev.)-number it says in the title bar, it should be something like r7684.

http://files-upload.com/files/658800/amule.zip
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on December 04, 2007, 03:31:12 PM
Can't open because of missing the zlib1.dll file and also there isn't unicows.dll.

I took these files from the 2.1.3 version and i opened this cvs but i click preferences and error closet amule want to open next time and what i see the same FATAL ERROR :( i would like you to correct this in some way.

I did that what you said about making folder config in the same folder where is amule.exe i did this put inside of config folder this file amule.conf and the error changed directory:

FATAL ERROR

Permission on the amule configuration directory too strick!
amule cannot  proceed.To fix this, you must set read/write/exec permission for the folder D:\amule\config

But permission is ok so what's going on :(
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: wuischke on December 04, 2007, 03:42:31 PM
And I would like you to do the test I asked you for.

Open Windows Explorer and navigate to the folder where amule.exe is (somewhere outside of c:\program files\)
Then create a folder called "config". Open this folder and create a file "amule.conf". Then try to start aMule and see if there's still the error message.

And please tell me the revision number it says in the title, will you?

Edit: OK, you already did it. I'll make lunch now and have another look at the code afterwards.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on December 04, 2007, 03:46:08 PM
But can't find that revision number sorry if we can sometimes missunderstand because i don't speak english normally.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on December 04, 2007, 07:56:27 PM
Sorry for writing another post but i just wanted to ask about this changes in code you wanted to do. How about them is there some progress. Don't take it as some rushing but you know everyone can forgot.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: wuischke on December 04, 2007, 08:39:33 PM
Some more work for you. I wrote a couple of lines to test the result of the wxAccess-call.

It's a console-program, so copy it somewhere, start a console and execute the test.exe binary.

The output should be similar to the following:
Code: [Select]
$ ./test
/home/user/devel/mingw
wxAccess R_OK: 0
wxAccess W_OK: 0
wxAccess X_OK: 0
A '0' means "OK", a '-1' means failed.

I want you to find out the results for the directories aMule claims they have too strict permissions.

You can call it with a path as parameter as well, in my case I use the subdirectory "testdir" with the following permissions: (read, no write, execute)
Code: [Select]
$ ./test testdir
testdir
wxAccess R_OK: 0
wxAccess W_OK: -1
wxAccess X_OK: 0
and with changed permissions (read, no write, no execute)
Code: [Select]
$ ./test testdir
testdir
wxAccess R_OK: 0
wxAccess W_OK: -1
wxAccess X_OK: -1

So, you should try to execute
Code: [Select]
test.exe C:/users/user/appdata/roaming/amule and see what it outputs.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on December 04, 2007, 09:28:19 PM
How to execute test.exe because  i don't understand that ? i'm not so good in this. It also wanted a file mingwm10.dll. If i press 2 times on test.exe nothing happend..
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: wuischke on December 04, 2007, 09:36:07 PM
In the ancient days of computing, there was something called MS-DOS, a successor of your operating system Windows Vista. DOS is long dead gone on today's computers, but you still have something like a MS-DOS command prompt installed. I don't know how it is called on Vista, but by opening the execute dialog and executing "cmd", it should appear. Now you have to change the working directory to the directory containing test.exe and type "test.exe" to execute it or call test.exe by using the full path (e.g. C:\temp\test.exe) and you'll get above output in the console window. To solve the mingw-problem either copy the dll-file in the same folder as test.exe or to system32 in your windows directory.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on December 04, 2007, 09:41:02 PM
I wrote cmd and a console appeard i copy the folder and named it test and inside i have 3 files (test.exe, test.cpp, mingwm10.dll) on the console which apeard write something like this c:\users\tired> and now i wrote the directory of the folder with test.exe and still nothing happening :(

i wrote c:\users\tired\test\test.exe
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: Stu Redman on December 04, 2007, 11:18:07 PM
@wuischke: same problem here with Vista. I have run the test.exe on the console  (with the mingwm10.dll from the amule.zip), but it prints just a blank line.
The 2.2.0 test version fails equally, complaining about the permissions in the local config subdirectory, so this approach does not help at all.

What is happening on Vista:
aMule complains about too strict permissions on c:\users\myname\AppData\Roaming\aMule
This directory is flagged as "read only". Whyever. Removing the read only flag (in explorer or command line) fails, the flag is restored to read only at once. It seems Vista has a more complex permission system on NTFS drives. The read only attribute for folders appears to be treated as a legacy (http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1553690&SiteID=17). It is always active on all folders and can't be reset.  ::) This applies even for FAT32 volumes.  ::) ::) Yeah, I know, that's stupid.

However, I can easily create, modify, delete files in this directory. aMule creates 18 files and a temp folder nicely on first run and only fails on second run checking the permission. So my guess is, if you simply remove the permission check everything should work.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: wuischke on December 05, 2007, 12:17:52 AM
OK, Kry is currently doing a lot of work regarding Windows, so I'll let him decide about disabling the check for Windows.

Mh...but if you could try to compile my test program with Visual Studio (the express is free, I believe) and get me the output, then I
could try to solve this as well, but you'll have to compile wxMSW first.
Also, please check it with an argument, e.g. "test.exe C:\temp\". Or I'll give you a short Python program doing the same, if I don't forget about it tomorrow...
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: Stu Redman on December 05, 2007, 12:33:49 AM
please check it with an argument, e.g. "test.exe C:\temp\".
Blank line only as well. I'll try to compile it tomorrow.
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: tired on December 06, 2007, 07:50:13 PM
Hello and what did you find some fix ?
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: wuischke on December 06, 2007, 08:29:59 PM
Patience is a virtue. But not exactly one of your strong points, is it?
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: Stu Redman on December 23, 2007, 12:48:06 AM
Having fun with The Crappiest Development Environment Ever Made (a.k.a. MinGW)  >:(

I can't compile test.cpp. Do I need a makefile or something for such a mini app with wx ?

Code: [Select]
$ g++ test.cpp
test.cpp:1:23: error: wx/string.h: No such file or directory
test.cpp:2:25: error: wx/filename.h: No such file or directory
test.cpp: In function 'int main(int, char**)':
test.cpp:6: error: 'wxString' was not declared in this scope
test.cpp:6: error: expected `;' before 'msg'
test.cpp:7: error: expected `;' before 'dir'
test.cpp:10: error: 'dir' was not declared in this scope
test.cpp:10: error: 'wxFileName' has not been declared
test.cpp:12: error: 'dir' was not declared in this scope
test.cpp:12: error: 'wxString' is not a class or namespace
test.cpp:15: error: 'msg' was not declared in this scope
test.cpp:15: error: 'dir' was not declared in this scope
test.cpp:15: error: 'wxT' was not declared in this scope
test.cpp:15: error: 'R_OK' was not declared in this scope
test.cpp:15: error: 'wxAccess' was not declared in this scope
test.cpp:16: error: 'W_OK' was not declared in this scope
test.cpp:17: error: 'X_OK' was not declared in this scope

$ g++ test.cpp -I/local/include/wx-2.8
In file included from C:/MinGW/local/include/wx-2.8/wx/defs.h:21,
                 from C:/MinGW/local/include/wx-2.8/wx/string.h:25,
                 from test.cpp:1:
C:/MinGW/local/include/wx-2.8/wx/platform.h:196:22: error: wx/setup.h: No such file or directory
In file included from C:/MinGW/local/include/wx-2.8/wx/platform.h:279,
                 from C:/MinGW/local/include/wx-2.8/wx/defs.h:21,
                 from C:/MinGW/local/include/wx-2.8/wx/string.h:25,
                 from test.cpp:1:
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:103:9: error: #error "wxUSE_DYNLIB_CLASS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:111:9: error: #error "wxUSE_EXCEPTIONS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:119:9: error: #error "wxUSE_FILESYSTEM must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:127:9: error: #error "wxUSE_FS_ARCHIVE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:140:9: error: #error "wxUSE_DYNAMIC_LOADER must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:148:9: error: #error "wxUSE_LOG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:156:9: error: #error "wxUSE_LONGLONG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:164:9: error: #error "wxUSE_MIMETYPE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:180:9: error: #error "wxUSE_PRINTF_POS_PARAMS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:188:9: error: #error "wxUSE_PROTOCOL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:230:9: error: #error "wxUSE_REGEX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:238:9: error: #error "wxUSE_STDPATHS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:246:9: error: #error "wxUSE_XML must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:254:9: error: #error "wxUSE_SOCKETS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:262:9: error: #error "wxUSE_STREAMS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:270:9: error: #error "wxUSE_STOPWATCH must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:278:9: error: #error "wxUSE_TEXTBUFFER must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:286:9: error: #error "wxUSE_TEXTFILE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:302:9: error: #error "wxUSE_URL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:310:9: error: #error "wxUSE_VARIANT must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:330:9: error: #error "wxUSE_ABOUTDLG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:338:9: error: #error "wxUSE_ACCEL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:346:9: error: #error "wxUSE_ANIMATIONCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:354:9: error: #error "wxUSE_BITMAPCOMBOBOX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:362:9: error: #error "wxUSE_BMPBUTTON must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:370:9: error: #error "wxUSE_BUTTON must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:378:9: error: #error "wxUSE_CALENDARCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:386:9: error: #error "wxUSE_CARET must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:394:9: error: #error "wxUSE_CHECKBOX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:410:9: error: #error "wxUSE_CHOICE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:418:9: error: #error "wxUSE_CHOICEBOOK must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:426:9: error: #error "wxUSE_CHOICEDLG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:434:9: error: #error "wxUSE_CLIPBOARD must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:442:9: error: #error "wxUSE_COLLPANE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:450:9: error: #error "wxUSE_COLOURDLG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:458:9: error: #error "wxUSE_COLOURPICKERCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:466:9: error: #error "wxUSE_COMBOBOX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:474:9: error: #error "wxUSE_COMBOCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:482:9: error: #error "wxUSE_DATAOBJ must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:490:9: error: #error "wxUSE_DATAVIEWCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:498:9: error: #error "wxUSE_DATEPICKCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:506:9: error: #error "wxUSE_DIRPICKERCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:514:9: error: #error "wxUSE_DISPLAY must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:522:9: error: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:530:9: error: #error "wxUSE_FILEDLG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:538:9: error: #error "wxUSE_FILEPICKERCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:546:9: error: #error "wxUSE_FONTDLG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:554:9: error: #error "wxUSE_FONTMAP must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:562:9: error: #error "wxUSE_FONTPICKERCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:570:9: error: #error "wxUSE_GAUGE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:578:9: error: #error "wxUSE_GRAPHICS_CONTEXT must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:587:9: error: #error "wxUSE_GRID must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:595:9: error: #error "wxUSE_HELP must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:603:9: error: #error "wxUSE_HYPERLINKCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:611:9: error: #error "wxUSE_HTML must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:632:9: error: #error "wxUSE_ICO_CUR must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:640:9: error: #error "wxUSE_IFF must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:648:9: error: #error "wxUSE_IMAGLIST must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:656:9: error: #error "wxUSE_JOYSTICK must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:664:9: error: #error "wxUSE_LISTBOOK must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:672:9: error: #error "wxUSE_LISTBOX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:680:9: error: #error "wxUSE_LISTCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:688:9: error: #error "wxUSE_LOGGUI must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:696:9: error: #error "wxUSE_LOGWINDOW must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:704:9: error: #error "wxUSE_LOG_DIALOG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:712:9: error: #error "wxUSE_MDI must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:720:9: error: #error "wxUSE_MDI_ARCHITECTURE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:728:9: error: #error "wxUSE_MENUS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:736:9: error: #error "wxUSE_MSGDLG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:744:9: error: #error "wxUSE_NOTEBOOK must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:752:9: error: #error "wxUSE_ODCOMBOBOX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:760:9: error: #error "wxUSE_PALETTE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:768:9: error: #error "wxUSE_POPUPWIN must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:776:9: error: #error "wxUSE_PRINTING_ARCHITECTURE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:784:9: error: #error "wxUSE_RADIOBOX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:792:9: error: #error "wxUSE_RADIOBTN must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:800:9: error: #error "wxUSE_SASH must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:808:9: error: #error "wxUSE_SCROLLBAR must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:816:9: error: #error "wxUSE_SLIDER must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:824:9: error: #error "wxUSE_SOUND must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:832:9: error: #error "wxUSE_SPINBTN must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:840:9: error: #error "wxUSE_SPINCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:848:9: error: #error "wxUSE_SPLASH must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:856:9: error: #error "wxUSE_SPLITTER must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:864:9: error: #error "wxUSE_STATBMP must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:872:9: error: #error "wxUSE_STATBOX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:880:9: error: #error "wxUSE_STATLINE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:888:9: error: #error "wxUSE_STATTEXT must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:896:9: error: #error "wxUSE_STATUSBAR must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:904:9: error: #error "wxUSE_TAB_DIALOG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:912:9: error: #error "wxUSE_TEXTCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:920:9: error: #error "wxUSE_TIPWINDOW must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:928:9: error: #error "wxUSE_TOOLBAR must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:936:9: error: #error "wxUSE_TOOLTIPS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:944:9: error: #error "wxUSE_TREECTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:952:9: error: #error "wxUSE_VALIDATORS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:960:9: error: #error "wxUSE_WXHTML_HELP must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:968:9: error: #error "wxUSE_XRC must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:1765:9: error: #error "wxMessageBox is always needed"
In file included from test.cpp:2:
C:/MinGW/local/include/wx-2.8/wx/filename.h:88: error: 'wxULongLong' does not name a type
C:/MinGW/local/include/wx-2.8/wx/filename.h:487: error: 'wxULongLong' does not name a type
C:/MinGW/local/include/wx-2.8/wx/filename.h:488: error: 'wxULongLong' does not name a type
C:/MinGW/local/include/wx-2.8/wx/filename.h:493: error: expected ',' or '...' before '&' token
C:/MinGW/local/include/wx-2.8/wx/filename.h:495: error: ISO C++ forbids declaration of 'wxULongLong' with no type
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: wuischke on December 23, 2007, 08:28:14 AM
On Linux: g++ test.cpp `wx-config --libs` `wx-config --cxxflags` -o test.exe

Please be aware that I've installed VS2008 (via MSDN-AA) yesterday on a Vista installation and intend to do some testing once I set up the aMule development environment.

Edit: Oops... .exe, not .cpp
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: Stu Redman on December 23, 2007, 12:03:51 PM
Ahh - that does the trick. Works even under MinGW. (If you leave out the -o test.cpp which overwrites the source file. ;-) )
Output is always:
wxAccess R_OK: 0
wxAccess W_OK: 0
wxAccess X_OK: -1

I figured out why the exe failed before. It seems the App is not compiled as win32 console app and so there's no output on the windows console (though it works on the MinGW console). You can run it under windows cmd with
test.exe | more

Setting up aMule under VS is no small task of course. You will have to set up the project from scratch. But that would be the best solution for aMule on Win32 of course.  8)
Title: Re: Incoming and Temp under Windows Vista in windows version of aMule
Post by: wuischke on December 24, 2007, 02:41:13 PM
It should work now, see here (http://forum.amule.org/index.php?topic=14049.0) or wait for tomorrow's tarball to compile your own package.