|
I second you.
More over, the debuggers in VS2005 or VS2008 is awesome...
|
|
|
|
|
+1 for VC6. The compiler sucked at several things, but the IDE was the best (not to mention the fastest as well).
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
|
No matter which version ...of VC the truth remains the same ..we still have to code on and on
|
|
|
|
|
I use VC6 for about 70% of my work. I like that it's lean and the classwizard is just plain nice. However, the intellisense sucks and the lack of tabs drives me nuts (WndTabs helps, but it's a little flaky.) The C++ compiler is middling at best and the lack of support for SDKs after 2003 keeps getting in the way.
I prefer 2008 and use that for all home projects. I would prefer it be a leaner and faster and the lack of a ClassWizard is just plain lame (the properties pane is implemented very poorly.) It integrates nicer into version control and I generally like the way solutions work more than workspaces (though the inability to truly delete a configuration is dumb.)
|
|
|
|
|
VC6
That's because of MFC, as soon as I jump the board for another UI toolkit I would use Eclipse as frontend.
|
|
|
|
|
Our users use different OS, so we use Win2k on develope PC.
CryptoAPI requires (as in MSDN)
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Requires Windows 95 OSR2 or later (or Windows 95 with Internet Explorer 3.02 or later).
Header: Declared in wincrypt.h.
Library: Use advapi32.lib.
So CryptoAPI can not be used by win2k.
I define _WIN32_WINNT myself then include <wincrypt.h> as following
//--------- my OS is not NT
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0400
#endif
#include <wincrypt.h>
//--------------------------------
Now all are fine.
I just worry about if the piece of code may cause trouble in the future after distributing software to users?
Do you think if it is OK?
|
|
|
|
|
Hi,
I want to export some data, which contains unicode characters, into excel using MFC.
Also, if we want the encoding option in Save As dialog of Excel, how do we do it using MFC?
Could you please shower some help in this!
Mohan
|
|
|
|
|
Can you help me ? I need a data ,are you give me !? say thank you ealery.
|
|
|
|
|
Hi,
May i know what are default constructors generated in c++ when an object is created...
and what happens if i declare my own constructor without declaring the default constructor..
pls correct me if im wrong..
|
|
|
|
|
By default C++ generates a default constructor and a copy constructor for a class.
If you define any of your own constructors, no other constructor will be generated by the compiler.
The auto generated default constructor will initialize all class data members to 0.
The auto generated copy constructor will do a bit by bit copy of all data members from one instance to the other.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
«_Superman_» wrote: The auto generated default constructor will initialize all class data members to 0.
Are You sure? I think it may be behavior of specific compiler You use.
«_Superman_» wrote: The auto generated copy constructor will do a bit by bit copy of all data members from one instance to the other.
It's true rather for members of built-in types. For members of user defined types, straightway, is used method of constructing member objects with the help of their constructors.
|
|
|
|
|
«_Superman_» wrote: The auto generated default constructor will initialize all class data members to 0.
This is incorrect. If your class has built-in data types (int, char, etc.), the default behavior is to leave them uninitialized, just like local variables.
--Mike--
Dunder-Mifflin, this is Pam.
|
|
|
|
|
In addition to above points from superman,
i will say always declare and define your own default constructors when your class is having pointer members.
Along with default constructor, make your own copy constructor and operator = in that case.
It is always good to write your own default constructor so that you can initialize your member variable in default constructor.
Величие не Бога может быть недооценена.
|
|
|
|
|
Hi.
I want to restrict entering unicode characters in the edit box on a dialog. Could you please give any idea to handle this.
Mohan
|
|
|
|
|
Gday,
You need to look into input filtering. It's just a matter of sub-classing the edit control, passing only the allowed characters as input, while discarding undesired ones.
Here's an article that deals with input filtering. Enhanced Focus Edit Control with Input Filtering[^]
|
|
|
|
|
|
|
I don't know Zuma, but if you are interested in making a game in OpenGL, you can have a look at a series of articles I wrote. See here[^]
|
|
|
|
|
Hi,
I am trying to create a c++ dll in vs2008 and I have exported the sample function and class available in the files created (by using the export symbol option when the dll created). My problem is that whenever I try to call a the dll I get an error saying that no entry point is found in the dll.
I have manged to get C++ dlls working with vs 2005 and by using dllexport, however things seem to be a little different in vs 2008.
Any help is much appreciated.
Thanks
|
|
|
|
|
The syntax for exporting functions and classes have remained the same for a very long time and it has not changed with VS 2008.
You need to give some more information like -
How are you linking the dll to the exe.
In which language and VS version is the exe developed in.
Some code snippets would be helpful.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Hi,
Thanks for the reply.
I am linking the dll to the exe using P/Invoke. The exe is developed in C# VS 2008.
When I use the export symbol option when creating the dll it creates a sample class with a constructor and a independent function (which are said to be exported). I am not sure how to instantiate this class or to call the independent function from the C# application.
|
|
|
|
|
Not totally sure, but I think P/Invoke only supports "C" linkage.
That means you can call exported functions but not exported classes.
If so, you will need to create a wrapper in C++ that export only functions and these functions can delegate function calls to the C++ class.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Thanks for the info. I'll check out using a wrapper. It would be nice if I can get the class exported also.
|
|
|
|
|
what is the exact code to get the value of the editbox (variable type double) and displays in the listbox?
i tried : m_list.GetText(m_list.GetCurSel(), m_edit1) and m_list.GetText(m_edit1) but after building committed errors...
please help.
|
|
|
|