Formatting of code for DLL creation

This is a discussion on Formatting of code for DLL creation within the Windows Programming forums, part of the Platform Specific Boards category; -------------------------------------------------------------------------------- I have problems writting my .cpp file in the right format for DLL building. I would like to create ...

  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
    Portugal
    Posts
    7,412
    3) Indent or nobody will read your code.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,452
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 04:39 PM
  3. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 03:17 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21