Answer Questions
Mike-T Detecting Colours
<BladeMaster@discussions.microsoft.com> wrote in message news:15b0c6af-d5d4-4dbb-8c2b-96cad754fa45@discussions.microsoft.com > Hello, I've been wondering if it is possible to detect the RGB value > of > specified pixels. For example, If I am viewing a blank internet page, > the colour in > the middle of the screen would be white, is there a way to find this > (In VC++) GetDC(0) gives yo ...Show All
lowjoel Smartbridge Alerts
I too am receiving the "entry point not found" message. I have very little technical knowledge and would appreciate assistance in any fashion. thanks. Helen McLaughlin Are you using Internet Explorer 7 Beta 2 This is an issue that is workaroundable--see the above link. Thanks, Brian I too am receiving the "entry point not found" message. I have very little technical knowledg ...Show All
oregonasian Renaming a form
Hello I create a new project using Visual C++ 2005 Beta 2 (CLR : Windows Forms Application) I obtain a form named "form1" I want to rename it "main". The problem is that I obtain this message "the project is out of date" How can I resolve this problem Thanks Hi, Try saving all files and rebuilding your solution. This should work. If after rebulding and cleaning your solution, you still see this message each ti ...Show All
Alexander Stoyan Managed C++/CLI wrapper returning COM interface?
I have a Managed C++/CLI clas that contains unmanaged initialization code that ends up with an unmanaged COM interface pointer. I would like to return this pointer back to the 'managed world' as a reference. I have a COM interop dll that defines this interface (generated with tlbimp.exe) but of course the type of the pointer that the unmanaged code has comes from the .h file that midl.exe generated based on the IDL file. What would be the mos ...Show All
Jeff Pigott A couple of questiones
Dear all, I am new to Visual C++ 2005 and I am Intended to write a network application and I am confused on how to start. I am looking for your apprecited help and directions that may lead me to the right way to achieve the goal. 1- What is the difference between CLR Consol Application and Win32 Consol Application 2- Is there a possibility to write a portable network application that depends on socket programming in Visual C++ 2005 that ...Show All
DWS c++ program wont start
Hi i developed my program in win XP with SP2 i use this functions: mciSendString mciGetErrorString i #include this : #include "stdafx.h" #include <windows.h> #include <iostream> #include <string> #include <mmsystem.h> #include <Commdlg.h> #include <fstream> project .LIBs : WinMm.lib ComDlg32.lib and when i ...Show All
LandLord323 Weird Spy++/VB/VC problem
Hey, Here is a wierd problem I've been breaking my head over for the last couple of days........ I am writing a program in VC which reads information off a window written in VB using the windows handles which I obtain programatically (and which can be viewed by Spy++). The object that I want to read stuff from contains 4 other objects 1. A drop down 2. Label (which I want to read) 3. A Tree 4. Some gif Through Spy++ when I view this object withi ...Show All
Sanjay Garg VS2005 - Project settings for multiple configurations
I'm porting my multi-project application workspace from VS 6.0 to 2005 solution. One of the problems is that when I want to add an additional "preprocessor definition" constant, I need to do it for each configuration of each project separately. Otherwise, all existing values are cleared. Previously, in VS 6, when selecting several configurations (Debug & Release together), the edit box contained the common definitions bet ...Show All
DoomGoober What does error C2065 mean? I have the error posted below. How do I fix the problem?
c:\documents and settings\projects\mortgageapp.cpp(7) : error C2065: 'end1' : undeclared identifier Build log was saved at "file://c:\Documents and Settings\Visual Studio 2005\Projects\MortgageApp\MortgageApp\Debug\BuildLog.htm" MortgageApp - 1 error(s), 0 warning(s That means you have been using some variable without being defined or declared previously. In your case, you need to define end ...Show All
Paulo Sebasti&#227;o handling the global static object constructor thrown exception in VC++ Express Edition
Hi, I am new to VC++ and would like to know how can I handle the exceptions thrown from a constructor of a global static object is to be handlwed in VC++. I tried creating another global static object which sets a handler function using set_terminate method but the control is not going there. Any guidance appretiated in handling the exceptions thrown by the constructors. Thanks and Regards, You run just into more trouble ...Show All
Raymond Sassine tchar into a string
hello again. I have a new question for you Guys : how can I Convert what is in my buffer (TCHAR) and copy it into my string This could sound stupid to you but i'm not very at ease with tchars and stuff. Thanks! Edit : here a code sample of what I approximatly need to do :P string strPath; TCHAR buffer[MAX_PATH+1]; DWORD iNombreChars = sizeof (buffer); iNombreChars = GetCurrentDirectory(iNombreChars, buf ...Show All
The Omnipotent Problem calling a function as thread
i get an debug assertion failed (file: wincore.cpp line: 884) when i call the following AfxBeginThread. The function CardThread will do some I/O on a usb device. Then i trace down the problem, it's caused by calling UpdateData(TRUE) as i wanna display what i read from the device to a dialog box. it's a dialog based application with only one main dialog box. if i keep on clicking ignore when the debug assertion comes up whenever it come ...Show All
osfa Is it possible to use sgi hash_map in vs2005?
Is it possible to use sgi hash_map in vs2005 without conflicting existing hash_map How to do it I want to let this code work, which is an sgi example: struct eqstr { bool operator()(const char* s1, const char* s2) const { return strcmp(s1, s2) == 0; } }; int main() { hash_map<const char*, int, hash<const char*>, eqstr> months; months["january"] = 31; months["february"] = 28; months[&quo ...Show All
TallMike Another example of my problem with structs...
Help! dynamic.h #pragma once #include "static.h" #include "stdafx.h" using namespace System::Collections; public ref class testit { public : testit( array <city^>^City) { System::Diagnostics::Debug::WriteLine(City[1]->cityID); } }; static.h #pragma once //#include "dynamic.h" (works when not included) ref struct city { int cityID; String ^ cityName; }; Form1.h #include "static.h" #in ...Show All
Morten Teinum Application works great on development enviornment but fails on any other XP Pro computer....
Users get the message: "This application has failed to start because the application configuration is incorrect. Reinstalling your application may fix the problem." Does anyone know how to solve this problem I'd like to make sure my application runs on 98SE, WinXP Pro etc... any help Thanks very much in advance! (MFC but no .NET, and I tried to link everything statically....) build log follows: Creating temporary file "c:\Documents and Setting ...Show All
