LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-13-2002, 02:24 PM   #1
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Rep: Reputation: 30
Would seeing Microsoft source help?


"The best would be if the Windows API would be fully
documented, so Wine could be a perfect "clean-room"

taken from "The Wine FAQ" www.linuxdoc.org

I was reading some of the stuff about wine and i was wondering if this is one of the main reasons for bugs on linux , and also what does "reverse engineering" actually do ? do they hack windows OS in order to get informations, how legal is that ?thanks for any replys ( just discovered free books atwww.linuxdoc.org really cool )
 
Old 06-13-2002, 03:16 PM   #2
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
If the M$ APIs were as fully documented, and everyone equally supported, as should happen, then Wine would be much farther along. Some are more equal than others -- that's just the way of a very competitive world. Not to mention the various word processors and spreadsheets and other software, that people try to develop for cross-platform use. For instance it would be very nice if the Word .DOC file was fully documented. Then it would be easy for a Linux user to create a document in Kword, or abiword, etc., and have if go easily into Word. And vice versa. The RTF standard is fairly well doc'd

As it is, the Word format, and others, need to be reverse engineered. Now, the way that most developers will say that reverse engineering works is they take a file and parse through it, make a single change to that file in some software (i.e., Word), then parse through the file again to detect changes. That takes a very long time, but is very legal. We won't even talk or think about industrial espionage, which is very illegal.
 
Old 06-13-2002, 03:34 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
There is also a possibility to disassemble a program and lerarn how it works. But it's illegal. That's why Wine developers cannot disassemble Windows.
 
Old 06-13-2002, 04:54 PM   #4
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
Quote:
Originally posted by Mara
There is also a possibility to disassemble a program and lerarn how it works. But it's illegal. That's why Wine developers cannot disassemble Windows.
Darn! Can't they do it somewhere where it's legal/nobody cares about that? You know, countries like the the former USSR, where 99.9999% of all Windoze installations are pirated!
 
Old 06-13-2002, 05:19 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
reverse engineering is only restricted in certain countries. for example MPlaye has just started supporting RealVideo files from reverse engineering the realplayer binaries, whic is totally legal in hungary, where MPlayer is written.
 
Old 06-14-2002, 03:50 AM   #6
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
If they reverse engineered Windoze, it would defeat the purpose of developing Wine. M$ could claim that they used parts of the code, and regardless of the legality of reverse engineering the program, could sue to have it barred or force royalties...

By doing it the legal way, the ensure that Micro$haft can't get a piece of them, or force royalties for the software...
 
Old 06-15-2002, 06:39 AM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
Originally posted by acid_kewpie
reverse engineering is only restricted in certain countries. for example MPlaye has just started supporting RealVideo files from reverse engineering the realplayer binaries, whic is totally legal in hungary, where MPlayer is written.
In most countries reverse engineering is legal in some cases. Those case are described, of course.
 
Old 06-15-2002, 07:09 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Re: Would seeing Microsoft source help?

Quote:
Originally posted by jamaso
"The best would be if the Windows API would be fully
documented, so Wine could be a perfect "clean-room"

taken from "The Wine FAQ" www.linuxdoc.org

I was reading some of the stuff about wine and i was wondering if this is one of the main reasons for bugs on linux , and also what does "reverse engineering" actually do ? do they hack windows OS in order to get informations, how legal is that ?thanks for any replys ( just discovered free books atwww.linuxdoc.org really cool )
When I first read this title, I thought you were going to either post the code or a link to it. I was thinking that wouldn't be a good idea publicly displaying Winbloze code on here. But I was also thinking that it would be cool to see what the hell it looked like.

Anyway, FREE ANYTHING RULES! Especially books!
 
Old 06-15-2002, 05:46 PM   #9
gusgorman
Member
 
Registered: Mar 2002
Location: uk
Distribution: slackware-9b, mandrake-8.1
Posts: 61

Rep: Reputation: 16
well - if seeing m$ code might help then here it is:

/* Source Code to Windows 2000 */
#include "win31.h"
#include "win95.h"
#include "win98.h"
#include "workst~1.h"
#include "evenmore.h"
#include "oldstuff.h"
#include "billrulz.h"
#include "monopoly.h"
#define INSTALL HARD

char make_prog_look_big[1600000];

void main()
{

while(!CRASHED)
{
display_copyright_message();

display_bill_rules_message();
do_nothing_loop();

if (first_time_installation)
{
make_50_megabyte_swapfile();

do_nothing_loop();

totally_screw_up_HPFS_file_system();

search_and_destroy_the_rest_of_OS/2();

make_futile_attempt_to_damage_Linux();

disable_Netscape();

disable_RealPlayer();

disable_Lotus_Products();

hang_system();
}

write_something(anything);
display_copyright_message();
do_nothing_loop();
do_some_stuff();

if (still_not_crashed)
{
display_copyright_message();

do_nothing_loop();

basically_run_windows_3.1();

do_nothing_loop();

do_nothing_loop();
}
}
if (detect_cache())
disable_cache();
if (fast_cpu())
{
set_wait_states(lots);
set_mouse(speed,very_slow);
set_mouse(action,jumpy);
set_mouse(reaction,sometimes);
}

/* printf("Welcome to Windows 3.1"); */
/* printf("Welcome to Windows 3.11"); */
/* printf("Welcome to Windows 95"); */
/* printf("Welcome to Windows NT 3.0"); */
/* printf("Welcome to Windows 98"); */
/* printf("Welcome to Windows NT 4.0"); */
printf("Welcome to Windows 2000");

if (system_ok())
crash(to_dos_prompt)
else
system_memory = open("a:\swp0001.swp", O_CREATE);

while(something)
{
sleep(5);

get_user_input();
sleep(5);

act_on_user_input();
sleep(5);
}
create_general_protection_fault();
 
Old 06-15-2002, 10:11 PM   #10
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I actually saw the code to explorer one time

It was a beta release of IE.

I was looking at local files and folders when I noticed that the view source option was still active.

LOL

there it was, the source code for IE. There was an area of the code that was commented out, it was the code to enable playing sound files directly from explorer. I enabled the code and it worked. They disabled it because it conflicted with the media player.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft learns to live with open source rvijay Linux - News 13 09-18-2005 06:56 AM
Microsoft employee leaks NTFS source ubuntu Ubuntu 5 07-06-2005 08:04 AM
Source code, Microsoft, linux, viruses webwolf70 General 17 10-31-2004 01:36 AM
Microsoft Likes Open Source nuka_t General 7 08-21-2004 07:20 PM
Microsoft going open source cjp General 1 04-26-2004 08:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration