TextBox problem 1
I have :textbox1 , textbox2, buton 1and make buton 1 event .I run the program . Iwant put mark "I" in to textbox1in order to in textbox2 show me mark "I" by putting buton 1 . how make string in text...
View Articlecall c++ atl dll from another atl dll project?
I really want this solved here as I believe it to be more of a c++ issue. Iam trying to reference softhidreceiver with is an ATL com project it appears after looking at the code. So my question is:...
View ArticleInvalid safearray of variants?
STDMETHODIMP CMMEmulator::sendinputreport(BYTE inputreport[5], int length) { // TODO: Add your implementation code here _TCHAR szBuffer[100]; _stprintf_s(szBuffer, _T("%i"), inputreport[1]);...
View Articleambiguity in function overloading
Hi all,Now I am learning about the ambiguity in function overloading.So I written a small programvoid f1( long a ){}void f1(char a ){}void Somefunc(){Int b = 20000; f1( b );}Here my compiler (VC 2010)...
View ArticleWhich API is the correct one to determine OS version?
I'm using GetVersionEx, but it reports version 6.2.9200 when using the OS Windows 8.1 Preview. MSInfo32 reports version 6.3.9431. Which API is the correct one? Any idea?
View ArticleTextBox problem 2 from redundancy
How replace it , in order to solution will as same as ? How make it under community "if" command ?it:if (textBox1->Text=="")textBox2->Text="--";textBox3->Text="--";instead it :if...
View ArticleVC++ Express update 3: Precedence and Order of Evaluation *NOT* correct when...
After upgrading to VC 2012 last week and then applying update 3 today, I have discovered a shocking problem with the VC compiler. I have a scenario where the Operator Precedence and Associativity as...
View ArticleHow to open an Excel application (and access [worksheet] object methods and...
Hi:I'm using Visual C++ 2010 Express Edition and would like to open an Excel Application (suppose I already have the Excel filename), and once opened (my Excel file) be able to switch between pages,...
View ArticleHuge difference between DLL sizes with /TC and /TP options
Hello MS Support,We get alomost 10 times larger DLL size when our CPP code is compiled with /TC (as C code) compared to default /TP option (as CPP code). It's contrary to what could be expected i.e....
View ArticleVC++ Display
In C++I have callback associated with a Button Push which works fine, I also set a System::Timerthat basically calls the Button Push callback directly. And the strange part is only one item on...
View ArticleArray Help! Windows Form Application
Hi, I am trying to make an array of 16 in windows form application with visual studio, but I am not sure how to do that with a float. I want the array to be incorporated into a chart that I have made....
View ArticleUnable to use Edit Box control in visual studio 2013(ultimate).
Hi,I have created an MFC dialog based application using visual studio 2013 (ultimate) on WinBlue, and simply put Edit Box control on dialog. There is no error in compilation but when I executed the...
View ArticleHow to fit child dialogue in Parent without using tab control mfc
I'm going to develop MFC dialogue based application in which Parent window contain different controls in which some are common with child window.So I want to call child dialogues on the click event of...
View ArticleDLLs & Virtual Functions
I have the following base and derived class that are in a dll and that I need to export so they are accessible in a program that consumes the dll.class MY_DLLAPI CBase { public: virtual ~CBase();...
View ArticleUnusual Resorce Error
Hi,When building a project using Visual Studio 2013 preview, I get the error "error MSB6006: "rc.exe" exited with code -1073741819" What is this and how do I fix it? I can't see any problems with my...
View ArticleWindows Form Application Tabs Not working
Hello, I am using VS 2011 with VC++. In my design view, I have two tabs, tab1 and tab2. Whenever I try to drag and drop a new button on my tab2, the button, by default gets added to tab1. I am not...
View ArticleDeletePrinterConnection
HiI'm a bit stuck with VS 2010 C++ when it comes to deleting a printer.This works:String^ printer = "something";AddPrinterConnection(printer);However, if I follow this with,...
View ArticleIs this possible?
I just finished my first semester of C++ so I am definitely a beginner. I work for a company that is in dire need of some updating. I want to create a program to automate a process that takes me about...
View ArticleSysprep for Win8 x64 system
Hi,I want to use Sysprep.exe for Win8 x64 system.But the thing is I don't want to create any disk image, I just want to change the SID and computer name.Is there any way I can do just the two tasks and...
View ArticleStop timer at any time and start it - MFC C++
Hello, i have moving stuff from left side of screen to the right one. This moving stuff is actually a bitmap file(it doesn't matter what it is). I use to move it using a timer - OnTimer(nIDEvent); I...
View Article