Thread: windll and linux dll

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    161

    windll and linux dll

    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!

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,667
    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
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    161
    thanx.

Popular pages Recent additions subscribe to a feed