Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. making .dll file in VC++ from C code written in unix

making .dll file in VC++ from C code written in unix

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharpc++visual-studio
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dfn
    wrote on last edited by
    #1

    Hello. I have a buncha files that were written in C in unix. It uses a few libraries that I don't have using Visual Studio 2005 (Win). How do I compile the files into a .dll under VC++ in Win?

    C 1 Reply Last reply
    0
    • D dfn

      Hello. I have a buncha files that were written in C in unix. It uses a few libraries that I don't have using Visual Studio 2005 (Win). How do I compile the files into a .dll under VC++ in Win?

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      If these files use unix libraries, then there is no way to port them for windows, unless you rewrite the parts which are system dependant.


      Cédric Moonen Software developer
      Charting control [v1.2]

      T 1 Reply Last reply
      0
      • C Cedric Moonen

        If these files use unix libraries, then there is no way to port them for windows, unless you rewrite the parts which are system dependant.


        Cédric Moonen Software developer
        Charting control [v1.2]

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        Cedric Moonen wrote:

        If these files use unix libraries, then there is no way to port them for windows, unless you rewrite the parts which are system dependant

        i have heard of some minigw type stuff who could compile library written in unix for windows enviornment!

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
        Never mind - my own stupidity is the source of every "problem" - Mixture

        cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

        J 1 Reply Last reply
        0
        • T ThatsAlok

          Cedric Moonen wrote:

          If these files use unix libraries, then there is no way to port them for windows, unless you rewrite the parts which are system dependant

          i have heard of some minigw type stuff who could compile library written in unix for windows enviornment!

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
          Never mind - my own stupidity is the source of every "problem" - Mixture

          cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

          J Offline
          J Offline
          jhwurmbach
          wrote on last edited by
          #4

          ThatsAlok wrote:

          i have heard of some minigw

          Yes, but he asked specifically for VC++2005. *Probably* he can compile and run his Unix-code with Mingw. It then remains a Unix-Program on a Wrapper around Windows.


          Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal.
          George Orwell, "Keep the Aspidistra Flying", Opening words

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups