[OT] Re: linker errors in vc6

From: Anthony Borla (ajborla_at_bigpond.com)
Date: 12/06/03


Date: Sat, 06 Dec 2003 04:10:11 GMT


"The One Your Mother Warned You About" <psychoticx@comcast.net> wrote in
message news:od6dnaDPt6dE2kyiRVn-gw@comcast.com...
>
> hello all;
>
> I am new to the whole programming world, and am desperately
> trying to learn c++. my problem comes with collection classes
> giving me errors in the build
> process
>
> here is my source
>

<SNIP CODE>

<OT>

This is a MS VC++-specific problem.

Your problem isn't related to your source code. It is, instead, due to not
linking in the multithreaded library code due, most likely, to either not
having chosen the correct project type, or having specified incorrect
project options. Short of recreating a project, I don't recall how this is
fixed via the IDE [if using the command-line compiler ensure you compile
with the /MT option].

My suggestion is for you to repost this question in an MS VC++-related
newsgroup where you are likely to get more specialist help; try:

    news:microsoft.public.vc.mfc
    news:comp.os.ms-windows.programmer.win32

or one of the groups in the following:

    microsoft.public.win32.*

</OT>

A few explanatory comments:

* The current newsgroup specialises in discussing issues
   dealing with the C and C++ languages as specified in
   the relevant standards documents; these languages are
   often described as Standard C, or Standard C++

* Source code containing these headers:

      #include <afx.h>
      #include <afxtempl.h>

   or classes like:

      CArray or CString

   indicate that it is MFC code. It is, most definitely, not
   Standard C++ code, hence, strictly speaking, off-topic
   in this newsgroup

* This response isn't a 'fobbing off' of your problem, merely
   a redirection to forums where the specialised help you
   need is more likely to be found

I hope this helps.

Anthony Borla



Relevant Pages

  • Re: Program crashes when running it outside dev environment
    ... crashing program, it'll close before the debugger opens. ... the form of source code that reproduces your problem. ... If your problem is related to using standard C, ... newsgroup to seek help. ...
    (comp.lang.c)
  • Re: CFAN (was: A small wildcard matching algorithm)
    ... of source code into a single file and run it like it's a bunch of files ... We have a standard for files, ... first file, a virtual file access table, and which then let you access ... value to doing it independent of the OSes' file systems, ...
    (comp.lang.forth)
  • Re: [OT] Mystery: static variables & performance
    ... >> This newsgroup discusses the ISO standard C language. ... This standard *defines* the C language which is the topic of this ... > enlightened suggestions through responses and private emails. ...
    (comp.lang.c)
  • Re: [FAQs, links] Off Topic: Stack vs. Heap
    ... >> so that we can redirect to to the appropriate newsgroup. ... (local variables), 'static' (file scope variables, ... That's what the 'standard' is all about. ...
    (comp.lang.cpp)
  • Re: curious about array initialization.
    ... programming language other than C what they think of this definition. ... It's the definition in the C standard. ... The C language is what we discuss in this newsgroup. ... with things not defined by the ISO C standards. ...
    (comp.lang.c)