Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
all groups > visual c > june 2004 > threads for june 1 - 7, 2004

Filter by week: 1 2 3 4 5

What is 'scalar deleting destructor' ???
Posted by Woonggi at 6/7/2004 10:06:01 PM
help me~~~...more >>


Code gen error with /CLR and boos::bind and boost::function
Posted by Russell Hind at 6/7/2004 10:52:15 AM
I'm trying to use boost::bind and boost::function inside managed code, but there appears to be some code generation problems. The following code compiles fine, but the function object throws an exception when you call it with f() saying the function is empty. If you un-comment the #pragma ...more >>

Efficacy of User Interface Design
Posted by zlst at 6/6/2004 9:43:38 PM
Many technological innovations rely upon User Interface Design to elevate their technical complexity to a usable product. Technology alone may not win user acceptance and subsequent marketability. The User Experience, or how the user experiences the end product, is the key to acceptance. And that...more >>

MMX registers
Posted by Nak at 6/6/2004 12:24:43 PM
Hi there, I am trying to get a C++ application to compile in Visual Studio .NET 2003, all is compiling okay but I am coming across issues when the linker starts. It doesn't seem to be able to find the MMX extensions, is there anything I need to do to enable the linker to find these? ...more >>

BUG VC7.1: in class friend template function definition does not have access to the class's template parameters
Posted by Maxim Yegorushkin at 6/5/2004 8:02:15 PM
I have a template class and a friend template function definition in the definition of the class. The problem is that the function's declaration has access to the class's template parameters but the function's body (definition) does not. I believe that the function's body must have the access acc...more >>

Can't Get Individual Items To Change Color in a CTreeCtrl
Posted by JFisher365 at 6/5/2004 4:16:01 PM
Hello I am trying to change the color of my CTreeCtrl item text by using the Custom Draw event handler. While I see the correct progression of messages while debugging, I never see the color of the text change. I have included my event handler code...can anyone see a problem? Is there some sett...more >>

Same code build twice => diff binary
Posted by Viviana Vc at 6/5/2004 3:12:10 PM
Hi all, I am using Win2k, VS. NET 7.1 (MS development Environment 2003 7.1.3088) and I noticed that by building the exact same code twice the generated binaries are different (not much, but they are). To be sure I tried a simple application like void main(){} and 2 times rebuilding the project...more >>

