|
Hi, recently i received a source code which saves dib into a file which is Windows 3.0 DIB format, what I need to know is if this source code is suitable for use in win98? If not can , can anyone show me how to save it to win98 format? Thanks a lot.
|
|
|
|
|
When Classwizard is used to create a new class, it always starts the .h file by
// yourHeaderFileName.h : header file
//
and the .cpp file by
// yourHeaderFileName.cpp : implementation file
//
So my question is : is it possible to change this automation and put for example this text instead ?
// *********************************************************
// File : yourHeaderFileName.h
// Author : xxxxxx
// E-Mail : xxxx@xx.com
// Copyright : xxxxxxxxxxxxxxxxxxxx
// Project :
// Version : 0.1
// Created : 11/21/00
// Summary :
// Modified :
// *******************************************************
Thanks for your help
C U
|
|
|
|
|
Maybe. Search the MSDN library for "Custom AppWizard Files".
"MFCAPWZ.DLL contains the code that controls the default behavior of the MFC AppWizard.
It also contains the code that controls the interactions between the MFC AppWizard and any
custom AppWizards you create ..."
|
|
|
|
|
I have a memory leak in my program. It's a simple c++ program
on unix. To test my memory leak theory, I want to print
out the total current memory at certain points in the
program.
Does there exist a command like 'get current memory' in
c++?
Please, any response any one can give me will be greatly
appreciated.
Sincerely,
danYELL
|
|
|
|
|
Can anyone tell me how to get rid of this error ???
FTPDownLoad.obj : error LNK2001: unresolved external symbol
__imp__InternetGetLastResponseInfoA@12
Release/ftptest.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
thanks
Kim :
|
|
|
|
|
Make sure you have Wininet.lib linked into your project.
|
|
|
|
|
ok i'm a total novice..... ok a dummy ...so how do i do this. I appreciate the help..your a life saver
Kim
|
|
|
|
|
Within Visual Studio do the follwing.
1. Open your project
2. Select Project, Settings from the menu
3. Select the link tab from the Project Settings dialog box
4. In the Category drop down box, select Input
5. In the edit control under Object/Library modules: enter the following:
Wininet.lib
This is where you can add any libraries that need to be linked to your project.
Basically what happens when you see the error "unresolved external symbol" is that your code is using functions or variables included a header file but you did not write the functions or link in the libraries containing the functions.
|
|
|
|
|
Just one note to this,
Changing the linker's options for the Debug build might not necessarily change the options for the release, Or vicea versa,
Although you can change the options for bothe versions at the same time
Regardz
Colin Davies
|
|
|
|
|
To save time add this line to the header file
#pragma comment(lib,"Wininet.lib ")
|
|
|
|
|
Hi all, I need to subclass the scrollbars of a CWnd to customize their appearance. It is almost easy with the scrollbar control placed over a Dialog, but how can it be done with the scrollbars of a Window ???
Thank you all.
Carlo Comino.
|
|
|
|
|
Hi all, I need to subclass the scrollbars of a CWnd to customize their appearance. It is almost easy with the toolbar control placed over a Dialog, but how can it be done with the scrollbars of a Window ???
Thank you all.
Carlo Comino.
|
|
|
|
|
How to get MS office version programatically?
Is there any API? or any Reg key contains the
version.
thanks,
-- Koti
Perumalla Koteswara Rao, (B.Tech)
Computer Science & Engineering,
MIG - 305, KPHB colony,
Hyderabad, Inida - 500072
|
|
|
|
|
Can anyone tell me what error is shown below:
Hooks32.obj : error LNK2001: unresolved external symbol _InitHooksDll@8
Thanks for helping.
|
|
|
|
|
Most likely you need to make your programs paths point to the location of a file with a name like hooks32.lib and you need to put it in your external libraries list in project options. Your code knows what the function is, but cannot find the function when linking time comes.
Christian
The content of this post is not necessarily the opinion of my yadda yadda yadda.
To understand recursion, we must first understand recursion.
|
|
|
|
|
Does anyone knows about directsound which can record voices on microphone and also playback this recorded voice? I mean directsound in VC++ 6.0.
|
|
|
|
|
Can anyone tell me how to create a .exe file from a .cpp, .h and .rc files? I don't know how to create an exe now that I already have these 3 files?
|
|
|
|
|
Hmmm, I don't know how to answer this, it's pretty fundamental to C++ development, a Chapter 1 kinda thing.
From the VC++ IDE, you should create a project, drop in your files and compile it. You could also do this from the commmand line by invoking the compiler, full instructions for this should be in the help file.
|
|
|
|
|
Sorry I am ver new to c++ and can you tell me where I can find ide because I cannot find VC++ ide.
|
|
|
|
|
IDE stands for Integrated Development Environment, i.e. Visual C++. James, might I recommend you go and buy a book, because while I, and others, are happy to offer help, you seem to be asking a lot of *basic* questions that you could easily find answers for in a reference. If you're remotely serious about programmin you should be investing in some resources of this nature in any case.
Don't get me wrong, I'm not saying people won't help you, or eventhat I won't, only that it seems easier to have these basic answers there instead of waiting for someone to provide them. In reference to the original question, you need to group your c++, h and rc files into a project, which should already be there, namely a .dsp or .dsw file. Open this to open the projct in VC++ and click the exclamation mark tobuild an .exe and run it. Where are your source files coming from ? ( Only asking becaue I'm surprised you're having troulbe with this step, and wondering why you might have headr, code and resource files but no projct or makefile )
Christian
The content of this post is not necessarily the opinion of my yadda yadda yadda.
To understand recursion, we must first understand recursion.
|
|
|
|
|
Anyway , there are different type of projects found , which one should i use if i am creating a window programming , to be specific a window system hook project? Thanks for replying.
|
|
|
|
|
Can anyone provide detail information on the api function SaveDib()?
|
|
|
|
|
According to MSDN there is no such function. There are a number of libraries and classes that offer saving of DIB's and generally wrap CDIBSECTION, I'd suggest you are looking at one and therefore it's impossible to offer any advice until I know where the function came from.
Christian
The content of this post is not necessarily the opinion of my yadda yadda yadda.
To understand recursion, we must first understand recursion.
|
|
|
|
|
This is to all c++ gurus, out there
I have the following code, can anyone explain me how/why things are done.
class abc
{
public :
int i;
public :
abc()
{
}
};
class xyz
{
public :
class abc*;
}
the above program compiles, without any error or warning in MS VC++ 6.
Can anyone explain me, what is the meaning of the declaration
class abc*
I can understand, if there is
abc *ptr;
how are the above two things different, particularly class abc*;
Thanks in advance.
Cheers
Kannan
|
|
|
|
|
string "class abc*;" means forward declaration of pointer to class abc, IMHO it is the same as class abc;
|
|
|
|