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 > september 2004 > threads for september 8 - 14, 2004

Filter by week: 1 2 3 4 5

How to make the Windows to run a console program during OS startup?
Posted by ZhangZQ at 9/13/2004 11:57:57 PM
How to make the Windows to run a console program during OS startup, like the Chkdsk program to do when the OS does not shutdown properly? Now I want to run my program instead of Chkdsk during the OS startup, is there a way to do that? Thank you very much! Regards, ZhangZQ ...more >>

What Control is that?
Posted by Wake-up-Jeff at 9/13/2004 10:39:20 PM
I use ZipGenius 5.5 for archiving. The left half of the GUI has a series of expandable menus - "Common Tasks", "Archive Tasks", "Other Tasks" Can anyone advise what control performs this functionality? It must be a common control because the Windows "Printers and Faxes" interface has the s...more >>

VC++ 7.1 annoying bug?
Posted by Ioannis Vranos at 9/13/2004 5:22:04 PM
Why does this annoying thing happen? #include <windows.h> #using <mscorlib.dll> using namespace System; using namespace System::Windows::Forms; int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, ...more >>

Integer conversion help
Posted by Altman at 9/13/2004 4:33:12 PM
I am trying to write a program to write to the com port. I have some sample code and it says to use the function hComm = CreateFile("COM2", GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, ...more >>

decryption code throwing a hissyfit.
Posted by hazz at 9/13/2004 3:25:51 PM
Here is a method that throws a NullReferenceException at the line pointed to below . szCharKey is undefined at that point. Before FromDoubleByte() is called , szCharkey has a value of "1234" The call stack shows FromDoubleByte(char* pszIn = 0x001bfb18, unsigned char* pbOut = 0x0012eb10, __int3...more >>

excel
Posted by Vlad Efman at 9/13/2004 2:30:38 PM
Hello everyone: Does anybody know why c# writes to excel so slow, or how to speed it up? Thanks, Vlad...more >>

Little Problem
Posted by Angel J. Hernández M at 9/13/2004 1:28:03 PM
Hi folks! I'm having a little problem and I'm a bit confused about it. See... I'm working on this VoIP project (I need to use make direct calls to Windows API). I started working using C# but since I've got to access the API constantly I'd rather write all low-level stuff in C++ and create the UI...more >>

Decompiler.NET reverse engineers your CLS compliant code
Posted by Vortex Soft at 9/13/2004 11:57:26 AM
http://www.junglecreatures.com/ Try it and tell me what's happenning in the Microsoft Corporation. Notes: VB, C# are CLS compliant You can also use managed code with C++ Using what they call obfuscator, will not help you for a long time. For each new obfuscator ther...more >>



error C2039
Posted by Daniel Wilson at 9/13/2004 11:53:04 AM
I have a project that I have upgraded from VC++.Net 2002 to 2003. It = worked fine under 2002. I have solved some of the issues, but now am getting = C:\dwilson\StitchViewer\Stitch2Image.cpp(165): error C2039: 'Color' : is = not a member of 'System::Drawing::Pen' Here is the line in questi...more >>

What's a good memory leak tool?
Posted by Peter Steele at 9/13/2004 10:50:45 AM
We're doing some development in VS .NET C++ and want to purchase a tool for memory leak detection and related activities. Any recommendations? ...more >>

Why is MS VC++ .NET SDE slow?
Posted by BilMuh at 9/13/2004 1:15:04 AM
Hello Esteemed Developers, I am using 'Microsoft Visual C++ .NET Standard' SDE at MS Windows 2000 Pro Turkish by using IBM ThinkCentre PC that has 2,66GHz P4 CPU, 512MB RAM, 120GB HDD. I am developing an application that is Windows Forms Application that is communicating with a machine ...more >>

mscomm32.ocx inserts additional bytes to a binary stream???
Posted by arrowlike at 9/12/2004 9:31:31 AM
In a VC6 program, a mscomm32.ocx is added to the project and read the binary incoming RS232 data stream (from a GPS receiver). I use another commercial serial port debug program to send out a binary file through com port, read and record the com port data into a disk file. After file compariso...more >>

Reading the set temp and set tmp environment or something equivalent
Posted by Ioannis Vranos at 9/12/2004 8:25:46 AM
Is there any way to find out the current user's directory temp paths in ..NET applications? For example to read the set variables which in my account are: TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp or another way to retrieve that information? ...more >>

Fast sorting algorithm
Posted by Peter Schmitz at 9/12/2004 6:21:14 AM
Hi again, I just need to write the following function to search in a binary buffer for a given pattern: BOOL CheckBufferForPattern(BYTE *buffer,int bufferlen,BYTE *pattern, int patternlen, BOOL casesensitive). What's the best/fastest algorithm for a usual buffer size of 1500bytes or s...more >>

Sorting a linked list
Posted by Peter Schmitz at 9/12/2004 6:19:02 AM
Hi, in my application, I defined a linked list just as follows: typedef struct _MYLIST{ int myval; void *next; }MYLIST; MYLIST head; So, the problem is the following: the value 'myval' located in each item of a filled linked list contains a specific value - but...more >>

Delegating Constructor only supported by native class objects?
Posted by Stephen R. G. Fraser at 9/11/2004 3:23:01 PM
Are or will delegating constructors (constructors that can call sibling constructors) be available for ref classes or only for native classes? The CLI/C++ specs seems to say that it is a native class thing so I just want to make sure so that I can include/exclude it from the revision of my ...more >>

webservices in C++
Posted by pokemon at 9/11/2004 2:07:09 AM
hello, i'm wondering if i can write webservices in c++ ? instead of VB or C# ... if this is a case how do some specify a WebMethod attribute ? tnx...more >>

Got error when try to compile a dll
Posted by Jay at 9/10/2004 5:31:05 PM
I got the following error message when compiling a dll, after this dll has been compiled with calling project: "fatal error LNK1168: cannot open mylib.dll for writing" Realized that the file is being locked by the invoking project , but not sure why. Any thoughts? Thanks, J...more >>

Read variables through EXE
Posted by ashton at 9/10/2004 1:49:02 PM
Sorry for the confusing topic, I wasn't sure how to word this exactily. I have a program that needs to read a variable in from the outside. Specifically, the program will be run like this: Set WshShell = CreateObject("WScript.Shell") WshShell.Exec("myProgram.exe 123456") end sub myPr...more >>

VC 7.1 Bug related to templates ?!
Posted by Matthias.Biel NO[at]SPAM evotec-technologies.com at 9/10/2004 7:30:50 AM
Hi all, Microsoft Visual C++ .NET 69586-112-0293626-18840 doesn't compile the code below, it issues a C2146. template<class T> class A { public: typedef T X; }; A<A<int> >::X::X i; Is a fix available for this problem ? Thank you, Matthias...more >>

What is unnamed namespace used for?
Posted by dioscuroi at 9/10/2004 2:21:32 AM
Is there any difference between declaring in unnamed namespace and i global namespace? I can't recognize this p.s: Have a nice day ^_________ - dioscuro ----------------------------------------------------------------------- Posted via http://www.codecomments.co -------------------...more >>

a newbie question
Posted by Ron Harter at 9/9/2004 5:31:43 PM
Please forgive the question if the answer seems obvious, but I am new to ..Net and not having a fun time with it. I have built an XML DOM document (XmlDocument) using the appropriate classes from the framework. Now I want to send it to an exchange server, how do I do this? with VC++ 6.0 we use...more >>

Statically link dll code into exe
Posted by Agoston Bejo at 9/9/2004 2:23:57 PM
Hi, is there a way to do this? All you have is the lib and the dll file (so no source code). Is it possible to link them physically into the exe we're creating in a VS.NET 2003 unmanaged C++ solution's exe? ...more >>

New Google group - Visual Studio Express
Posted by Bootstrap Bill at 9/9/2004 12:54:45 PM
A new Google group has been formed for the purpose of discussing the new Visual Studio Express products. http://groups-beta.google.com/group/Visual-Studio-Express The products are currently in beta testing and include Visual Basic 2005 Express, Visual C# 2005 Express, Visual C++ 2005 Expre...more >>

LNK2001 Unresolved external symbol
Posted by Ian Taite at 9/9/2004 8:58:03 AM
Help, I am trying to nail a linking problem, to avoid having to lose about 2 weeks work. I have a backup of my project that compiles and links OK however changes I made sometime since then have resulted in the solution not linking with the error below. The solution comprises of six projects...more >>

regasm exports unmanaged classes
Posted by aevans1108 NO[at]SPAM yahoo.com at 9/9/2004 12:59:09 AM
Greetings I'm using VC++.NET to create a class library. The class library contains managed classes that wrap legacy unmanaged classes by the same name. I use regasm to register the DLL for COM interop. If I don't include any managed classes in the library, the context help in VB6 lists ...more >>

Concatenate char to String
Posted by Poewood at 9/8/2004 3:07:02 PM
Okay I know this is basic C++ but can someone tell me how to concatenate char[] to string. Ex: char hexChar[]={'A','B','C','D','E','F'}; String *str ="A"; how can I do this: str = hexChar[1] + hexChar[3]; or str = str + hexChar[3]; thanx, Poe...more >>

How do I: use CreateDirectoryEx to create a Directory 300+ characters? - Using Unicode Build
Posted by Russell Mangel at 9/8/2004 5:42:01 AM
Hi, I am trying to create a directory on my disk wihich is 300+ characters long. My program does not work, can you make it go? I am using VS2003 C++. Russell Mangel, Las Vegas, NV // I have specified Unicode Character set in project settings #include "stdafx.h" #include <windows.h> int _t...more >>

VC++ 2005 support for XML Comment generation
Posted by David Allmond at 9/8/2004 2:33:03 AM
I have been looking at various info about VS 2005 and I keep seeing that the XML code comment generation is being extended to VB.NET, but there seems to be no mention of it correctly supporting C or C++. At the moment it is very hit and miss with the C/C++ comment generation, as it actually w...more >>


DevelopmentNow Blog