Hi all,
I'm a C newbie in a desperate need of help. My background isn't
programming but engineering, so my programming skills are somewhat
limited (I am able to write simple single-threaded progs in C, but
hardly more than that). It just happened that my work requires me to
take a program and strip it off all kind of GUI, make it just a simple
command prompt thingie. And so I did, more or the less. Now, I didn't
remove any includes or anything of a kind, but my stripped proggie
consistently refuses to link (compiling is OK) and the error I get ts
the one in the subject. I searched all of my hard drive, this file
doesn't exist on it.
But the original program never "jumped" on it, as if it never required
it in a first place.
As I said I never added anything to the program, only removed some of
the GUI related code... And the new program seems to require something
that the old one never did...
I'm open to any suggestions, as due to my limited programming skills I
just don;t know where to look for the problem's root.
Thanks! 2 12087
Hunter wrote:
OK guys, I found a solution on the microsoft support page, so if
anyone has this problem just got to: http://support.microsoft.com/kb/243458
Hunter:
Please don't multi-post; microsoft.publi c.vc.language is the best group
for native code questions, but the information that you are using the
Standard Edition does not appear in the posting you made there.
If you switch to dynamic linking of MFC, you will have to deploy
MFC42.DLL with your application. But a non-GUI application should not
need MFC at all.
When you change the type of a project (such as changing a GUI project to
Console, or vice versa) it is usually best to start a new project of the
kind you want, and then cut and paste the code.
Alternatively, if you use the free VC++ Express you will (I think) be
able to use static linking, and you will have a much better compiler.
--
David Wilkinson
Visual C++ MVP This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: MAK |
last post by:
I'm stumped.
I'm trying to use Python 2.3's urllib2.urlopen() to open an HTML file
on the local harddrive of my WinXP box.
If I were to use, say, Netscape to open this file, I'd specify it as
"file:///c:/mypage.html", and it would open it just fine. But
urlopen() won't accept it as a valid URL. I get an OSError exception
with the error message "No such file or directory:
'\\C:\\mypage.html'".
|
by: nassar |
last post by:
i'm trying to build the project of the MFC's
sample "VCTERM", and this error message appears:
LINK : fatal error LNK1104: cannot open file "mfc42u.lib"
can you please tell me where i can find this library.
thanx..
|
by: jingkun Hu via .NET 247 |
last post by:
(Type your message here)
I'm upgrading a VC++ 6 project to VC.NET 2003. The compiling isOK but not linking. The error message is "mfc42.lib cannot beopened". I looked through every setting of compiling and linkingand didn't find mfc42.lib in there. I understand that VC.NET2003 uses mfc71.lib. But how does the environment requiresmfc42.lib?
Please help!
--------------------------------
From: jingkun Hu
-----------------------
Posted...
|
by: Ian Lazarus |
last post by:
Hello.
How do "unresolved token" link errors occur. How do I fix them?
Linking...
LINK : error LNK2020: unresolved token (0A000015) ??_7type_info@@6B@
LINK : error LNK2020: unresolved token (0A000016) _CxxThrowException
LINK : error LNK2020: unresolved token (0A000018) exception.__ctor
LINK : error LNK2020: unresolved token (0A000019) exception.__ctor
LINK : error LNK2020: unresolved token (0A00001A) exception.__dtor
LINK : error...
|
by: DEFENDER |
last post by:
Hi .I have problem. I have project width 2 libs
When i link my project i have errors some like this :
msvcrt.lib(MSVCR71.dll) : error LNK2005: _memmove already defined i
LIBCMT.lib(memmove.obj)
msvcrt.lib(MSVCR71.dll) : error LNK2005: _fflush already defined i
LIBCMT.lib(fflush.obj)
msvcrt.lib(MSVCR71.dll) : error LNK2005: _exit already defined i
LIBCMT.lib(crt0dat.obj)
msvcrt.lib(MSVCR71.dll) : error LNK2005: _abort already defined i
| |
by: alex23 |
last post by:
Hey everyone,
I'm trying to install setuptools on a work PC behind an NTLM firewall.
I've tried to use APS as recommended but am still unable to have
anything other than IE talk through firewall. But as I can downloaded
eggs manually, I'm not overly concerned at this point.
So I've tried following the instructions for un-networked installs:
I've downloaded ez_setup.py and setuptools-0.6c3-py2.4.egg, putting the
egg file in the same...
|
by: Hunter |
last post by:
Hi all,
I'm a C newbie in a desperate need of help. My background isn't
programming but engineering, so my programming skills are somewhat
limited (I am able to write simple single-threaded progs in C, but
hardly more than that). It just happened that my work requires me to
take a program and strip it off all kind of GUI, make it just a simple
command prompt thingie. And so I did, more or the less. Now, I didn't
remove any includes or...
|
by: bhushan11 |
last post by:
hello sir
i am searching in your site but i dont get how to place question about visual c++.
so i am post this vc++ question in .net , sorre about that
i am working on visual c++ lang. but i nave some problem.
Linking...
LINK : fatal error LNK1104: cannot open file "ProfUIS223md.lib"
Error executing link.exe.
|
by: rssd |
last post by:
can somebody help me. I'm trying to read some excel files but i'm always getting this error
No type library matching "Microsoft Excel" found at D:\Genes_datasets\exp.pl line 4
Win32::OLE(0.16): GetOleTypeLibObject() Not a Win32::OLE::TypeLib object at C:/Perl/site/lib/Win32/OLE/Const.pm line 45.
Died at D:\Genes_datasets\exp.pl line 6.
i don't ve microsoft excel but open office installed, i think that could be a problem. But these...
|
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: 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: 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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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...
| |