|
Of course that I use these links, but still, I didn't find it ... I found something newer but not CHKBOOK ... maybe microsoft get rid of ... I don't know.
|
|
|
|
|
Information on CHKBOOK is here[^] but it looks like the source has been removed. You should check your Visual Studio and SDK installation directories as some samples are shipped with the software.
|
|
|
|
|
Hello everybody,
i am working with VS 2008. I would like to change the Path dynamically in Additional Include Directories (Project Properties->Linker). Is that possible?
I would like to work with two set of SDKs'. After comparing the version, i would like to include appropriate versions of SDK. This is my situation.
Thanks in Advance.
Regards,
A. Gopinath.
|
|
|
|
|
I don't know how you could do this dynamically; an easier way would be to create a copy of the project with all the same settings except for this one value.
|
|
|
|
|
Hello Richard,
Thanks for your reply. Right now i am doing like that only. I just want to know whether it is possible or not. so only i posted here.
Thanks again.
Regards,
A. Gopinath.
|
|
|
|
|
You can use preprocessor directives to do all that... for example:
#ifdef SDK1
#pragma comment(lib, "sdk1.lib")
#include "sdk1/sdk1.h"
#elif SDK2
#pragma comment(lib, "sdk2.lib")
#include "sdk2/sdk2.h"
#endif
Then just the preprocessor directive SDK1 or SDK2 as a switch within the configuration manager.
|
|
|
|
|
I have VS6, which is a great little compiler. If I had an
error, VS6 showed me the error and what lead up to the error. That
is, what functions where called before the error. That helped
me spot where the error was.
Im using VS2005 and when an error arises, I just see the error. Is there a way finding out what functions were called just before that error was committed? Please let me know because that will be help me debug an application Im working on.
Sincerely,
Danielle Brina
|
|
|
|
|
when your app stops, go to the Debug menu, in the Windows sub-menu, find "Call Stack".
|
|
|
|
|
|
Call stack is a great tool for this...
|
|
|
|
|
Hi,
I have Hex data written in a file.
I need to plot graphs with Zoom in and out and multiple graphs on the same plot etc.
Is there any new attractive library to do that easily?
Regards,
Chaitanya
|
|
|
|
|
Search for SmartGraph in CP. There are many of these on CP.
It's up to you to convert your data to something meaningful in terms of x/y values.
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Hi Charlie,
Can we scroll through the SmartGraph ?
I don't see that feature in the library !!
-Chaitanya
|
|
|
|
|
Chaitanya,
You'll have to poke through it - wish I had time to play with everything I see on Code Project. I guess from your initial question, I had assumed that you don't want to write your own. But, if you did, it would not be that hard to do.
Note that you have a number of other solutions as well. Pick one that works for you. Mind the licensing terms.
Regards,
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
See Cédric's wonderful High-speed Charting Control[^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
you can also use CAIRO for free and very powerful library for graphics
|
|
|
|
|
Hi!
I've got the following linker errors in my VC++ 2008 project(Windows XP) under release mode:
minimal.obj : error LNK2001: unresolved external symbol "void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (?_Debug_message@std@@YAXPB_W0I@Z)
minimal.obj : error LNK2001: unresolved external symbol "struct std::_DebugHeapTag_t const & __cdecl std::_DebugHeapTag_func(void)" (?_DebugHeapTag_func@std@@YAABU_DebugHeapTag_t@1@XZ)
minimal.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new[](unsigned int,struct std::_DebugHeapTag_t const &,char *,int)" (??_U@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z)
I've added the following to the Additional Dependencies:
wxmsw29u_core.lib
wxbase29u.lib
wxtiffd.lib
wxjpegd.lib
wxpngd.lib
wxzlibd.lib
wxregexud.lib
wxexpatd.lib
winmm.lib
comctl32.lib
rpcrt4.lib
wsock32.lib
odbc32.lib
libcmt.lib
libcpmt.lib
Also I've added the following to the Ignore Specific Library:
LIBCMTD.lib
LIBCPMTD.lib
What else to do to get around those linker errors?
|
|
|
|
|
Are you calling debug functions in the code which are being compiled in a release build?
If that is the case then wrap that code in #if DBG ... #endif clauses.
==============================
Nothing to say.
|
|
|
|
|
Somewhat of a trivia question - I'm setting up a new machine for development.
I have project A, in project A's folder on my old machine - builds fine.
I then install VC++, the SDK, and copy the entire folder to the new machine.
It doesn't compile - missing include paths - tools -> options -> directories.
I fix it. It doesn't link. Back to directories, add the lib folders I need.
Happiness in dev land.
My question has to do with where the directory paths are saved. There isn't
anything in the project files that I can locate. I guess a follow up would be
why not?
I've seen this behavior on VS6, VS2008, Embedded Visual C++, so it's starting
to be a theme.
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Envoronment vars, in the project, or in the options are where you want to look for all paths.
==============================
Nothing to say.
|
|
|
|
|
Maybe I'm not being clear - I want to know PHYSICALLY where these settings are. I do not change the env values, and although I can see the settings in the project/options, they are not kept in the .dsp files, etc. If I do a clean install of Visual Studio and then open my project, the settings are lost.
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Oh, I see. The dsp file will have project settings, the registry wil hold the ones for mthe Options dialog.
==============================
Nothing to say.
|
|
|
|
|
Just for the record, and it's okay if you don't know
why? Why are the path settings in the registry? What's the point?
I guess that's rhetorical. I'm going to go over to the "Microsoft Forums social area" (song in background) to see if someone can shed some light as to the thought process.
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
charlieg wrote: Just for the record, and it's okay if you don't know
Somewhere in HKLM / HKCU \SW\Microsoft\VisualStudio I would say. If you want to know for sure create a distinctive path and search the registry.
As for why, it is because the ones set in VSs options are global paths that apply to all projects.
Not only that, think of VS as the editor, not the compiler. The compiler is in the exes path in options. So you can specify any cl.exe you like, any linker too.
It really is quite flexible.
Perhaps you like VS 6 UI and VS 8 compiler. Then set VS 6 exe path to that of VS 8.
==============================
Nothing to say.
|
|
|
|
|
"because the ones set in VSs options are global paths that apply to all projects."
is the nugget - the lightbulb comes on!! Appreciate stating the obvious.
But I have to say, that signature is annoying.
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|