PDA

View Full Version : windll and linux dll



Benzakhar
01-19-2004, 04:44 PM
If I create a dll that uses commands in iostream.h to read and write to files in linux, will I be able to copy the dll to a disk and use it in windows?

thanx in advance!

Salem
01-19-2004, 05:42 PM
No.

It is your source code which is portable from one machine to another.
Copy that to windows and recompile it using a windows compiler to produce a windows DLL

Benzakhar
01-19-2004, 06:23 PM
thanx.