|
by: adeht |
last post by:
In his book, "Modern C++ Design", Andrei Alexandrescu presents a Generic
Object Factory class (Loki::Factory). One of its advantages (also mentioned
in
the book) is being able to register the class in the factory without having
a
central place that needs to be modified each time we add a new type. For
example, the registration can be done in the same compilation unit as the
class implementation:
(code like this has been presented in...
|
by: Red Hammer |
last post by:
Hi, I am new to using Visual C++ and trying to test it out. This is the
simple program I wrote to test it:
#define WIN32_LEAN_AND_MEAN
#include <windows.h> // the main windows headers
#include <windowsx.h> // a lot of cool macros
// main entry point for all windows programs
int WINAPI WinMain(HINSTANCE hinstance,
|
by: |
last post by:
Hi ,
We have a lot of code which runs fine under VC++ 6.0. We have to move to
..NET becasue one of the librairies uses .NET classes.
Does every library(including those which do not use .NET classes) have to
be recompiled with /clr option?.
regards
-sarab
|
by: Bonj |
last post by:
Hi
I have a project that consists of an unmanaged DLL (extended stored
procedure) and a static library, which I have converted to managed, although
it has got one unmanaged function which is exported to the unmanaged.
I keep getting the linker warning 'warning - images compiled with /NOENTRY
may not run correctly'.
It doesn't seem to have any adverse effects, but what does it mean and how
do I get rid of it?
|
by: jpeters |
last post by:
Just installed Service Pack 5 for Visual C++ 6.0. Now I'm getting an error
when linking as follows:
inking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/HW8.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
what happened? I wasn't having any linking errors before this patch. help!!!
|
|
by: Felix |
last post by:
After porting a project from VC6 to VC.NET 2003 I have a very strange
problem generating
link error 1104 for import libraries. I just ported the project and made
some small adaptions so
it fits the new IDE. The project itself links against some import libraries
belonging to dll's I
wrote (these dll's have been ported too, of course).
To keep things simple I only use one import library here. To tell the linker
it should link against
|
by: jainshikha123 |
last post by:
i have one VC++ application which runs perfectly in the release mode but when tried to compile in the debug mode it gives me the following error .
can somebody helps me in finding the solution ...
Linking...
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
gcl52fwD.lib vfw32.lib Psapi.Lib libtiff.lib ippi20.lib ippcv20.lib libjpeg.lib ippj20.lib ipla6l.lib pcMotionMS.lib...
|
by: kath.neumann |
last post by:
Hi,
I just started to get a grip on C++ and and went through the tutorial.
However, not even the standard "hello world" exercise works out :( I
do get a linker error " Unresolved external 'WinMain'
referenced from C:\PROGRAM FILES\BORLAND\CBUILDER5\LIB\C0W32.OBJ"
my code (Borland C++ builder 5) is as follows:
|
by: leenasadhani |
last post by:
We seem to be having some problems in moving Application into the new
environment. My understanding is that Application in the current
environment makes use of 4 separate DB2 sub-systems, 2 of which are
in SYSA (production and UAT) and a further 2 in SYSB (development and
sys test).(on IBM Mainframe)
The new SYSC environment only has 2 DB2 sub-systems. Hence the
problem of trying to move 4 DB2 sub-systems into 2!
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
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
|