Thread: Formatting of code for DLL creation

  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    1

    Formatting of code for DLL creation

    --------------------------------------------------------------------------------

    I have problems writting my .cpp file in the right format for DLL building. I would like to create a .DLL file from my .cpp file and have some problems with the formatting of the file. Please help me understand what I am doing wrong with the format, as well as with the placement of the DLLMAIN method for DLL entry point

    thanks


    [Code redacted due to copyright claim - webmaster]

  2. #2
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    1) Don't post pages of code.
    2) Windows specific, please move.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  3. #3
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    3) Indent or nobody will read your code.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    This is the second board I've seen that horrid mess posted on.

    @NETnewbie
    Forums are places for you to show effort and get assistance with your own work.
    They're not dumping grounds for you to post whole programs you found with a simple "please fix it for me" tagline.
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Proposal: Code colouring
    By Perspective in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 05-14-2007, 07:23 AM
  2. Obfuscated Code Contest: The Results
    By Stack Overflow in forum Contests Board
    Replies: 29
    Last Post: 02-18-2005, 05:39 PM
  3. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM