|
|
1- no, we all are using Turbo Pascal.
2- does not install on Vista, I'm still using Win 3.1
3- no applicable.
|
|
|
|
|
Maximilien wrote: 1- no, we all are using Turbo Pascal.
2- does not install on Vista, I'm still using Win 3.1
3- no applicable.
But I dont know why you get Score: 1.6 (5 votes)
And what questions?
|
|
|
|
|
|
yes thank you I saw question on above
But what happens today,some questions was delete and also some answers
|
|
|
|
|
Yes, it works on Vista. Are you having problems?
|
|
|
|
|
|
Vithaya wrote: 1) Is anybody use the Visual C++6/MFC develope application?
Yes, I'm certain there are several folks that use it.
Vithaya wrote: 2) When install on Windows Vista, it has any problem?
None that I've heard of.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Do you want to use VisualC++ 6.0 on the vista? or its a general question?
It seems you asked previous this question but you dont need to delete your question.
|
|
|
|
|
Hi,
I am doing GUI side and i am playing with Icons.
I got this below error message
error RC2176 : old DIB in res\activity.ico; pass it through SDKPAINT
What it is? How can resolve this ?
Thanks.
|
|
|
|
|
See here.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I'm writing a class which is more or less a STL map with a few enhancements, e.g. sending of update notifications. To still have STL like access to the map, I forward the map iterators in my class with public typedefs. The problem is, those typedefs seem to be missing a semicolon where there is definitely none missing;
<br />
#include <map><br />
<br />
template <typename K, typename V><br />
class Repository<br />
{<br />
private:<br />
typedef std::map<K, T> ReposMap;<br />
public:<br />
typedef ReposMap::iterator iterator;
typedef ReposMap::const_iterator const_iterator;
public:<br />
Repository()<br />
{<br />
}<br />
<br />
~Repository()<br />
{<br />
}<br />
<br />
<br />
private:<br />
ReposMap m_objects;<br />
};<br />
MSVC8 gives the following error msgs compiling this code:
Error 2: error C2146: syntax error : missing ';' before identifier 'iterator' 14
Error 3: error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 14
and the same error msgs again for line 15 before 'const_iterator'
I was wondering what the error could be in that few lines of code. Typedefs should be able to work with template parameters, so there shouldn't be an problem, should it?
I'm trying to compile this and some other versions of the same problem for two days now, but I don't have an idea, what could cause the problem, so I'd appreciate any suggestions.
thanks in advance,
Norbert
|
|
|
|
|
sorry, it seems my <'s have been removed.
Here should be the corrected version of the code:
<br />
template <typename K, typename V><br />
class Repository<br />
{<br />
private:<br />
typedef std::map<K, V> ReposMap;<br />
public:<br />
typedef ReposMap::iterator iterator;<br />
typedef ReposMap::const_iterator const_iterator;<br />
public:<br />
Repository()<br />
{<br />
}<br />
<br />
~Repository()<br />
{<br />
}<br />
<br />
private:<br />
ReposMap m_objects;<br />
};<br />
|
|
|
|
|
N-O-R-B-E-R-T wrote: public:
typedef ReposMap::iterator iterator;
typedef ReposMap::const_iterator const_iterator;
Modify this to,
typename ReposMap::iterator iterator;
typename ReposMap::const_iterator const_iterator;
See MSDN documentation for warning C4346 .
|
|
|
|
|
I've had the warnings supressed, and I forgot about that. I'm sorry for posting without reading all errors AND warnings before.
Thanks for your fast help.
Norbert
|
|
|
|
|
N-O-R-B-E-R-T wrote: I've had the warnings supressed, and I forgot about that
You should not ignore warning at all !
|
|
|
|
|
Have a look at reply below, posted by Stephan.
|
|
|
|
|
prasad_som wrote: Modify this to,
typename ReposMap::iterator iterator;typename ReposMap::const_iterator const_iterator;
I assume you mean this:
typedef typename ReposMap::iterator iterator;
typedef typename ReposMap::const_iterator const_iterator;
Steve
|
|
|
|
|
Stephen Hewitt wrote: I assume you mean this:
typedef typename ReposMap::iterator iterator;typedef typename ReposMap::const_iterator const_iterator;
Yes.
|
|
|
|
|
Hi everyone,
I'm having problems deploying C++ applications built with VS.NET 2005 SP1. On my WinXP SP2 machine, the applications run fine, but attempting to run them on Windows Server 2003 yields an error dialog with the text: "This application has failed to start because the application configuration is incorrect..."
This problems has only appeared since installing SP1 for VS, and only seems to affect C++ applications. (Both native and CLR) Does anyone know what the problem could be? My first guess was missing DLLs, but this problem still occurs when I deploy the applications bundled with the VC++ DLLs.
TIA,
Ralph
|
|
|
|
|
Never mind. I found an answer here. Seems I forgot to install the VC8 redist package.
|
|
|
|
|
My application window contains many controls.so it became too large.so i want to hide half part of the window initially.Now when i click button inside my dialog the window shows the hidden half part of the window.How can i scroll the window from left to right with using the button because i don't want scrollbars.
Thanks,
Radhika.
|
|
|
|
|
radhika28 wrote: Now when i click button inside my dialog the window shows the hidden half part of the window.How can i scroll the window from left to right with using the button because i don't want scrollbars.
ScrollWindow, ScrollWindowEx.
|
|
|
|
|
Maybe this[^] or this[^] or this[^] does what you need?
Failure is not an option - it's built right in.
|
|
|
|
|
What would you say is the best way to set a idle timeout on a socket connection?
Artificial Intelligence is no match for Natural Stupidity
No one can understand the truth until he drinks of coffee's frothy goodness. ~Sheik Abd-al-Kadir
I can't always be wrong ... or can I?
|
|
|
|