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_str uct' : 'struct' type
redefinition
1 C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701 ) : see declaration of 'localeinfo_str uct'
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_str uct' : 'struct' type
redefinition
1 C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701 ) : see declaration of 'localeinfo_str uct'
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_str uct' : 'struct' type
redefinition
1 C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701 ) : see declaration of 'localeinfo_str uct'
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_str uct' : 'struct' type
redefinition
1 C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701 ) : see declaration of 'localeinfo_str uct'
1>C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701 ) : error C2011: 'localeinfo_str uct' : 'struct' type
redefinition
1 C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701 ) : see declaration of 'localeinfo_str uct'
1>C:\Program Files\Microsoft Platform SDK\Include\pop pack.h(29) :
warning C4161: #pragma pack(pop...) : more pops than pushes
1>C:\Program Files\Microsoft Platform SDK\Include\pop pack.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_str uct' : 'struct' type
redefinition
1 C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701 ) : see declaration of 'localeinfo_str uct'
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\Visua l Studio
2005\Projects\m y_array\my_arra y\Release\Build Log.htm"
1>my_array - 6 error(s), 6 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========
thanks for help 2 2997 fa***********@g mail.com wrote:
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.
Off topic here, try a windows programming group.
--
Ian Collins.
On 18 Jun, 08:27, fabian.con...@g mail.com wrote:
1>my_array.c
1>C:\Program Files\Microsoft Visual Studio 8\VC\include
\crtdefs.h(1701 ) : error C2011: 'localeinfo_str uct' : 'struct' type
redefinition
google for 'one definition rule' C++
\crtdefs.h(1778 ) : warning C4161: #pragma pack(pop...) : more pops
than pushes
push/pop pragmas are like open/close braces
for each push pragma there has to be one pop pragma
regards
DS This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ganbold |
last post by:
Hi,
I'm new to multi-threaded programming and reading the book "Programming
with POSIX Threads" and
trying to understand concepts and coding.
What I'm trying to do is to rewrite mysql client application (which
calculates ISP dial-up customers' billing)
into multi-threaded version.
|
by: Mullin Yu |
last post by:
As subject. I have lots of VB6 dll and ocx files and they are
single-threaded as VB6 doesn't support multi-threaded indeed. Can I wrap
anything at .NET so that multi-threaded feature can be provided?
Thanks!
Mullin
|
by: Abubakar |
last post by:
Hi,
using WTL for GUI, in release mode, if I set the "Runtime Library" to
"Multi-threaded DLL (/MD)", I get the following errors:
:
MSVCRT.lib(MSVCR80.dll) : error LNK2005: _memmove_s already defined in
atlmincrt.lib(atlinit.obj)
MSVCRT.lib(MSVCR80.dll) : error LNK2005: _free already defined in
atlmincrt.lib(atlinit.obj)
4 more errors like above. Also following errors:
|
by: =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= |
last post by:
As far as I know, the C Standard has no mention of multi-threaded
programming; it has no mention of how to achieve multi-threaded
programming, nor does it mention whether the language or its libraries
are suitable for multi-threaded programming.
For people who are fond of portable C programming, what's the best way
to go about multi-threaded programming?
I've been reading up on POSIX threads a little, they seem pretty
ubiquitous....
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |