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 > january 2004

Filter by week: 1 2 3 4 5

Can we get notification of opening any site ??..
Posted by Jigar Mehta at 1/31/2004 4:05:23 PM
Hye, I am trying to get notification of any browser request... (not only that of the local server.. e.g. http://localhost/. so ISAPI filters will not be the right way to solve problem) So, whenever any request like (http://www.yahoo.com/) is made in IE, I want my DLL routine or my EXE...more >>

Once again, attributes for MC++ properties
Posted by Edward Diener at 1/31/2004 2:44:14 PM
In MC++ properties are syntactically created through member functions declared with the __property keyword and using set_ and get_ naming conventions. Given that a property is specified in this way, how does one set an attribute for a property ? Does one have to precede both the set_XXX and get_...more >>

[ANN] Firebird .NET Data Provider 1.5 Release Candidate 4 released
Posted by Carlos_Guzmán_Álvarez at 1/31/2004 11:29:13 AM
Hello: Firebird .NET Data Provider 1.5 Release Candidate 4 available for download. Release Changes: - Bug fixes. --------------------------------------------------- You can read the Changelog at: https://sourceforge.net/project/shownotes.php?release_id=213908 You ...more >>

How to get Global Notification of browser request...
Posted by Jigar Mehta at 1/30/2004 6:21:28 PM
Hye, I am trying to get notification of any browser request... (not only that of the local server.. so filters will not be the right way to solve problem) So, whenever any request like (http://www.yahoo.com/) is made in IE, I want my DLL routine or my EXE should be called.. So, how to ...more >>

Declaring a parameter as a REF or OUT ARRAY
Posted by Michael Gunter at 1/30/2004 5:43:26 PM
Good afternoon, I am creating an interface in C++ using the managed extensions. I need to declare a parameter as an out string[] (as would be represented in C#). Does anyone know how to do this? Declaring out parameters generally takes the form: [Out] <type> __gc* name and arrays gen...more >>

IDE Replace in Files doesn't work
Posted by Jan Bares at 1/30/2004 3:58:50 PM
Hi, I have .NET 2003. When I run "Find in Files" command, everything works as expected. However when I run "Replace in Files" with the same settings a and press Find Next, I get: "Look in: A specified directory or file is not available or does not exist." There is nothing special in my settin...more >>

rs232 synchronization issues at 115200
Posted by Peter Hans at 1/30/2004 3:26:05 AM
Hi, I developed two applications to test a flush() method in my application, but I am having some problems when running it at high baud rates (115200) I connected two computers using a cross-talk cable and wanted to test if all data sent from application 1 was correctly received by application 2...more >>

How to shiled or redirect the output of a console application?
Posted by booker at 1/30/2004 1:07:28 AM
Hi, As i known,all the c++ compiler under windows platform are of console application. I'm really curious why when they are called by their native IDE(borland c++ ide,visuall c++ ide etc),their console window will not popup and their text ouput is redirect to the ouput window of the IDE...more >>



newline format control in richtextbox
Posted by D Steward at 1/29/2004 10:31:06 PM
I can't seem to add a newline (/n) to get a richtextbox control to display text on successive lines. The text that I type is overwritten. How do I remedy this My example richTextBox->Multiline = true richTextBox->Text = S"First line /n" richTextBox->Text = S"Second line" Thanks DAS...more >>

VS7.1: No member function pointer call possible?
Posted by Axel Dahmen at 1/29/2004 6:33:58 PM
Hi, I can't get to compile the following: struct A { A(void); bool fn(void); bool (A::*pfnc)(void); }; A::A(void) : pfnc(fn) {} bool A::fn(void) {return true;} int _tmain(int argc, _TCHAR* argv[]) { A a; (a.*pfnc)();...more >>

VS.NET Stand alone .exe problem - msvcr71.dll error
Posted by Sara Shoemaker at 1/29/2004 6:24:31 PM
I am having problems creating a stand-alone Windows app. I am using a .vcproj file that was translated from a Qt project file using the Qt plug-in. My problem is in getting it statically linked to the Windows libraries. After Googling extensively and getting .NET to generate a sample proje...more >>

NoStepInto on .NET 7.1
Posted by Jan Bares at 1/29/2004 4:38:21 PM
Hi, The NoStepInto feature seems not to work under the latest VS.NET 7.1. I even used regmon and there was no access to 7.1\NativeDE registry key. Does it work for you? Regards, Jan ...more >>

Source code to resize jpeg
Posted by Mihajlo Cvetanovic at 1/29/2004 1:25:50 PM
After a half hour inet search I'm looking for a link here. Where can I find a cpp source code for in-memory jpeg resizer? Thanks. ...more >>

illegal call of non static function
Posted by Taptu¶ at 1/29/2004 1:18:36 PM
Hi I have a problem. I have a function : void for3::drzewo() { m_lista.DeleteAllItems(); m_li.GetImageList(); goi.GetImageCount(); goi.SetBkColor(RGB(0,0,0)); goi.Add(nowe_ikony.ExtractIcon(0)); goi.SetBkColor(RGB(0,0,0)); goi.Add(nowe_ikony.ExtractIcon(1)); goi.SetBkColor(...more >>

Socket connection c++.net Help me please
Posted by alisabasicetf NO[at]SPAM hotmail-dot-com.no-spam.invalid at 1/29/2004 7:59:49 AM
Please help me, I have to make socket connection between server and more than one client on some port. Is it possibly? I make socket between server and one client, but more then one is problem. I know that I have to put connected clients in some arraylist but how to accept them, and how to commu...more >>

bug in VC++2003
Posted by Vladimir Petter at 1/28/2004 10:02:46 PM
Hello, I am not sure if this bug was noticed before so please ignore posting if it was. I was playing with sample from "C++ Templates The Complete Guide" chapter 8.2.4 #include <iostream> using namespace std; template <typename T1, typename T2, typename T3=int> class C; template <...more >>

Compiler Upgrade
Posted by ndessai at 1/28/2004 7:11:43 PM
Hi, This seems to be confusing but let me know if anyone has encountered it before. I am presently working on a compiler upgrade of a huge source code. The code did not give any errors on VC 6.0 compilation. But in VC 7.1 compilation I got a message that "private members cannot be accese...more >>

Problem with remote IP
Posted by Taptu¶ at 1/28/2004 11:54:53 AM
Hello I have problem with determining remote IP. How can I get IP of remote machine if I had them name like: //Comp1 Thanks Taptu¶ ...more >>

Bug in VS 2003.Net - Template parameter deduction
Posted by Henrik Ullerichs at 1/28/2004 9:19:40 AM
The following gives you two bugs. Just create a default console project, and paste it at the bottom of the file with _tmain. e:\Src\C\BlobHolderTest\BlobHolderTest.cpp(44) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701) e:\Src\C\BlobHolderTest\B...more >>

Problems with PCH on Windows 2000 SP4
Posted by ptongue NO[at]SPAM deloitte.co.uk at 1/28/2004 9:17:05 AM
Dear world, We are having issues with Windows 2000 SP4 and Pre-Compiled Header (PCH) files that have been previously compiled on Windows XP using ..NET 2003. Recompiling the PCH files on Windows 2000 SP4 using /Yc does work, but we really want to ship one PCH file to our customers that will ...more >>

Probably me being stupid - fstream
Posted by kjervis NO[at]SPAM blueyonder.co-dot-uk.no-spam.invalid at 1/28/2004 9:00:20 AM
I'm new to C++ and have been chucked in at the deep-end. I have a C++ console app that works fine. All I want to do is write to file however as soon as I include the fstream library and try to compile VS .net chucks out errors, lots of them: c:\Program Files\Microsoft Visual Studio .NET 20...more >>

Handling WM_INITMENUPOPUP; now what?
Posted by Steve at 1/28/2004 8:01:08 AM
I need to perform some special initialization of a menu when it is displayed, so I am looking for the WM_INITMENUPOPUP so that I can modify my menu before it appears. Unfortunately WM_INITMENUPOPUP doesn't provide the most basic information that you would need with this function - the menu being di...more >>

Problem : Usb Time Outs by SetCommTimeouts
Posted by Ebrahim at 1/28/2004 7:21:07 AM
Hello NG I’m developing software for my hardware which is connected via USB to my computer, I already have written the necessary firmware and a mini driver (by Windws2000 DDK) which both works The Problem I want to define communication time outs for non-overlapped read and write operations us...more >>

CxxCallUnwindDtor?
Posted by Eugene Lerner at 1/28/2004 6:56:06 AM
I have an abstract class that inherits from 'MarshalByRefObject' which is also abstract. When I add a destructor to my class Link errors with message error LNK2001: unresolved external symbol "void __cdecl __CxxCallUnwindDtor(void (__thiscall*)(void *),void *)" (?__CxxCallUnwindDtor@@$$J0YAXP6EXP...more >>

Virtual destructor causes LNK2001 !
Posted by balkanese NO[at]SPAM web-dot-de.no-spam.invalid at 1/28/2004 4:00:05 AM
Hi everybody! I encountered the following problem: I created a "class library (.NET)" project and made a first build, which produced a warning: > nochkclr.obj : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\lib\nochkclr.obj' or ... ...more >>

Would it be possible?
Posted by Brian at 1/27/2004 9:02:24 PM
Dear Visual Studio .Net IDE development team: Please, if it is at all possible, bring back the old Visual C++ IDE we had with version 6. I know that it had some short comings, but it works very well for what it is needed to do. I have been doing a trade study for the company I work for re...more >>

VC++
Posted by boxesbox at 1/27/2004 7:15:15 PM
i'm using VC++ to create a handwriting recognizer.. just the recognizer.. is there anyoe have any idea on this?? i want to create my own gesture as the default recognizer cannot detect a pi symbol.. or is there any method which i can add this symbol to the library?? and how can i create t...more >>

[?] Querying for C# methods from unmanaged C++ via COM
Posted by Quinn Tyler Jackson at 1/27/2004 5:16:35 PM
Hello: This question relates both to C# and to unmanaged C++, but is not really "C# specific" at the C# end. Let us suppose that I have a C# class such that: using System; using SomeCOM_Lib; namespace Foo { class Bar : SomeCOM_Lib.ISomeInterface { public ...more >>

Having __value class instance variables in __nogc classes
Posted by Edward Diener at 1/27/2004 2:58:38 PM
Why is it impossible to have a __value class instance variable in a __nogc class when it is possible to have a built-in type instance variable in a __nogc class ? __value class X { int a; }; __nogc class Y { X b; int c;}; // compiler error __nogc class Y { int c;}; // OK ...more >>

Using Clipboard Class
Posted by Nithi Gurusamy at 1/27/2004 12:51:23 PM
Hello everyone: I am new to .NET world. Someone please show me how to use the Clipboard class in an unmanaged code. Assume I have a MFC CString variable strText. How to put the value in strText into the clipboard using the managed extension class Clipboard. Thanks Nithi ...more >>

a bug invoking base class's property?
Posted by Huihong at 1/27/2004 12:46:55 PM
I found when invoking the same property of a base class, the MC++ compiler seems to emit incorrect IL code, and causes causes stack overflow: class Child : public Parent { __property void set_Text(String *s) { Parent::Text = s; } }; It emits: call instance vo...more >>

"All public methods should be virtual" - yes or no / pros & cons
Posted by Ken Brady at 1/27/2004 9:04:43 AM
I'm on a team building some class libraries to be used by many other projects. Some members of our team insist that "All public methods should be virtual" just in case "anything needs to be changed". This is very much against my instincts. Can anyone offer some solid design guidelines for me...more >>

Porting existing code from VB.NET to Managed C++
Posted by anupam_mukherjee NO[at]SPAM persistent.co.in at 1/27/2004 3:56:23 AM
Hi, I have some existing code in VB.NET and have to port it to Managed C++. Is there any existing tool which lets me do this job? If not, hwat would be a better approach to doing this, line by line translation or rebuilding the code from scratch Regards and thanks, Anupam...more >>

CMimeMessage
Posted by SunFire at 1/26/2004 1:36:01 PM
Hi can I use this ATL classes with standard Win32 application? Regards, Robert ...more >>

Problem on defining Multiple Level Namespace (Company::Application::Components)
Posted by Sai Kit Tong at 1/26/2004 12:25:48 PM
How can I define a multiple level namespace for my class? I got compilation error using the "::" as separator: namespace MyCompany::GenericApp::CommComponent { public __gc class WordReader { .......... } } However, I could define MyCompany.GenericApp.CommCompon...more >>

Menu not showing hot keys at runtime
Posted by Joe Thompson at 1/26/2004 11:11:04 AM
Hi Using VC++ 2003/winform app I added a menu to my main form and then added "&File" as the text of the first item. At design time it appears as expected (the F in File is underlined). At runtime the F is not underlined. I don't see any settings for enabling/disabling this. What am I missing...more >>

Working with Forms in MC++
Posted by Tim at 1/26/2004 8:51:06 AM
Hi, I have a simple form in my Managed C++ application that has a textbox on it that is meant to act like a console. The textbox is updated with information as the program runs. My problem is that a VB textbox does not recognize C++ escape characters and I want to display a newline in the t...more >>

Resources
Posted by Bonj at 1/26/2004 6:06:06 AM
H When creating an SDK program using VC++.NET 2002, it seems that the icon with the lowest ID seems to be the icon that the executable file gains when it is shown in Windows Explorer. Furthermore, you can edit the resource.h file, to change which icon has the lowest ID in order to determine this, ...more >>

Slow link times
Posted by Rudy Ray Moore at 1/25/2004 9:51:52 PM
Why is "Visual Studio .net 2003 7.1 c++" so much slower than VS6 at linking? It looks like "Visual Studio .net 2003 7.1 c++" doesn't even do incremental linking! I make one very minor change in a .cpp from one of my thirty projects and the whole thing links! (I turned on verbose linking to ve...more >>

excpt.h error
Posted by Dave at 1/25/2004 8:17:25 PM
When I build my project I get an error in the excpt.h header file. The build error tells me that there is a missing ';' before 'string' at the line in excpt.h that reads extern "C" { Is this library file included for exception handling? I'm just trying to set up a simple program to experi...more >>

Using NMAKE to build C++ app - Falling over
Posted by kjervis NO[at]SPAM blueyonder.co-dot-uk.no-spam.invalid at 1/25/2004 2:31:53 PM
Hi all, I'm new to C++ and .Net but I have been giving the task of building a C++ application using NMAKE. Simple huh? I have visual studio .net installed and therefore VC++7.0. However when ever I try to run NMAKE from the dos prompt it is unable to find any header files that have been i...more >>

COM <-> .Net Exception handling
Posted by Mark at 1/25/2004 2:11:05 PM
I have a COM object that calls into a C# Forms library. The library can throw exceptions and I want to handle the exceptions in COM. Adam Nathan wrote a Microsoft sponsored book titled .Net and Com the complete interoperability guide which shows examples of how to do this. Below please find the...more >>

VC++.NET ????
Posted by borhan NO[at]SPAM boun.edu-dot-tr.no-spam.invalid at 1/25/2004 12:33:11 PM
Hi folks, I am using vs.net 2003 for a time, however since last week I was using MFC. Now, I am into managed C++ and windows forms. I can say that I am very much confused with it, and I have some questions I hope I can find some answers here... 1. First of all, I got the answer to t...more >>

Forced Path for Project/Solution is incompatible.
Posted by David F. at 1/24/2004 11:51:05 PM
In VS6 I could override where it created a project simply by editing the location to be saved in after typing the project name. VS.Net is forcing me to put it in d:\somepath\projname .. I want it in d:\projname\mak\win32, how do I get it there Also, what is the newsserver for these groups. I don...more >>

C++ Managed and Unmanaged and the New Command
Posted by Ofer Achler at 1/24/2004 9:14:43 PM
I'm having horrible, headache inducing problems trying to make a wrapper, or just a c++ class to interact with a managed class. I mimiked a managed wrapper to an unmanaged class as showin here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmxspec/html/vcmg_overview.asp b...more >>

mixed-mode C++ and the Out attribute
Posted by Chris Ellis at 1/24/2004 12:08:14 PM
Hi, I'm not sure if this is the right newsgroup for this question. I'm not sure if the problem lies in C# or in C++, but I am working on a project that uses a mixed-mode C++ dll to wrap some API's into classes. I am then using those classes from a library in C#. In one of my C++ functio...more >>

Decompiling EXEs to C++ source
Posted by S.J. at 1/24/2004 7:21:03 AM
Does anyone know how I may decompile EXEs to C++ source code? Please reply to my email....more >>

Good tutorials for String class?
Posted by Nathan Young at 1/24/2004 6:07:43 AM
Hello all, I am a newbie to C++ (but have been writing C for a while). I am trying to write a simple TCP/IP program in C++, and am really struggling with string manipluation. I would appreciate any pointers to good web tutorials on the String class and manipulating strings. For example. ...more >>

/AI option and the References folder
Posted by Jon at 1/24/2004 5:04:05 AM
Does the "Resolve '#using' references", the /AI option, automatically use the dll's in my project's References folder? ...more >>

beginners question...
Posted by Jase250 at 1/24/2004 12:44:08 AM
hi folks, i'm a beginner to programming in anything beyond BASIC and would like a (probably simple) question answered. i am wanting to write a program with similar interface to the music programs which have small instruments and effects which can be dropped onto a large form. these can the...more >>


DevelopmentNow Blog