CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 12 of 12
  1. #1
    Join Date
    Apr 2003
    Location
    New York
    Posts
    24

    Release build compile problem

    Hi,
    This is the most basic form and even this is not compiled in my Visual Studio 2002.
    I did not put any buttons, and made it from the scratch by Wizard.

    It is compiled without any problem in Debug mode.

    It is not compiled in Release mode.

    I do not know how I have to set various settings.

    I hope I can at least compile it in Release mode.

    So, I put source code in the hope that someone compile it and I can see some settings which I can follow.
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: Release build compile problem

    What errors are you getting ? I don't have access to VC2002 at the moment so can't try it out.

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

  3. #3
    Join Date
    Apr 2003
    Location
    New York
    Posts
    24

    Smile Re: Release build compile problem

    I hope to get an attention from a guru who stays near daimlerchrysler factory, or other gurus.

  4. #4
    Join Date
    Apr 2003
    Location
    New York
    Posts
    24

    Re: Release build compile problem

    Hi, Darwen.
    The error message says Enable3DControls is not a member of CWinApp, and Enable3DControlStatic is not a member of CWinApp.

    //Genesis of the Daleks' takes place on Scaro (home planet of the Daleks)
    Last edited by Jamal Adajania; July 28th, 2005 at 03:13 AM.

  5. #5
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: Release build compile problem

    Quote Originally Posted by Jamal Adajania
    Hi, Darwen.
    The error message says Enable3DControls is not a member of CWinApp, and Enable3DControlStatic is not a member of CWinApp.

    //Genesis of the Daleks' takes place on Scaro (home planet of the Daleks)
    I don't see those calls in any of your cpp files.

  6. #6
    Join Date
    Apr 2003
    Location
    New York
    Posts
    24

    Re: Release build compile problem

    That is the problem.
    I did not use enable3dcontrols or else.
    Can you compile this in Release mode?
    Please upload the source code if you can.

  7. #7
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: Release build compile problem

    It built fine for me : try doing a "rebuild all" in release build.

    Darwen.

    P.S. Yep, Scaro is the home planet of the Daleks - produced by Davros for the Kaled race.

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

  8. #8
    Join Date
    Apr 2003
    Location
    New York
    Posts
    24

    Re: Release build compile problem

    Thank you, Mr. Darwen.

    I did rebuild again, but the same error pops up.

    Could you please attach what you bild?

    There must be problem in compile settings.

    I want to follow your settings.

    A year ago, I had very hard time building in unicode.
    I succeeded only after I found a sample which is build in unicode by following the settings.
    I'm sure this time the same thing will happen.

  9. #9
    Join Date
    May 2005
    Posts
    47

    Question Re: Release build compile problem

    What did you set up ?


  10. #10
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: Release build compile problem

    I just downloaded the zip file into a temporary folder, open the sln file and built it.

    Try it yourself.

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

  11. #11
    Join Date
    Jan 2004
    Posts
    206

    Re: Release build compile problem

    I use Visual Studio.Net 2003, build your source and no errors.

  12. #12
    Join Date
    Apr 2003
    Location
    New York
    Posts
    24

    Re: Release build compile problem

    It is really strange.
    I don't know why I have error messages.

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

Featured