Answer Questions
Davirich Problem in CCheckListBox
Hi, I have a Dialog based - MFC application in VC 8.0. There is a check ListBox (having property Owner Draw = Fixed and Has Strings = True) in the dialog. We have added some elements in the list box( The number of items in the list box should be less than the visible height of the list box without the vertical scroll). If we select one item and click mouse outside of the list box or in empty area of the list box then selection remain ...Show All
domusvita Setup was unable to create a DCOM user....
Hi. When I try to Install VS6.0 …. Setup Error Setup was unable to create a DCOM user account in order to register ” ..\Program Files\Microsoft Visual Studio\Common\Tools\VS-Ent98\Vanalyzr\valec.exe” I couldn't Install VS6.0, What should I do Thanks. Thanks from me, too! thank you very very much! You're in luck: it turns out you are not the first person to hit this pro ...Show All
Tramp Visual Studio 2005 MFC Applications on Windows 98
Hi, I am tring to build a unicode app to work on win 98/nt/xp. Built a sample MFC application in Visual Studio 2005 Team suite Beta 2. A unicode dialog app with a button. When run on windows 98 it shows this message. Installed VCredist_x86 and .NET framework 2.0 latest versions downloaded from web. Also coped mfc80u.dll to the exe folder. Microsoft Visual C++ RuntimeLibrary Runtime Error! This application has requested the runtime to te ...Show All
PhotoJoe newbie question: Migrating from MSVC5.0 to actual Visual C++ 2005 Express Edition
Problems importing old DSW/DSP-files: We are developing mainly console applications, so we use a rather old Visual C++ 5.0 professional. Now we started with Visual C++ 2005 Express Edition. But i encountered problems opening my old DSW-Files: after asking to convert the old file versions Visual C++ breaks, shows the problem-report windows and asks to restart. Are there any solutions how to import MSVC5.0-DS -Files ...Show All
Narayan_jn Sorting of msflexgrid control in VC++
I want to sort data that is being displayed in my msflexgrid control. All data of a column needs to be sorted on the selection of the column header. Just like we can sort the items in our inbox in outlook by clicking on the tab headings "From", "Date", "Subject", etc. This is a very simple task in VB. But I am unable to find the method to implement it using VC++. Can somebody please help Hi Jahfer, thanks for that, but tha ...Show All
E Ingram RegQueryValueEx problem?
Was hoping someone could help with a register reading problem What is the reason RegQueryValueEx function not work to reading a process which Windows Service was started However when the User start the process, same function works great. the path where the process is HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings Can anyone offer some suggestions as to what might be wrong Thanks. ...Show All
wesam Can I build a simple Console application that does not use Sxs.
Basically I just want to build some simple console programs that I can move from system to system (2000/XP) as a single .exe without having to get into the detail of Isolated Applications or Side-by-Side Assemblies. I currently get an error at execution of 'This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.' if I just bring my SimpleC++program.exe to a Windo ...Show All
tarmac321 VC++ .NET 2005 Treatment of Enums
Enums have gained some new unexpected behaviour since VC6 and .NET 2003. If two Enums are declared one after the other the second enumeration may start from the integer no. that ends the previous one if the last item in the previous enum's list ends with a comma rather than nothing: enum a { Mon, Tue, }; enum b { Jan, Feb, }; the compiler will assign Mon = 0, Tue = 1. Which is as expected. What is not expected is that the compiler wil ...Show All
Albinowookie retrieving commandline arguments
Hallo, I am invoking a programm developed using visual c++ from another program which is also developed using vc++. i call from Prog A using the function STARTUPINFO si; PROCESS_INFORMATION pi; ZeroMemory( &si, sizeof(si) ); si.cb = sizeof(si); ZeroMemory( &pi, sizeof(pi) ); ::CreateProcess("B.exe"," /mod", NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi)==0) Now my question is how to retrieve or using which ...Show All
Luke Bedggood Help with visual beta 2
Im in a CS class using the microsoft visual studio 8 beta 2 as our program. last year we used lawence press libs and we cant use those in beta any suggestions Excuse me if I have limited knowledge of the issue but what are the lawence press libs Thanks, Ayman Shoukry VC++ Team Hi, I've looked at the libraries you linked to and it seems that they have been designed back in 1997 for Visual C++ 6.0. Since that release, w ...Show All
emilychou Slow mixed assembly performance... Why?
Hi, I wrote a program in Visual Studio 2005b2 (Winforms), but include many of my image processing algoritms written in unmanaged c++. These functions use SSE2, and array manipulations. However, compiling my new program (.Net) resulted in very poor performance, where the execution is so slow, compared to the same code when compiled in MFC. Why is that I'm aware that .Net compiler generates MSIL, and it is compiled to native code on the fly during ...Show All
jwellsntr Installing msvcr80.dll
Hello, I have installed Visualk Studio 2005 and want to try out some stuff. After writing a simple console application I ahve copied the exe to an other machine, but there is no VisualStudio installed. Copying the msvcr80.dll in the system folder does not work (it works on Windows 2000). I know that i lies now in the winsxs folder so I have tried to copy the whole stuff from this folder, does ot work! I have looked in the merge module and found ...Show All
Zodan Question Regarding Automation
Hi, I'm dealing with some automation for my code, and there is some syntax that is there that confuses me I have code like this: BEGIN_DISPATCH_MAP( MyDocument, C CmdTarget ) //{{AFX_DISPATCH_MAP(MyDocument) DISP_FUNCTION(MyDocument, "SetVisible", SetVisible, VT_EMPTY, VTS_BOOL) //}}AFX_DISPATCH_MAP DISP_FUNCTION(MyDocument, "SetInvisible", SetInvisible, VT_EMPTY, VTS_BOOL) END_DISPATCH_MAP() The part i dont understand is why the A ...Show All
TrackerX Object Test Bench not displaying..
When I right click on any of my classes in my class view, there is no option to 'create instance' for the object test bench. Screenshot I have searched around and people have said that they solved this problem by installing all languages, but I already have all languages installed, so that can't be my problem. Does anyone know why this is happening Thanks, aydin ...Show All
Andrew Garbuzov HELP! - Converting Data Type and Writing File Problem
I want ot open a file, getting the username from a label, and write to it. Simple No. It always errors whaever I do. I have looked at the documentation but that provides no answers. This code: FILE *stream; errno_t err; err = fopen_s( &stream, label5->Text, "w" ); fclose(stream); but it errors: error C2664: 'fopen_s' : cannot convert parameter 2 from 'System::Windows::Forms::Label ^' to 'const char *' No user-defined-conversion ope ...Show All
