multi threaded dll

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi,.
I am trying to build a multithreaded dll file, as I am new to that
sort of things I've followed a tutorial step by step but still can't
get things to work. I am using Visual C++ 2005 Express Edition and
have installed the Microsoft Platform SDK for Windows Server 2003 SP1.
When I am building my project I am getting the following error log:
1>------ Build started: Project: my_array, Configuration: Release
Win32 ------
1>Compiling...
1>my_array.c
1>C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701) : error C2011: 'localeinfo_struct' : 'struct' type
redefinition
1> C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701) : see declaration of 'localeinfo_struct'
1>C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1778) : warning C4161: #pragma pack(pop...) : more pops
than pushes
1>C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701) : error C2011: 'localeinfo_struct' : 'struct' type
redefinition
1> C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701) : see declaration of 'localeinfo_struct'
1>C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1778) : warning C4161: #pragma pack(pop...) : more pops
than pushes
1>C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701) : error C2011: 'localeinfo_struct' : 'struct' type
redefinition
1> C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701) : see declaration of 'localeinfo_struct'
1>C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1778) : warning C4161: #pragma pack(pop...) : more pops
than pushes
1>C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701) : error C2011: 'localeinfo_struct' : 'struct' type
redefinition
1> C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701) : see declaration of 'localeinfo_struct'
1>C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701) : error C2011: 'localeinfo_struct' : 'struct' type
redefinition
1> C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701) : see declaration of 'localeinfo_struct'
1>C:\Program Files\Microsoft Platform SDK\Include\poppack.h(29) :
warning C4161: #pragma pack(pop...) : more pops than pushes
1>C:\Program Files\Microsoft Platform SDK\Include\poppack.h(29) :
warning C4161: #pragma pack(pop...) : more pops than pushes
1>C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701) : error C2011: 'localeinfo_struct' : 'struct' type
redefinition
1> C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701) : see declaration of 'localeinfo_struct'
1>C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1778) : warning C4161: #pragma pack(pop...) : more pops
than pushes
1>Build log was saved at "file://e:\My Documents\Visual Studio
2005\Projects\my_array\my_array\Release\BuildLog.htm"
1>my_array - 6 error(s), 6 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========
thanks tons for help

.



Relevant Pages

  • RE: DBD-Sybase-1.07_01 -> PPM Install
    ... Setting environment for using Microsoft Visual Studio 2008 x86 tools. ... be unsafe. ... online help for details. ...
    (perl.dbi.users)
  • Re: Problem when defining my own string.h
    ... I'm having a weird problem when using Visual Studio. ... linkage specification contradicts earlier specification ... see declaration of 'operator delete' ... templates cannot be declared to have 'C' linkage ...
    (microsoft.public.vc.language)
  • Re: multi threaded dll
    ... \crtdefs.h: see declaration of 'localeinfo_struct' ...
    (microsoft.public.vc.language)
  • Re: multi threaded dll
    ... $\Microsoft Platform SDK\Include ... \crtdefs.h: see declaration of 'localeinfo_struct' ...
    (microsoft.public.vc.language)
  • Re: multi threaded dll
    ... $\Microsoft Platform SDK\Include ... \crtdefs.h: see declaration of 'localeinfo_struct' ...
    (microsoft.public.vc.language)