[<<]Message[>>]    [<<]Author[>>]    [<<]Subject[>>]    [<<]Thread    

Number : 253 Date : 2001-06-21 Author : Kan Yabumoto Subject : Re: Monday - would not boot with 2 C drives in computer Size(KB) : 4
At 2001-06-20 22:17, inventor84 wrote: >Was xxcopy written with C++? > >If so can we see the code? -------------------------------------------------- It is written in C which is compiled with Microsoft Visual C++ 6.00 package (does not use the C++ features and it's pure C program) plus Borland C++ 3.1 for 16-bit version. The source code is boring... Here it is. The whole thing! The conditional compiling makes the source code hard to read... ---------------------------------------------------------------------------------------- // (c) copyright Pixelab, Inc. All rights reserved. int main( int argc, char* argv[]) { int retval; __try { retval = 0; main_chk_version(); main_do_args(argc,argv); // process the command arguments retval = main_do_logfiles(); // process creation of various log files #ifdef _WIN32 // [ 32-bit case ############################################## if (!retval) retval = main_do_license(); // process license issues #else // 32-bit case ] [ 16-bit ##################################### if (!retval) read_licfile(0); // set license data #endif // 16-bit case ] ############################################## if (!retval) retval = main_do_srcdst(); // process src specifier and dst specifier if (!retval) retval = main_chk_srcdst(); // detect src/dst error conditions if (!retval) retval = main_do_excludes(); // set exclusion directories if (!retval) retval = main_do_warning(); if (!retval) retval = main_do_datman(); if (!retval) retval = main_do_miscinit(); if (!retval) retval = main_do_thework(); // do the real work kexit(retval); return(exit_code); // actually, it never comes here } #ifdef _WIN32 // [ 32-bit case ############################################## __except (1) { error_trap(); kexit(ECODE_FATAL); return(ECODE_FATAL); } #endif // 32-bit case ] ############################################## } --------------------------------------------------------------------------------- The whole thing is a little over 23,000 lines. You need to sign a non-disclosure agreement, and pay $23,000 to maintain XXCOPY by yourself for your own company. But, this is not an educational material. It has not much innovative techniques in programming. The strength of XXCOPY is not in the programming technique. Rather, it is the design of it -- which is for the public to see through our extensive documentation. Also, the working Freeware allows you to examine the working program which is much better way to uderstand the source code. So, if Microsoft decides to duplicate the XXCOPY program, they can just assign the "XXXCOPY" project to a couple of their mediocre programmers and give them the whole published XXCOPY docs and the freeware to look at and give them an office and 12 months. They will have XXCOPY-knock out product. Remember, XXCOPY is not a publich-domain software. Regards, Kan Yabumoto -------------------------------------------------------------- Now, we have given you tech support for free for freeware!!! We appreciate if you reciprocate our goodwill by helping us promote the XXCOPY utility. For every tech support you get, we expect you to help others in the usenet newsgroup. There are many occasions in discussion forums where people are in need of a utility like XXCOPY. For example, click the the following link and you will find many posts that discuss XXCOPY. http://groups.google.com/groups?q=xxcopy&num=100&hl=en&lr=lang_en&safe=off&scoring=date&as_drrb=quick&as_qdr=&filter=0" Now, the following list shows existing threads in various discussion groups (searched by XCOPY instead) where many people could benefit with XXCOPY. http://groups.google.com/groups?as_q=xcopy&num=100&as_scoring=date&btnG=Google+Search&as_oq=&as_epq=&as_eq=&as_ugroup=&as_usubject=&as_uauthors=&as_umsgid=&lr=lang_en&as_drrb=quick&as_qdr=w&as_mind=15&as_minm=8&as_miny=2000&as_maxd=24&as_maxm=3&as_maxy=2001 Please jump in and help others who have not heard of XXCOPY. We appreciate your help in making XXCOPY even better. -------------------------------------------------------------- XXCOPY: a Logical Extension to XCOPY Pixelab, Inc. http://www.datman.com Phone: 630-369-7112 1212 S. Naper Blvd., Suite 119, Naperville, IL 60540 U.S.A. ==============================================================
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.