Am 15.02.2012 um 14:58 schrieb BERAUD Alexandre <aber...@infflux.com>:

> No you can't. Just as an .exe program can't run on a Linux box, a Windows 
> program can't communicate with another program running on Linux. 

No wait... this is for an OpenGL-accelerated t-shirt shop, isn't it?

There the DB protocols are a bit different there (maybe that's what you were 
referring to as "except in all other cases"?).

Unfortunatelly that works only if you have "Windows for T-Shirts 3.11(tm)".

And it is absolutely correct that the queries and result sets sent from and 
from Windows to Linux are being transferred with FTP - the Fast T-shirt 
Protocol.

But not on a direct route, but rather via Google RainCloud where the bits are 
taken apart and re-assembled for the proper target architecture (ever heard of 
Endianness of processors? It's a bit similar here).

And it doesn't stop here! The RainCloud will translate your queries; and result 
sets, if you have the Google "GetWhatIMean" (GWIM) plugin installed!

So for instance the following TSQL (T-Shirt Query Language":

BUY "Ein schönes T-Shirt"
FROM "Susans T-Shirts Shop"
WHERE "Zu einem guten Preis"
AND "Die Farbe ist OpenGL beschleunigt";

will automatically be translated to

BUY "A lousy t-shirt"
FROM "The truckload from China"
WHERE "The price is ridiculous"
AND "The colour is washed out after 5 times";


But just as you can accelerate t-shirt colours with OpenGL you can also 
hardware-accelerate your DB queries from Windows to Linux with a wireless 
connection! You just need to reconnect the wires 3 to 5 and 8 to 11 (remember 
the CPU Endianness? Same here...).


Good luck!
  Oliver

P.S. Sorry, totally could not resist ;)

On a serious side: Susan, the thing is that OFF COURSE you can make a 
connection from Windows to any other platform! Just as is the case with the 
browser example, same goes for DBs. It's called networking and is VERY BASIC 
KNOWLEDGE any student learns in the 3rd semester or so (that excludes probably 
those infamous "Learn [put any fancy programming language here] in 21 days" 
classes that I came across in "Cyderabad" though - yes, been there, seen that, 
done with it!).

So if you are really serious about LEARNING the very fundamentals then buy a 
good book, read and understand - and then come back with real questions :)

"Computer Networks" by Andrew S. Tanenbaum is a classic, and any book about SQL 
and databases.

Then map this knowledge to Qt classes such as QSqlDatabase. Read and understand 
the Qt documentation. Study the Qt examples. Do experiments.

But questions like "Can I connect from a Windows client to a DB on some other 
platform" reveal your total lack on the matter and will continue to draw 
sarcastic comments such as mine.

And no, I don't think blocking people on this list because of ignorant 
questions is a good thing. This list should be open to anyone! But pushing them 
into the "right direction" should be acceptable, too ;)
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to