Le Friday 14 July 2006 06:50, Youness Alaoui a écrit :
> Very well done!
> the system include was done because webcamsn was using the libmimic
> library which was in a totally different directory, then we grouped
> it...
I understand

> good job on the .dsw/.dsp files, I forgot about it, thx for following up
> on it.
Hehe, as I am the one who compiles Win binaries, I don't forget ;)

> about the launcher, great job!!! so much better than
> 'system("bin/wish.exe scripts/amsn")'
> btw, now, can't we change the 'scripts' into 'amsn' so it will be easier
> for the user who wants to update from svn, and because scripts/ is not
> only scripts, it contains a lot of binaries too... ? anyways, it's a
> minor issue.
> also, the code looks great, but I still have two comments :
> 1 - the amsn.ascii.exe is wrongly named, it should be ANSI, not ASCII..
> two totally different things (AFAIK)
Well I hesitated and as it uses the range 0-255 for the characters I called it 
ASCII (ANSI only uses 0-127 chars)

> 2 - we don't NEED an ansi + unicode bins, nor code, it should ALL be
> unicode and that's it!
No because on Win 95/98/Me some functions are implemented in A version only
> also, you should use GetModuleFilenameW to make sure the code works even
> if compiled non-ascii...
Why ? GetModuleFileName depends on the UNICODE define too... so it will be 
GetModuleFileNameA if UNICODE isn't defined and GetModuleFileNameW if UNICODE 
is defined...

> also, you created a _T() define, no need, the T"blabla" already exists
> (T is for generic, which is unicode/ansi, depending)...
Didn't manage to make it work... It seems you must include the tchar.h file 
but as I don't want to compile against libc I only defined this thing I had 
to use... I checked in assembly to see if all is good with char comparisions 
and it's perfect (comparing two shorts instead of two chars).

> and finally, you have a #if UNICODE for _T define, but you use wsprintf
> and you use lstrlen, etc... it should have been #if UNICODE
> sprintf/wsprintf strlen/lstrlen... the functions you called are only
> unicode...
FALSE ! (The biggest mistake I heard from you ;) ) wsprintf and lstrlen are 
called like that because they are defined in kernel32.dll and not in the 
libc... so there is a lstrlenA a wsprintfA a lstrlenW and a wsprintfW
And don't worry as the code is done it can't suffer a such error... It would 
have hang... (I controlled under debugger that I didn't overflow the buffer I 
allocate)

> but that's IF you want to keep support for ANSI, which I
> think is not necessary...
It is necessary and I think we should provide the two versions and install the 
best one when we will use NSIS...

> keep it up!
Thx

> KKRT
Phil

P.S. I would like to precise that I don't use any libc code to make the 
program smaller... It's huge only because the icon I put in it has a very 
good quality ;) 48x48 for 24bits and 32x32 for 24bits, 256 colors and 16 
colors all with a colour-set adapted to the image
Look at all icons with IrfanView...



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to