|
Thanks for your Reply
As your suggestion , deleted all the files in the Debug and Release Directory even though ther was an error.
Error 1 fatal error C1083: Cannot open precompiled header file: '.\Release/MobileClient.pch': No such file or directory e:\vc++\MobileClient\ThreadClass.cpp 4
Regards
Shakumar
shakumar
|
|
|
|
|
I bet the compiler is right: There is no pch-file left. Th compilerwould not want the pch-files you got anyway: He did tell you that in the first error-message.
OK, You did a rebuild-all, right?
Then there is something fishy going on with the precompiled-headers.
In VC2005, open the properties of your project, and navigate to "C/C++" and "Precompiled Headers".
It should be switched to "Automatically generate"
Failure is not an option - it's built right in.
|
|
|
|
|
|
This new error has a totally different reason.
winspool.lib comes with the Microsoft Platform SDK.
You have that installed, and its path is entered in the Library-files directory?
(At "Tools", "Options", "Projects and Solutions", "VC++ Directories" and the combobox "Show directories for:" set to "Library Files"
Failure is not an option - it's built right in.
|
|
|
|
|
Hi
Thanks for your Reply
As your suggestion i made the changes
(At "Tools", "Options", "Projects and Solutions", "VC++ Directories" and the combobox "Show directories for:" set to "Library Files") and saved the programme. Even though it was changed to "Executable Files"
So icant compile the programme in the "Library Files",the same Error "Winspool.lib" was occuring.
awaiting for yor suggestion
Regards
shakumar
shakumar
|
|
|
|
|
At my computer, it looks like this[^].
For include files, it looks like this[^].
And you have a recent Platform SDK installed?
Failure is not an option - it's built right in.
|
|
|
|
|
Make sure you are linking with the correct version of the library - it is possible that if the library was built with and/or designed for use with VC++ 6.0, it may not be compatable with VS 2005. At least, the reverse is true (which is one of the reasons why newer versions of the SDK no longer support VC++ 6.0, thank you very much, Microsoft...)
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
Hi all,
I'm having words(collection of text) with co-ordinate position of each word. I need to add those words with relevant position into the rich edit box. If it is possible, please let me know...
Thanks in advance
|
|
|
|
|
Do you want to copy some text of a richedit to other richedit?
|
|
|
|
|
Problem is I have icon which I created by
1) Creating Insert new icon
2) Before drawing I clicked zip like button (New Device Image)
3) It creates dialog where I can have custom icon of 60 * 50;
Now I want to show on my giant toolbar this big icons
which are very much required. Can Anyone tell me how to achieve it.
CImageList m_ILtb;
m_ILtb.Create(60,50,ILC_MASK|ILC_COLOR16,14,14);
HICON m_ico;
m_ico=AfxGetApp()->LoadIcon(IDI_ICON1);
// SetIcon(m_ico, TRUE);
m_ILtb.Add(m_ico);
m_ico=AfxGetApp()->LoadIcon(IDI_ICON2);
m_ILtb.Add(m_ico);
m_ico=AfxGetApp()->LoadIcon(IDI_ICON3);
m_ILtb.Add(m_ico);
m_ico=AfxGetApp()->LoadIcon(IDI_ICON4);
m_ILtb.Add(m_ico);
m_ico=AfxGetApp()->LoadIcon(IDI_ICON5);
m_ILtb.Add(m_ico);
m_ico=AfxGetApp()->LoadIcon(IDI_ICON6);
m_ILtb.Add(m_ico);
m_ico=AfxGetApp()->LoadIcon(IDI_ICON7);
m_ILtb.Add(m_ico);
m_ico=AfxGetApp()->LoadIcon(IDI_ICON8);
m_ILtb.Add(m_ico);
m_ico=AfxGetApp()->LoadIcon(IDI_ICON9);
m_ILtb.Add(m_ico);
m_ico=AfxGetApp()->LoadIcon(IDI_ICON10);
m_ILtb.Add(m_ico);
m_ico=AfxGetApp()->LoadIcon(IDI_ICON11);
m_ILtb.Add(m_ico);
m_ico=AfxGetApp()->LoadIcon(IDI_ICON12);
m_ILtb.Add(m_ico);
m_ico=AfxGetApp()->LoadIcon(IDI_ICON13);
m_ILtb.Add(m_ico);
m_ico=AfxGetApp()->LoadIcon(IDI_ICON14);
m_ILtb.Add(m_ico);
CToolBarCtrl& ctb = m_wndToolBar.GetToolBarCtrl();
ctb.SetImageList(&m_ILtb);
|| ART OF LIVING ||
|
|
|
|
|
What if you call SetSizes()...
m_wndToolBar.SetSizes(CSize(67,56), CSize(60,50));
CToolBarCtrl& ctb = m_wndToolBar.GetToolBarCtrl();
ctb.SetImageList(&m_ILtb);
Mark Salsbery
Microsoft MVP - Visual C++
"Great job team! Head back to base for debriefing and cocktails."
|
|
|
|
|
Actually I did one simple trick, I reaplaced entire Bitmap
by ctb.LoadBitmap(); On Every button click event function I am changing bitmap ,but this is going to affect when I will try to
disable a particular button.
-- modified at 4:25 Tuesday 17th July, 2007
I tried SetSizes also but it also does not work.
|| ART OF LIVING ||
|
|
|
|
|
|
Im not sure do you need to ShellExecute ?
|
|
|
|
|
thanks sir
i want to run my application with database on website
hi
|
|
|
|
|
paras_s12 wrote: i want to run my application with database on website
thats little typical task. you required knowledge of COM to achieve same. i.e. ASP page calling your COM server exe or Dll to reterieve data and showing on the page!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief
|
|
|
|
|
Hello
What do you think ShellExecute() will do ?
Will it appear like a ASP page in browser ?
Please whitesky know your limits ....Do not misguide people
redindian
|
|
|
|
|
what if the OP was asking his question clearly ?
|
|
|
|
|
toxcct wrote: what if the OP was asking his question clearly ?
so great TOX is now back.. he he he
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief
|
|
|
|
|
dharani wrote: Please whitesky know your limits ....Do not misguide people
please stop perosnal flaming on board!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief
|
|
|
|
|
If you saw my reply I said Im not sure did you see it? and its better if you know any things you answer to people.
|
|
|
|
|
Hi,
I am working in MFC VC++. I like to create report in ms-word. This report contains text and images. I can able to connect Ms_word to VC++ MFC application and can write text in that. But I want to know how can i insert image in ms-word using MFC. If you help me, it will be great.
Actually i refered this site to embed ms-word to VC++
http://support.microsoft.com/kb/q238611/
Can anybody tell me how can I insert image in ms-word using VC++ MFC
|
|
|
|
|
Hello everyone..
i tried with TRACE command other than that give me some ideas..
vikram
|
|
|
|
|
CComboBox m_cmbBox1;<br />
CString str;
m_cmbBox1.AddString(str);
|
|
|
|
|
thank u so much..
i tried with this also.
and another question if i type a string in edit box . it should b placed in that combo box..
|
|
|
|