|
can u post a little bit of ur code
There are only two kinds of people who are really fascinating-people who know absolutely everything, and people who know absolutely nothing.
Oscar Wilde (1854-1900)
Regards...
Shouvik
|
|
|
|
|
Maybe it's because the names you're trying to use for your constants are already defined in a header file that you didn't create. Try doing a search for all instances of one of the named constants. If they only show up in one header file, your #pragma once stuff is hosed up.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
hi,
I'm doing a project which requires extraction of all the methods and members of a class in CPP files and such similar other informations. One big hurdle is these methods might use values/variables from other modules/classes. so I'm in need of creation of a complete symbol table which is becoming very tough tat can span to those other modules too. can anybody suggest an open source project which has these functionalities, and as well creation of the symbol table wherein I can use these symbols.
I tried with lex/yacc but then the scope of an extraction remains only within a file, else I need to write my own routines to extract the cross module dependency information, which ofcourse due to paucity of time is becoming a foolish decision.
Hope you get my objective. Please help.
There are only two kinds of people who are really fascinating-people who know absolutely everything, and people who know absolutely nothing.
Oscar Wilde (1854-1900)
Regards...
Shouvik
|
|
|
|
|
You could try doxygen which can be downloaded from www.sourceforge.net[^] and will have it's own homepage elsewhere as well If you want a simple-ish parser than can handle most C++ stuff.
Alternatively you could just compile the code with Visual Studio, with all the debugging info switched on, and then use Microsoft's own symbol engine in dbghelp.dll to interrogate the .pdb (Program databse) file of the project. WinDbg which is widely available does this.
I recommend John Robbins' book Debugging Windows Applications for all the details on debug symbol information, how to get it and use it.
Nothing is exactly what it seems but everything with seems can be unpicked.
|
|
|
|
|
hi
Thanks for the informative reply. Actually to make things more clear I'd like to say that we are testing a software that has it's build not only in Visual Studio but many other compilers as well(viz. GCC) hence there would be lot of dependcies and as well incompatibilities with other compilers.
It is therefore a need to write our own testing software and that has to have a capability of mainatining a Symbol Table. So the way of proceeding suggested by you is not able to provide me the solution to the problem I'm facing now.
All my objective is to gather and maintain all the methods and variables pertaining to a class / even global that span accross the whole build. Will any exisitn project be able to do this??
please help.
Once again thanks a lot for the reply.
There are only two kinds of people who are really fascinating-people who know absolutely everything, and people who know absolutely nothing.
Oscar Wilde (1854-1900)
Regards...
Shouvik
|
|
|
|
|
In that case ripping the parser from doxygen (which I think is pretty cross platform) might be the best way to go but it will be a lot of work. Remeber if you're using GCC it compiles on Win32 as well and you get the source with it which contains a full parser to generate the symbols. You also get GDB the GNU Debugger with it which may give the necessary clues to be able to read and interpret GCCs symbols. Either way it's going to be a BIG project. Good luck with it
Nothing is exactly what it seems but everything with seems can be unpicked.
|
|
|
|
|
Hi
I see that CImage is not supported by Visual c++ 6 from the answers that were given to my questions in Code Project forum .Now I want to ask a basic question; Can we add the CImage libraries to Visual C++ 6 manually.If it is possible how can we do that.
Thanks
|
|
|
|
|
From where, you will get the lib, VC7 / VC8 ?
|
|
|
|
|
If you can get your hands on the ATL/MFC source code from a later version you could probably
copy the source code. There may be parts that won't compile on VC6 but most of it would
probably be fine.
Like I mentioned in a reply to your previous post, you can also use the same APIs that CImage
uses. They are part of the OS, not ATL/MFC.
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Why you cant use of GDI+?
|
|
|
|
|
how to get screen resolution in VC++?
|
|
|
|
|
Will GetDeviceCaps() helpful ?
Regards,
Paresh.
|
|
|
|
|
|
I do not understand what do you mean by. Please write in english language. I do not understand other languages.
Regards,
Paresh.
|
|
|
|
|
|
|
I m trying to run a project in vb.net 2005 (upgraded from vb.net 2003).
Im getting the follwoing problem.
An error occurred creating the form. See Exception.InnerException for details. The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
pls help me out.
thanx in adv.
Regards
Paramhans
|
|
|
|
|
Paramhans Dubey wrote: I m trying to run a project in vb.net
Have you tried the VB.Net forum?
|
|
|
|
|
Error! VB.NET code doesn't work in this domain, even if it's correct
You need to post this in a .NET forum, preferably a VB.NET forum
Nothing is exactly what it seems but everything with seems can be unpicked.
|
|
|
|
|
Like my signature states...
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
i just want to know how to hangle colors for various controls in win32 api... i am not getting it to the right place... examples or internal and external links may help... how to color the foreround and background of any window ? ...
|
|
|
|
|
|
See WM_CTLCOLOR* for Doalog/Button,...
|
|
|
|
|
Hello
As you know, there is an explorer page on the left side of
Windows Explorer(since XP), unless you activate the treeview
or search page by clicking the "Search", "Folders" button on the main toolbar.
When you are in the normal document folder,
it shows "File and Folder tasks" "Other Places" "Details"...
and when you changed to the music folder, it shows "Music Tasks"
group about music playbacks(play all,music shopping),
and in the photo folder, it shows "music tasks" group:
"Slideshow, Print Photos... etc" in it.
What I want to do is to insert my own task group in the
explorer page such as "my own task". Clicking
one of buttons on "my own task" may launch linked programs.
(just as "play all" button launches Windows Media Player)
I searched all the MSDN documents about this,
especially in Shell Extension part,
but I failed to get any information on this.
Does anyone know a bit about this?
Just a starting point will be a great help to me.
Thanks in advance.
|
|
|
|
|
Hi,
I am trying to notify the user about events of my application by placing an item in his outlook inbox. Currently, I create a MailItem and save it (see below). This brings two problems:
1. The sender field cannot be set. (It's always empty)
2. The e-mail is flagged as unsent message and thus the user can edit and send it.
Is there a direct way to create pseudo-E-Mails in the Inbox or a solution to the problems above? I cannot send a real e-mail, as notifcations have to be instantaneous.
Thanks a lot.
Dominik
Code:
MAPIFolderPtr pInbox;
_ItemsPtr pInboxItems;
_MailItemPtr pNewMail;
pInbox = pMAPI->GetDefaultFolder(olFolderInbox);
pInboxItems = pInbox->Items;
pNewMail = pInboxItems->Add();
pNewMail->Subject = "New Mail Subject";
pNewMail->Body = "New mail body\n";
pNewMail->PutTo("someone@server.com");
pNewMail->Save();
pNewMail->Move(pInbox);
|
|
|
|