Messages - JoTo [ switch to compact view ]

Pages: prev1 ... 37 38 39 40 41 [42] 43 44 45 46next
206
Finished Programs / Re: DONE: Finding Mousepointer Utility
« on: July 19, 2006, 05:50 AM »
Hi PitrPaulus, welcome to the forum!

.... everytime when I reboot the computer I have to find the program in My Firefox Downloads > start it and then it works.
How can I make it start up right from the start of the computer?

Move the File with the Windows-Explorer from your MyFirefoxDownlads directory to somewhere else where it better fits for a program that you want to keep and use. E.g. make a new folder in C:\program files with the name MouseMark and move the file there in.

Then grab the program in the explorerwindow with the RIGHT! Mousebutton and DONT release the button. Hold the button! Then move your mouse over the start button from windows in the lower left corner of your screen, wait until the start menu pops up, move the mouse (still hold the right button!) to "programs" and wait again until it pops up, then move the mouse over "autostart" and wait until it pops up (have you still pressed down the right button? - This is important! :-) ), then move the mouse IN the popped up autostart group. Finally release the right button NOW! In the now popping up context menu select the entry "create a shortcut here". Then rename the new created shortcut (right klick on the entry name and select "rename" in the context menu) to MouseMark.

Youre set! The next time you boot up, MouseMark will start automagically. :-) By the way...every program you put a shortcut for in the autostart folder will start automatic when windows starts.

HTH
JoTo

207
Developer's Corner / PHP Compilers to make standalone PHP-Exes
« on: July 10, 2006, 04:05 AM »
Hi DCs,

our great mouser found another free PHP-Compiler to achieve standalone executables from php scripts. As he is in deep meditation now about the new blog portal feature of our great site, he wished, as he knows that i am interested in this sort of programs, that i'll do the job of looking at them and post about my very first opinion and experiences.

mouser found (so far) the following alternatives:

- Roadsend PHP Compiler
seems to be the best and completest, but it is commercial and very expensive (about $139 for a personal licence) (see: http://www.roadsend.com)

- phc-win
A compiler that goes together with winbinder (see: http://winbinder.org/), a windows api binding for PHP. (See: http://winbinder.org/forum/viewtopic.php?t=282)
It confuses me a little, at the first look, but it sounds interesting. And its free. Cons: It needs beside the application exe at least some extra dlls in the appdir (a php-dll and the winbinder.dll). So you have not really a single, stand-alone application. But there is no need to install sth. Just deliver the dlls with your app and you're set.

- bambalam PHP Compiler
Another free PHP Compiler that sounds interesting. It is based on PHP 4.4.x (5.x will come as the author states) and has some php-libs statically linked within the "core". It creates a really single, stand-alone file of your app that dont need any further files. If you need php-extensions, you have to have a own php.ini with the php-extensions variable set with relative paths and the neccessary php-files in the app dir too. Then bambalam claims, that it can compile a single file exe, (including php.ini and the extension libs) that can access these extensions like the builtin ones. Exes can be compressed automatically (via a commanline option) with upx to get smaller results.
(see: http://www.bambalam.se/bamcompile/)

Both free compilers can compile multi-script applications. You can compile a whole directory of php-scripts of an application together in one executable. Then you have to tell the compiler which script is the main/startscript.

I have quick-tested both free compilers only with a single phpinfo-script yet. Both worked for me. Pro for bambalam over PHC, it was really only a single EXE-file, while phc needs more "helperfiles" (dlls). Not tested Roadsend, because i feel it is too expensive to purchase when there are free alternatives.

As i said earlier: Have not tested very much and have not digged in very deep in both free compilers so far. But i will test both more deeply in future and report.

Maybe there are more experiences with this by other users who will contribute with informations. If there are more free PHP-Compilers out there, this will be a helpful information too.

CU
JoTo

208
Living Room / Re: Too Funny
« on: May 16, 2006, 08:39 AM »
Hi,

dunno if the "stupid user" story is a hoax or not.

BUT...after 18 years working in the helpdesk i can imagine that it CAN be true.

And, believe it or not, the story at the a.m. site with sending XEROX copies of a floppy to the helpdesk instead of a copy of the floppies itself has happened to myself long time ago, when computers weren't so wide spreaded than today. I said to the customer: send me a copy...and i received a copy...a xerox copy! And that's TRUE i swear!

CU
JoTo

209
German Translation is in progress from me. Ready soon!

CU
JoTo

210
Developer's Corner / Can you read and understand C? :-))
« on: May 02, 2006, 09:30 AM »
Hi,

13 Years ago in 1993 there was a special programmers contest. The goal was to write the obfuscated C-code ever written. At that time i downloaded the winner code from the contest page.

If you want to have fun, look (like me) at the code and try to understand. I am willing to admit, that until today i never have understand that pointerstew.  :D

But i promise the following:

- The program can be compiled unmodified (at least the core functionality - maybe you have to adjust some compiler instructions and/or includefiles) with a normal C-Compiler with no errors and only one ignorable warning. A "ready to build" Microsoft Visual C++ .NET 2003 solution is included in the ZIPfile.

- The program creates an understandable output in the console window. (Its a console app, so open a commandprompt window first and start it from there). I will not reveal the output, try it by yourself.  :P

Click me to see the code
// Code93.cpp

#include "stdafx.h"

rmain(int t,int _,char* a)
{
return!

0<t?
t<3?

rmain(-79,-13,a+
rmain(-87,1-_,
rmain(-86, 0, a+1 )


+a)):

1,
t<_?
rmain(t+1, _, a )
:3,

rmain ( -94, -27+t, a )
&&t == 2 ?_
<13 ?

rmain ( 2, _+1, "%s %d %d\n" )

:9:16:
t<0?
t<-72?
rmain( _, t,
"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+,/+#n+,/#;\
#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/+k#;\
q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# ){nl]!/n{n#'; \
r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#\
\
n'wk nw' iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c ;;\
{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;\
#'rdq#w! nr'/ ') }+}{rl#'{n' ')# }'+}##(!!/")
:
t<-50?
_==*a ?
putchar(31[a]):

rmain(-65,_,a+1)
:
rmain((*a == '/') + t, _, a + 1 )
:

0<t?

rmain ( 2, 2 , "%s")
:*a=='/'||

rmain(0,

rmain(-61,*a, "!ek;dc [email protected]'(q)-[w]*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry")

,a+1);}

int _tmain(int argc, _TCHAR* argv[]){

rmain(1,

0,NULL

); return 0;
}


For those that don't want or can't compile the code itself, i upload a ready to run compiled windows exe too.

Have fun!
CU
JoTo

Pages: prev1 ... 37 38 39 40 41 [42] 43 44 45 46next
Go to full version