Quantcast
Channel: Visual C forum
Browsing all 15302 articles
Browse latest View live

Need to update combo box when add, modify, or delete records to db.

I have a combo box that is bound to a table in a dataset.  When I add, modify or delete a record in the  dataset, i need that to be reflected in the combo box.  I use the generated functions of the...

View Article


error C2664: '_com_ptr_t::_com_ptr_t(LPCSTR,IUnknown *,DWORD)' : cannot...

HiiI am migrating my application from vc++ 0.6 to vc++2013, one of the error i am facing is given above,I am sending th epart of my code with the error line...

View Article


error C2664: 'std::_String_iterator...

HiI am migrating my application from vc++6.0 to vc++2013, iam getting some errorsThese error have occured in 2 different places.i am displaying my code below and highlighting the 2 error line...which u...

View Article

error C2440: 'const_cast' : cannot convert from 'std::_String_const_iterator'...

HiI am migrating my application from vc++6.0 to vc++2013. I am getting error which iam unable to fix. I am sending the code and higlighting the error line in the...

View Article

Trouble Compiling with VS LNK 4044..can't find library files

Hi all, looking for some help..not sure where to turn.So I'm a grad student doing modelling work for the first time and am finding it pretty rough.I have the source code for a model written in C. I...

View Article


Trouble With Includes and Header Files: Compiler Error From the Command Line

Hello,I am trying to compile from the Command Prompt, using the standard cl/EHsc. I've been running in circles trying to figure out how to get the compiler to recognize my header files that I need. I...

View Article

How do I get from a source to a project in C++?

I have the sources to a project but do not know any c++. I have VS2013 and the matching C++.Here is the source...#include <windows.h> #include <tchar.h> #include <stdio.h> #define...

View Article

The application was unable to start correctly (0xc000007b). Click ok to close...

Hi,I have a small MFC application. It works fine.But when I build Debug instead Release version the following error message dialog pops up:                " The application was unable to start...

View Article


Use of IsDialogMessage and TranslateAccelerator.

#include <windows.h> #include <commdlg.h> #include <sstream> #include <string> #include "resource.h" LRESULT CALLBACK MainWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM...

View Article


Visual Studio 2012 and MASM in windows 8

Hi, I am learning assembly and my Visual Studio 2012 asks me to "Update VC++ Projects..." from the Projects menu and install v120 to build Kip Irvine's Project_sample from his examples folder. I have...

View Article

mfc100d.dll is not located from within system32

Hello,I have an application that requires the mfc100d.dll.First I copied it to c:\windows\system32, but the application did not located this dll. Therefore the application failed to start.Secondly I...

View Article

error LNK2019: unresolved external symbol _MPI_Cart_sub@12 referenced in...

in VS2008 after install VC++ 2010 redistributable package and Microsoft HPC Pack 2012 for MPI, a link in mpich.org error LNK2019: unresolved external symbol _MPI_Cart_sub@12 referenced in function...

View Article

Diff between Object Code and Binaries

Newbie here: I read and hear the terms object code (.o) and binaries. Are they referring to the same files? Thanks.

View Article


Can we develop a new User Interface in visual C++ for WinCE7.

Can we develop a new User Interface  in visual C++  for WinCE7.The template can be Smart device or windows forms application. Anything is fine.But is it possible ? Any ideas.Thanks in advance..

View Article

Touch support for MFC applications built in vs2012/2013, on Win7 and Win8

Hi All,We had a legacy VC6.0 application and i was able to migrate it from vc6.0 to vs2012. we are targeting our app to run on Win7 and Win8 both 32bit and 64bit. Now we want our application to be able...

View Article


Not able to open access 2007(.accdb) format database file with name ; using...

Hi,Using Visual Studio 6.0 (vc++)  I am attempting to open an accdb database file with name ; but it is giving error.I used the following conncetion...

View Article

what is the use of OnInitDialog and OnPaint in mfc

Dear SirCould i know the use of OnInitDialog and Onpaint briefly in MfcHave a Nice day Thanks &amp; Regards Shyamsunder Reddi

View Article


LNK 1561: Entry point must be defined

HelloI used Genetic programming and its result showed as c program code. I cannot compile this code and I saw the LNK1561 or LNK2019 to stop compiling.Please look at the code and give me some advices....

View Article

WM_MOUSEMOVE events recieved without touching the mouse

Hi,I wrote a small MFC MDI application (using the wizard - almost without adding any extra code).When I run the aplication on several computers,  some of them recieves WM_MOUSEMOVE events on the view...

View Article

Image may be NSFW.
Clik here to view.

VS 2013 has layout problems with the project 'Property Pages'

Hello,I was waiting since VS 2005 for a resizeable 'Property Pages' dialog...One of the great new features of VS 2013 was exact this thing - now I could take advantage of my 30'' monitor :)It didn't...

View Article
Browsing all 15302 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>