|
What is message flow sequence in typical MFC Application.Where (in which class)all the default windows messages prossessed.
NiLeSh KoRpE
|
|
|
|
|
Hi,
I am using Visual Studio .net 2003 and i would like to output the debug log into a file. Is there an easy way to do this?
Than you in advance!
-gAZE
|
|
|
|
|
Consider using the following logging library:
http://axter.com/ezlogger/
Top ten member of C++ Expert Exchange.
http://www.experts-exchange.com/Cplusplus
|
|
|
|
|
Sorry my first message was wrong template without ..
I have transfer onr project from VC 6.0 to Visual studio 2005. When I build it I get this error (C2146 && C4430) !
the code:
template<class element="">
class IterateurDeList : public Iterateur<element>
{
public:
std::list<element>* m_mylist;
std::list<element>::iterator m_itlist;
//declaration.....
}
e:\norman\projekt\e software entwicklung sba\r measure software\sbamess_v02_vs2005\iterateurdelist.h(22) : warning C4346: 'std::list::iterator' : dependent name is not a type
prefix with 'typename' to indicate a type
e:\norman\projekt\e software entwicklung sba\r measure software\sbamess_v02_vs2005\iterateurdelist.h(248) : see reference to class template instantiation 'IterateurDeList' being compiled
e:\norman\projekt\e software entwicklung sba\r measure software\sbamess_v02_vs2005\iterateurdelist.h(22) : error C2146: syntax error : missing ';' before identifier 'm_itlist'
e:\norman\projekt\e software entwicklung sba\r measure software\sbamess_v02_vs2005\iterateurdelist.h(22) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
I need help to understand what I do wrong in this code.
Thank you
AutreChien
-- modified at 5:58 Friday 12th May, 2006
|
|
|
|
|
NorGUI wrote: std::list<element>* m_mylist;
std::list<element>::iterator m_itlist;
Try this:
typename std::list<Element>* m_mylist;
typename std::list<Element>::iterator m_itlist;
Steve
|
|
|
|
|
Hi,
you need to specify what kind of list you want, suppose an int
class IterateurDeList : public Iterateur
{
public:
std::list<int> m_mylist;
std::list<int>::iterator m_itlist;
}
codito ergo sum
-- modified at 4:14 Friday 12th May, 2006
|
|
|
|
|
i'd suggest you to use typename in template parameters...
moreover, it seems that you don't end your class definition with the required ;
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
Please, don't delete your post once you get an answer
This can also be usefull for others.
Cédric Moonen
Software developper
Charting control
|
|
|
|
|
damn !!!!! and moreover, he mailed me to ask more informations about what it meant to add typename in the template
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
toxcct wrote: he mailed me to
A lot of crappy newbies have mailed me ...
Maxwell Chen
|
|
|
|
|
Sorry but it is the first time that I ask question on forum!
Let me learn how it's works...
AutreChien
|
|
|
|
|
|
NorGUI wrote: Sorry but it is the first time that I ask question on forum!
Let me learn how it's works...
Sure! No problem!
I'm not talking about you though. You didn't email me.
I was talking about some ones having emailed me for doing their homeworks, every day ... They don't read, they don't use their heads, they just email ...
Maxwell Chen
|
|
|
|
|
|
|
yes i agree it's not good to delete question (4 once) in two days
|
|
|
|
|
I have found a problem with most of the applications we are working on, namely that the windows double click messages are never received. The reason for this is that the windows are openGL based and the CS_DBLCLKS style is not being set by glut. I can get around this by adding the flag to the file glut_init.c, but this a 3rd party file so I'd prefer not to modify it.
Does anyone know of a way I can pass or set default windows style flags to glut without modifying the GLUT source code?
When I die I'd like to go peacefully in my sleep like my father, not screaming in terror like his passengers!!!
|
|
|
|
|
Apart from compactness and speed what are other technical differences in Debug and Release Version
Nilesh Korpe
|
|
|
|
|
Another difference is that you don't link to the same versions of dll's (C run-time for example). You link also to debug and release versions of the dll's.
And, distributing microsoft dll's is not allowed, so you should always distribute the release version of your program.
Cédric Moonen
Software developper
Charting control
|
|
|
|
|
To build my installer I take all DLLs from a top level bin\Release directory.
However in some cases, every now and then, some debug mode DLL which I forgot about might have slipped in the bin\Release folder.
I would like to detect any of those automatically. (I have a custom setup building tool).
How could I detect debug mode DLL with win32 call?
Thanks
|
|
|
|
|
Use dependency Walker to get the support DLL names.. (DEPENDS.EXE)
For Release EXE, no Debug DLL needed....
|
|
|
|
|
I know dependency walker, it's how I realize my problem in the 1st place.
But I would like my automated tool to check it for me in case I forget or don't bother verify manually all my DLLs...
|
|
|
|
|
Hi all,
I have a collection of jpeg images.I need to convert this jpeg to avi format.
How to do that?
please help me.
sunita ramesh
|
|
|
|
|
I think (not sure my experience )that you need to convert jpeg to bitmap if you want to create avi file and (i think that you can control file time and time from each frame)
|
|
|
|
|
can u please give me related links.
do i need to add new class?
help me please
sunita ramesh
|
|
|
|