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 > november 2007

Directory::GetDirectories returning non-existent directories
Posted by Peteroid at 11/2/2007 9:21:03 PM
Assuming you have the default directory settings, try this code: String^ full_path = "c:\\Users\\Owner\\Documents" ; array<String^>^ dir_list = Directory::GetDirectories( full_path ) ; In my case, it returns all the directories as it should in dir_list, but it also returns the following non...more >>

Problems with sizeof function
Posted by Fran at 11/2/2007 5:41:01 AM
sHi! I have a very strange problem with the behaviour of the sizeof command. I have tested it in vc6,vc 2001 and vc 2003. The problem is quite simple. When I made a sizeof to the next struct, it returns that the size is 40 instead of 38. I consider that a short is 2 bytes, float 4 bytes, u...more >>

name conflicts in enum
Posted by George at 11/2/2007 2:29:01 AM
Hello everyone, Suppose I have two enums which has an item with the same names -- but different values, [Code] enum foo { NAME = 100; } enum goo { NAME = 200; } [/Code] Are there any ways to specify whether I need to access NAME in fo...more >>

Manually changing an ActiveX library's UUID
Posted by Anonymous at 11/1/2007 4:35:05 PM
I'm trying to change the uuid of an Activex control so that my modified version can coexist on the same system as the official control. I did what I thought was obvious: 1). Generated new GUIDS using the VC8 GUID generator 2). Modified the .idl (or .odl for another control) file 3). Rebuilt...more >>

changing properties of a form at runtime
Posted by tonyjeffs at 11/1/2007 1:50:09 PM
VC++Express; I have a form with one button. This is my code for the button1 click event. BackColor=Color::Red; // Red is in the scope Color ? changes color of Form1 button1->BackColor=Color::White; //changes color of button1 MessageBox::Show("Hello"); //Show is in the scope ...more >>

Is there something like a WebBrowser class?
Posted by Peter Oliphant at 11/1/2007 11:06:15 AM
It's not necessary, but it would be nice if there was a way I could easily create something like a 'web browser form' or a 'display web page form' as forms in my application (in a Panel would be even better!). Something that allows browsing the internet within the window, or possibly just disp...more >>

Does anyone know what this text means? (related to C4251 warning)
Posted by Anonymous at 11/1/2007 3:25:46 AM
On MS site: http://msdn2.microsoft.com/en-us/library/esew7y1w(VS.80).aspx is the following garbled rambling: "You can avoid exporting classes by defining a DLL that defines a class with virtual functions, and functions you can call to instantiate and delete objects of the type. You can the...more >>

/CLR versus No Runtime Support
Posted by Creativ at 11/1/2007 12:00:00 AM
Hi, I'm moving code from VC 6.0 to VC2005. I noticed that some code I can build and run in VC 2005 with CLR support. But once I put them into a project which support CLR, I got error "AccessViolationException" during run-time. Could anyone help with that? Why is there such a difference? ...more >>




DevelopmentNow Blog