Answer Questions
sepehr.Beigi Embedding an edit control into a tab control
I want to embed four different edit controls into four different tabs. How do I do that Ted, How do I resize the edit control box in my tab. When I maximize the window, I want the edit box to be resized. I am able to resize the tab with no problem. Thanks, "With a tab control by itself you have a tab control within a dialog box that doesn't affect any other contro ...Show All
anina79347 runtime error in visual c++ runtime library wmiprvse.exe
this errors comes very quickly after some time and it comes within the short durations. devender 1623 wrote: this errors comes very quickly after some time and it comes within the short durations. Wrong forum for this question. try here instead : http://www.codeproject.com/script/comments/forums.asp forumid=1644 ...Show All
JimLamb CBitmap - Simple example
Hi, I am trying to load some images in a Picture Area. I only have the pointers to the images, and this pointers are of the type unsigned long* (I can also convert it to IplImage* to use with OpenCV). This unsigned long* get the images grabbed from an camera and I would like to display these images in this Picture Area (it is real time, I get the images from my camera and display them). I have tryied to use this (HBITMAP)LoadImage function, but ...Show All
perool On adjacent ">"s in a parameterized declaration
Hello, There is a syntax erron in the following code -- adjacent ">"s need a delimiter (it is marked AAAA) template <class T> class A {}; template <class T> class B {}; int main() { A<B<int>>(); // AAAA } But VC8 can compile it. It seems to be a error but on the other hand Mr. Stroustrup have being dreaming on such a syntax for ages and he promotes it pretty vigorously now, as far as know. So, I a ...Show All
pulco42 First painful steps with VC++ Express 2005 Beta 2 and DirectX9
Hi! I am currently making my first experiences with .NET programming and the Beta 2. My first questsion is simple: Is there any way to rename the default "Form1" class/files (which are created when generating a new Forms project) in an easy way I solved the problem by searching for all occurences of "Form1" through the whole solution and replacing them by e.g. "MainWindow". This seems very complicated. My second question is more complex. I tr ...Show All
pd42 BEGIN error in rc file
After I change something in my dialog box or within my resource and save it, I get 3 erros in my resource file. It turns out that I get some extra code added when I save my resource file. CODE : The part in dark green is added every save. IDD_MESSAGE_DIALOG DIALOGEX 0 , 0 , 164 , 248 STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_SYSMENU FONT 8 , "MS Shell Dlg " , 0 , 0 , 0x0 Why does saving my resource always add ...Show All
Pranathi menu in dialog
hi how can i create a popup menu in cdialog with left mouse botton i used the OnContextMenu and i get the point of the dialgo with cpoint and witch clicked thje rbottonmouse screentoclient(..) andd crreate a menu IDR_....... but i didnt see it when i cliedk the Right botton of the mouse can u help me mido1971 wrote: hi how can i create a popup menu in cdialog with left mouse botton i used the OnContextMenu and i ...Show All
Tim Mostad error LNK2001: unresolved external symbol ___CxxFrameHandler3
Hi, I am working on a project to migrate a program from 32-bit to 64-bit. The program works fine on 32-bit machine under VC 7, but when I tried to compile it in VC 8 on a 64-bit machine, I received the following linking error: error LNK2001: unresolved external symbol __CxxFrameHandler3 What is the possible cause for this error and how to fix it (i have already tried the suggestions posted  ...Show All
chrislal Number text into float
I know how to translate a number in a string, but how do I do things back, I mean, write like -15.36, which is not only decimal digits, to transfer from the edit boxe of the dialog box into a value (maybe using GetDlgItemText ) But how to transfer it into a string and after into a float char str[256]; double -> string: sprintf(str, "%.2f", doublevar); string -> double: doublevar = strtod(st ...Show All
Swanands __CONTEXT from winnt.h in x64
Hi .... i am getting the following error when including one of my previous code constructs. It is using the member of Struct CONTEXT from winnt.h, error C2039: 'Ebp' : is not a member of '_CONTEXT Dont have much depth in x64 bit system structs or its equivalents for x64. any idea for its substitute or a suggestion for correction will be highly appreciated. Best Regards, - Imran. Hi Navin, The /P will help you identify ...Show All
JHB viewing .pgd files from profile-guided optimization
Is there a tool that allows me to view the data generated by an instrumented run of my code .PGC and .PGD files are created for the profile-guided optimization. However, I want to use profiling to hand-tune my code. In VS6, there was a simple text ouput of function calls and timings. Rational had a tool that showed pie charts of child calls. Is there anything like this in VS2005 Launch ...Show All
pkafka Windows API not working w/VC++ Express
Good Morning- I downloaded the Windows Platform SDK and installed it and used these instructions: http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx to set it up. But they aren't working (IE: my code cannot find Windows.h). Has anyone else had this experiance with VC++ Express I did the manual file editings to point to the include directories, etc. Is there any way in VC++ Express to confirm what paths are avialable I ...Show All
Adam Finster Help:Visual C++ compiling question
Hello Everyone: I'm new to Microsoft Visual C++. There r 2 problems that I've never met before when I'm trying to build MFC sample applications by using Visual C++.NET. Questions below: 1.Scribble - sample from MSDN VC6.0 tutorial compiling error Error Message: "Scribble error LNK2001: unresolved external symbol "public: virtual struct CRuntimeClass * __thiscall CStroke::GetRuntimeClass(void)const " ( GetRuntimeClass@CSt ...Show All
Boman CBitmap - Simple example
Hi, I am trying to load some images in a Picture Area. I only have the pointers to the images, and this pointers are of the type unsigned long* (I can also convert it to IplImage* to use with OpenCV). This unsigned long* get the images grabbed from an camera and I would like to display these images in this Picture Area (it is real time, I get the images from my camera and display them). I have tryied to use this (HBITMAP)LoadImage function, but ...Show All
Suman_g Reading excel data in visual c++
I am new to visual c++, so please bear with me if this question is too basic. I have data in excel and would like to read it into matrix or 2 dimensional array in c++. Does anyone have code snippets Thank you! Your best bet is to first convert the Excel file to a csv format file. In your C++ app, use std::ifstream to open the file, getline to read each comma separated line, and strtok to tokenize the values. ...Show All
