473,623 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Linker erro using visual studio 2005

bajajv
152 New Member
Hi, I am trying my first program on visual studio 2005, and it is giving linker error -

error LNK2019: unresolved external symbol _wWinMain@16 referenced in function ___tmainCRTStar tup[/SIZE]

I have given the entry point as wWinMainCRTStar tup.[/SIZE]

Thanks.

The code is from the http://www.relisoft.com/win32/winnie.html. And it is of 1995. So, I suppose lots of things are to be changed in VS2005.
Jan 29 '09 #1
1 2722
weaknessforcats
9,208 Recognized Expert Moderator Expert
What kind of Visual Studio project did you create?

For your sample program to compile, you need a project for a Win32 Console Application.
Jan 29 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

12
801
by: Baloff | last post by:
Hello I have this linker error which makes me think that the definition file is not being seen by the linker, this code is taken from "Thinking in C++, 2nd Edition, Volume 1, Annotated Solutions Guide" Using Dev-C++ 4.9.9.2, The error is: undefined reference to ‘f(int)’ all the following files are in the same dir. thanks
0
3338
by: Martin | last post by:
When I convert a program from VC6 to VC7 I get the following linker error: CVTRES : fatal error CVT1100: duplicate resource. type:STRING, name:1686, language:0x0409 LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt Duplicate resource...no problem! Except that I cannot find that value anywhere!! No such string resource
8
9680
by: zino | last post by:
the same web application works fine on Visual studio 2003, but it generate the follwing error on Visual Studio 2005. Indirect reference is being made to assembly CrystalDecisions.Enterprise.PluginManager version 10.2.3600.0, which contains 'CrystalDecisions.Enterprise.InfoStore.PluginManager'. This Project references a prior version of CrystalDecisions.Enterprise.PluginManager version 10.0.3300.0. To use...
4
1515
by: Chris Stankevitz | last post by:
Is there online documentation for my version of link.exe (specifically, command line options available)? If yes, where is it? This is my version: Microsoft Visual C++ .NET 2003 7.1 69462-270-0000007-18536 I found online docs for newer versions. And spent about 10 minutes using MSDN search and google, but couldn't find it :( If I find it, I'll reply to this post.
5
6556
by: marathoner | last post by:
I am in the process of converting a Visual C++ 6.0 project to Visual Studio 2005. The conversion is almost complete, but in the linking phase, I get the error: LINK : fatal error LNK1104: cannot open file 'mfc42d.lib' It seems to be looking for a file from Visual C++ 6.0. I have checked the project settings and can't find any reference to "mfc42d.lib". Marathoner
2
2774
by: Oneironaut | last post by:
Hello friends, I have an issue with a linker warning. It is the warning LNK4089. I am working in MSVC6.0 I investigated and this warning tells that the import of the library to which it makes reference is redundant, thus the linker ignores that library in order to make the code smaller. As it is expected, it only appears for release versions.
0
1125
by: Deep | last post by:
Hi I am using Visual Studio 2005 . and the project also been developed in Visual studio 2005 . when i open sloution file it shws follwing error the selected file is not a valid visual studio solution file . i have opened solution file with notepad and i cheked the version i founf follwing information
1
4155
by: Deepath G | last post by:
This is deepath.. I am getting some linker error when i am trying to connect Websphere MQ using Borland C++ Builder 2006 using imqi.hpp on windows. Error Message ----------------------- Error: Unresolved external 'ImqMgr::~ImqMgr()' referenced from C:\DOCUMENTS AND SETTINGS\228753\MY DOCUMENTS\BORLAND STUDIO PROJECTS\DLLEXERCISE\DEBUG_BUILD\MANI.OBJ Error: Unresolved external 'ImqObj::~ImqObj()' referenced from C:\DOCUMENTS AND...
1
1159
by: Oltmans | last post by:
Hi all, I've been writing C# code using Visual Studio 2005 for some time now but for the first time I've to write ANSI C code using Visual Studio 2005. I followed this article http://support.microsoft.com/kb/829488 that does a good job of explaining how to write ANSI C using Visual Studio 2005. When I write the following program it compiles and runs fine. I get the "Hello World" message shown in the command prompt. #include <stdio.h>
0
8165
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,...
0
8670
Oralloy
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...
0
8613
jinu1996
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...
0
8469
tracyyun
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...
0
7150
agi2029
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...
0
4074
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4164
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1778
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1473
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.