Results 1 to 7 of 7

Thread: A VC++ Question!

  1. #1

    Thread Starter
    Hyperactive Member Emo's Avatar
    Join Date
    Jul 2000
    Posts
    428

    Question

    I'm new to VC++ and C++ itself so I have a question...
    When I compile a project into a exe, VC++ creates a folder named "Debug" in my Project folder and puts the exe in there along with a whole bunch of other files... with extentions like *.ilk, *.obj, *.pch, *.pdb, *vc60, and *.pdb again with a different name.
    My question is, do I have to include these files along with my exe if I want to give it someone else? I'm guessing NO but I'm used to doing it with VB so I'm making sure.

    BTW: Can anyone tell me what are those other files, and what are they for? I've heard of the .obj, but I just know it stands for "object" file or something...

    Thanks!
    -Emo
    -=VB6 Enterprise Edition=-
    -=VC++6Enterprise Edition=-
    EmO

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    NO.Those files are only for the compiler.You don't have to distribute them.But when you finally compile your app go to
    the menu Build->Set Active Configuration and choose Win32 Release.Now instead of the Debug folder VC++ will make a folder called Release.The exe will now be a lot smaller and you shoud distribute this exe.
    I am become death, the destroyer of worlds.
    mail:vlatkovr@hotmail.com

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3

    Thread Starter
    Hyperactive Member Emo's Avatar
    Join Date
    Jul 2000
    Posts
    428

    Talking Oti?

    Vlatco, Thanks but oti do you have to do that?
    Nah, I'm just palying. I'm not asking you that question, just look at the bold word... is it familiar? I'm form Bulgaria and since you are right next to my country, I though you should know this...
    BTW: I'm not bulgaria now, but I lived there!
    -Emo
    -=VB6 Enterprise Edition=-
    -=VC++6Enterprise Edition=-
    EmO

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Is it why by any chance?

    These files are for:
    Code:
    .pdb : Program database (used by debugger)
    .ilk : Incremental Linking storage (allows fast linking but larger .exe
    .pch : Precompiled headers (makes compilation much quicker)
    .obj : Object file - created by compiler from source file
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    EMO Resil si da ucis VC++.Sicka dodeka go naucis...
    Do you understand this
    I am become death, the destroyer of worlds.
    mail:vlatkovr@hotmail.com

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  6. #6

    Thread Starter
    Hyperactive Member Emo's Avatar
    Join Date
    Jul 2000
    Posts
    428

    Talking

    YUP!!!
    EMO Resil si da ucis VC++ means "Emo, you have decided that you want to learn VC++" and the Sicka dodeka go naucis... part means "(Don't know what is SICKA), but dodeka is "untill" and go naucis "is you learn it..."

    Yeah, it's preety much the same, except some words...
    -=VB6 Enterprise Edition=-
    -=VC++6Enterprise Edition=-
    EmO

  7. #7
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    HeHe..
    You're right
    I am become death, the destroyer of worlds.
    mail:vlatkovr@hotmail.com

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width