delete a character from a file
Posted by Emmanouel at 6/5/2004 9:01:03 AM
Hello everyon I am using filestream and streamwriter to download and save a xml page from the internet The problem is that it has 3 bytes at the beginning of the file with garbage that i want to get rid off so i use a simple code like this FileStream* fs1 = new FileStream (input, FileMode::...more >>



NEWBIE: How to insert DLL break point?
Posted by NewAlias at 6/5/2004 5:37:36 AM
Hi Keyords: .NET 2003 VC Win32 DLL __stdcall I want to mark a break point in my DLL Function. Already did: Projetc | <project name> properties | Configuration properties | Debugging | Action.Attach = Yes Debuggers.Debugger Type = Mixed I marked the break point but it does not break, t...more >>

Lock in MC++
Posted by SMK at 6/5/2004 1:16:03 AM
What is the equivalent of Lock keyword in MC++...more >>

Static member variables and static libraries
Posted by Paul at 6/4/2004 2:29:28 PM
Hi, I am very grateful to all reading this message.I wish to know if anyone could help me: I´ve got a problem while creating an application using a static library. Problem: I created a pluggable factory class in one of my projects but the self registering mechanism depends on the ...more >>

LNK1254 when porting from VC6 to VC.NET
Posted by Gilles Orazi dot orazi at varianinc dot com at 6/4/2004 11:52:51 AM
Hi, I am having troubles to port C++ code to .NET. I want to write a set of managed wrapper classes to my old unmanaged code. Everything compiles fine but I get a strange link error: LINK : fatal error LNK1254: m=E9tadonn=E9es du symbole=20 '??$find@Viterator@?$vector@Viterator@?$_Tree@V?...more >>

Delete and Garbage Collection
Posted by Peteroid at 6/4/2004 11:18:45 AM
A few questions regarding delete and garbage collection (gc). First, is something not ordinarily gc which is created via new in a garbage collected class also garbage collected? That is: __gc myGCClassA { public: myGCClassA() { m_String = new char[100] ; } ...more >>

Metadata importing puzzle
Posted by Gerhard Menzl at 6/4/2004 10:56:12 AM
When using another assembly, I prefer adding it to the References section of the project that uses it (thus adding the appropriate /FU option to the compiler command line) over an explicit #using directive in the source code. So far, this has worked without any problems. Recently, however, ...more >>

How to get the current dialog background color ??
Posted by Mephisto at 6/4/2004 4:56:10 AM
How can I get the backgroundcolor of a dialog, or generally a parent window ? I´ve tried "GetBkColor" on my own window, my parent window, the next parent window, the next and the next, but the return value always claims the background color would be white I´ve already used all kinds of System Co...more >>

General design question relating to FSM.
Posted by Beeeeeves at 6/3/2004 8:34:55 PM
Hi I am looking for any articles anyone may know of on developing a finite state machine in a gui application? Basically what I have is a fairly complex gui which needs to go through several (3 - 7?) states. Complex algorithms are running as their own separate code blocks operating on class-lev...more >>

Can't register VC7 COM DLL on deployment machine
Posted by gkustas NO[at]SPAM hvc.rr.com at 6/3/2004 5:38:30 PM
I have a VC7 COM+ DLL that is a dependency of a .net web service I am trying to deploy. The regsvr32.exe failed to register the dll, so I ran Depends.exe (on the deployment machine) to see what the problem was. Depends displayed an error: Warning: At least one module has an unresolved import ...more >>

BUG VC7.1: well-formed code produces obscure error message
Posted by Maxim Yegorushkin at 6/3/2004 2:26:05 AM
The following code perfectly compilable with Comeau online and gcc 3.2 produces quite an obscure error message when compiled with VC7.1. namespace N { struct A { template<class F> void fun(F f); }; } template<class F> void N::A::fun(F f) // (1) { f(*this); } void g(N::A&); ...more >>

System::String* to char*
Posted by Peteroid at 6/2/2004 2:00:23 PM
The application path can be obtained as: Application::ExecutablePath But this is a String*. I need to convert this to a char* so it can be used by PlaySound(). How can I do this? Alternately, is there a way to obtain the application path directly as a char* ? Thanks in advance! : ) [=...more >>

Command Line Compilatins
Posted by theSentinel at 6/2/2004 5:11:02 AM
Hi I've worked with VC6 and implemented all my builds on the commadline using the nmake tool with the make file. Now we are moving to dotnet and I need a tool similar to that that will enable me do all my compilations/builds on the command line. Problem is the dotnet IDE does not generate make fil...more >>

Path string inside DLL file
Posted by Dmitri at 6/2/2004 12:36:04 AM
Hello I have created a DLL in Release Configuration. When I opened the DLL in hex editor I noticed that path string with full path, where my linked DLL is located, can be found inside DLL My question is: Is there a way (may be some option key) not to include any path information into a final DLL ...more >>

LNK2001 - unresolved external symbol (stat)
Posted by Murray Foxcroft at 6/1/2004 6:38:18 PM
Hi all - Can anyone tell me what I should link in to get the following error sorted? Also - for future reference - any quick ways to resolve a linker reference from an include like #include <sys/stat.h> in order to beat these linker errors quickly? error LNK2001: unresolved external sy...more >>

How do I create an installable version?
Posted by Peteroid at 6/1/2004 3:13:25 PM
As I recall VC++ NET has a feature that let's one build an install 'package' from a (managed) C++ project. This is important, as I found out the hard way that my application will run on some systems right off the CD ROM disc, on other machines it comes up with a 'program didn't initialize properl...more >>

pragma directive to turn buffer security (/GS) on or off
Posted by George M. Garner Jr. at 6/1/2004 2:25:55 PM
Is there a pragma directive to turn buffer security (/GS) on or off. I see the runtime_checks and check_stack pragmas. But there doesn't appear to be anything comparable for buffer security. Thanks, George. ...more >>

Program stops immediately, when not in the dev environment
Posted by cnuke007 NO[at]SPAM hotmail.com at 6/1/2004 1:38:27 PM
Hello, I have a weird problem which just appeared and that is really something and a pain to debug. The problem is this : when I run it, it does all the init, up until the Application::Run(view) command, which I guess it executes. Then, the programs stops, without leaving any crash note, ...more >>

error LNK2001: unresolved external symbol "void __cdecl __CxxCallUnwindDtor...
Posted by Bruce Schechter at 6/1/2004 10:51:17 AM
I am experimenting with managed code in C++. But shortly into my exploration, I've run into a Linker error which I cannot diagnose. (I have searched MS knowledgebase, MSDN newsgroups, and Google, with no luck.) Seems that the error somehow involves my usage of a destructor (like ~Dua...more >>

Can't open VC++ 7.1 projects in 7.0
Posted by MikeG at 6/1/2004 4:01:03 AM
We have users who are having a problem reading projects written in VC++ 7.1. Specifically, here is their e-mail describing the problem Incompatibility - 7.0 will not open a solution built by 7.1. A time consuming work-around is for the person using 7.0 to open the project built in 7.1 as a visua...more >>

Help needed in interrupt handling
Posted by Ashutosh Dikshit at 6/1/2004 2:41:06 AM
H I want to know how to handle interrupts (enable and disable) in VC++ 6.0 ? Are there some built-in functions that could solve the purpose.. Regard Ashutosh Dikshit...more >>

j@hnny
Posted by Jonny at 6/1/2004 2:21:06 AM
I've got a procedure that is responsible for performing the following operations on a richtextbox 1) determining what parts of the text to forma 2) formatting specific ranges of text a specific color I need to do this whenever the contents of the richtextbox change. The algorithm is quite fast a...more >>

Some problems about using template class in Visual C++ 6.0
Posted by BinaryBoy at 6/1/2004 2:21:02 AM
1. If the declaration and definition of a member function of a template class is separated then while using the auto_complete,the function's information will not be shown. 2. If a member function of a template class is not called by other normal function then some of it's syntax error can't be f...more >>


DevelopmentNow Blog