Results 1 to 3 of 3

Thread: How to create a .DLL file from a .C file?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2012
    Posts
    27
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default How to create a .DLL file from a .C file?

    Hi guys!

    I'm looking for a method how to create a .DLL file from a .C file .That dll file contains utility functions.
    Is it possible that i will not declare it as a class this utility module?

    Thanks!

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to create a .DLL file from a .C file?

    this question has nothing to do with qt programming. Therefore you are in the wrong forum...

    If you only have a .c file, then you need to make a .h or .hpp file to go with it. Then you will need the usual export symbols to make the dll. google for 'c++ dll' - I'm sure there will be plenty of examples.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  3. #3
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Thanks
    10
    Thanked 13 Times in 12 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to create a .DLL file from a .C file?

    You have to compile it to a .dll

Similar Threads

  1. How to re-create .deb file ???
    By rickrvo in forum Newbie
    Replies: 1
    Last Post: 10th February 2011, 16:49
  2. Create DLL file from Qt4
    By abghosh in forum Qt Programming
    Replies: 3
    Last Post: 3rd March 2010, 18:25
  3. Replies: 4
    Last Post: 18th December 2009, 18:55
  4. Create a file
    By bfr in forum Qt Programming
    Replies: 2
    Last Post: 29th January 2008, 07:27
  5. Replies: 3
    Last Post: 25th May 2007, 07:49

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.