Assertion failed.
Hi there. Today I received this message: Assertion failed!Program: ...File: f:\tmp\build-tmp-3528\proj\asiodrv\asio_driver.cppLine: 538Expression: pRenPinFor information on how etc etc (you probably...
View ArticleProblems with VS6 -> VS13 migration
Thanks for the responses to my earlier query. I'm still stuck getting a custom handler added to a basic hello world problem.Here's my code, the shell is a basic Hello World program off the web that...
View Articleerror LNK2001: unresolved external symbol _dtoa (and _STRTOD)
I am trying to compile some older code, and I'm getting the errors:f-deci.obj : error LNK2001: unresolved external symbol _dtoa f-deci.obj : error LNK2001: unresolved external symbol _STRTOD r3.exe :...
View ArticleQuestion about scanf()
I want to know how long it has been since Visual Studio forces you to use the secure versions of scanf(), because I was able to use it without an error (only warning) a few months ago in Visual Studio...
View ArticleTooltips stopped working after migrating from VS 2005 to VS 2010
Hi,My code in a C/C++ app to create and update tooltips stopped working between VS 2005 and VS 2010. The tooltip was created using:hwndTT = CreateWindow(TOOLTIPS_CLASS, TEXT(""),...
View ArticleProblems compiling with Microsoft Visual C++ 2010 Express
HiI am programming C Win Api in Windows 7 using Microsoft Visual C++ 2010 Express. However, more and more often I get the following error: 1>LINK : fatal error LNK1168: cannot open C:\User etc. I...
View Articledeveloper
Hi;I am new to VC++ 2010autocomplete is not working even with Cntl + SpaceThanks,
View ArticleExcel Automation command pRange->Item
Hello,I am building an excel automation and i have a problem when the user put information in a textbox to select columns.I am getting the string from the textbox and adding it to this command...
View ArticleTitle bar says not responding but program still working on long process
I have a number of Processes that process information in batches. These processes run with a form showing progress bars and progress messages so it is usually evident that they are still operating...
View Articleerror LNK2005
hi,all, I defined a struct and a non-member function with the same name and code in both main dialog class and a sub-dialog class. And I got the LNK2005 errors:1>XMLDOMFromVCDlg.obj : error LNK2005:...
View ArticleWindows 8.1 Pen & Touch Tablet crash.
on windows 8.1 if I have a add a line in a MFC project:_control87( 0, _EM_UNDERFLOW|_EM_OVERFLOW|_EM_ZERODIVIDE ); then use a touch Tablet with the pen clicking on the menu bar or in a dialog's "OK"...
View ArticleVS2013 Professional not working.
I receive this when i try to build anything (even an empty CPP) I have Visual Studios 2013. Clean Install. I have tried reinstalling/repairing and it still yields the same result. 1>------ Build...
View ArticleRegOpenKeyEx / RegQueryValueEx returning the wrong value
I have ran into a very strange issue. On some computers, not all, I am getting an unusual value from the registry that does not match the location I am querying from. I should be getting the...
View ArticleUpdate String Table Dynamically
I need to dynamically update a string table in an MFC VC++ project. I searched for a solution to this question, and found a very surly answer which said to use UpdateResource() with no instructions....
View ArticleVS 2013 error LNK1104: cannot open file atlsd.lib
I'm trying to get a VS 2010 C++ ATL based dll to compile in VS 2013. I'm getting the following link error: <o:p></o:p>error LNK1104: cannot open file atlsd.lib I've not been able to find...
View ArticleLine meaning
Hi, I am examining a line of code ...if (cashflow_req.find("valn_tgt") < string::npos)Why do they use "string::npos" instead of just "npos" if npos is a string? Or am I wrong is npos a function in...
View ArticleLINK : fatal error LNK1104: cannot open file 'dxerr.lib'
I've been sent code that I need to work on, but whenever I build I get the following message.I don't know why, I've looked for the dxerr file and looks to be there. Does anybody know how to solve this?
View ArticleVisual Studio 2010 C++ Serial Port Sending a fixed byte at 50 ms intervals...
I have integrated "CSerialPort v1.28 An MFC class for Win32 serial ports"http://www.naughter.com/serialport.html with a GUI application to send/receive commands/response to a device using an "FTDI...
View ArticleVS 2013 regsvr32 buffer too small error when registering a COM dll
I have a atl/COM base solution I'm trying to convert to compile under VS 2013. Whenever VS tries to register a dll I get this error (in part):Microsoft Visual C++ Runtime LibraryProgram:...
View ArticleApi to get notify when system boots
We have an application that excutes some code when system starts up. This code is written in our service starts up function. Since on system starts the service will also starts, our code gets executed...
View Article