Just like when Salem debugged the last time to advise for the settings and it turned out that the library was missing http://cboard.cprogramming.com/cplusplus-programming/148601-error-c3861.html....
Type: Posts; User: emmagood
Just like when Salem debugged the last time to advise for the settings and it turned out that the library was missing http://cboard.cprogramming.com/cplusplus-programming/148601-error-c3861.html....
Hi,
I wanted to read all the COM ports available on a computer (COM1, COM2, etc ) using VC++. Can anyone suggest a way to do so.
Thanks,
Emma Good.
Hi Salem and laserlight,
I was able to compile the code. I was basically missing a header folder 'altmfc' at my end. Anyways, thanks for all the help.
Emma Good.
Hi Salem,
I tried as per you advice. I uninstalled Visual Studio 2008 and installed it back. Then opened the project as fresh (did not Ok when the prompt came up to open the existing project)....
Hi Salem,
Nice to hear back from you. If I understood you point correctly, I can stdlib.h in the first line of the code to get over the issue. Pls. let me know if I am right. Actually I tried...
Hi iMalc,
Thanks for the reply. Yes, it dosnt seem to be a good programming practice. But, as of now I am trying to compile an existing code (written by someone). Previously I ran into errors...
Hi,
Is there a way to include all the provided libraries in Visual studio (2008 SP1) for a VC++ code so that when the code gets compiled, it can pick up whichever required. It is OK if...
Hi Grumpy,
The project has 5 source files and 5 corresponding header files. I tried by inserting '#include <stdlib.h>' in the first lines of all the 10 files ! Didnt work that way.
Emma Good.
Thanks for the reply. The project does not use vcl.h. (it was made by someone else; i have to extend it, trying to compile it first) . Other than that, I am jotting down the list of #includes below:...
Hi,
I am getting the error :
c:\program files\labpacks\visual c++\include\vclobjects.h(99) : error C3861: 'wcstombs_s': identifier not found
c:\program files\labpacks\visual...
Hi,
Yes, this is basically a MFC application. There is a folder which has the exe file. The readme file tells how to install the utility. Also what is a Visual studio solution file pls.
Thanks,...
OK... there are several files in the program which are included in the main file. So i am just collating all the #includes from the files
#include <afxwin.h>
#include <afxext.h> ...
List of includes...do you mean the ones which I added at tools/options/VC++ Directories...?
Also I am getting several instances of the following error:
*********
C:\program...
Well... I checked the directory in which I received the source code etc. But it does not have any .lib files in it. Any other ideas pls.
Thanks,
Emma Good
OK.. will look into it... BTW was doing some googleing... do u suppose I need to use bufferoverflow*.lib as well...? I am on V studio 2008 SP1.
Thanks,
Emma Good.
Hi,
I was able to solve the header file problem. But I am getting a few LNK errors. Any ideas pls:
***************
Linking...
ChSettings.obj : error LNK2019: unresolved external symbol...
OK, I will try that.
Thanks,
Emma Good.
Thanks for the reply. There is a device which reads data from sensors and passes them to a computer for storage etc. The device interfaces to the computer through a serial port. The windows...
I had searched the computer to find the files but the C++ compiler is not able to read the same. I wanted to know how to include the same through the compiler (Visual Studio)
Regards,
Emma .
Hello,
I am new to Visual C++ with MS Visual Studio. I was trying to debug a program when I got the error:
stdafx.h(15) : fatal error C1083: Cannot open include file: 'afxwin.h': No such file...
Hello,
I am new to Visual C programming and will need help pls. There is an application developed for windows which read data through serial port (COM1) and saves it in the computer. Presently,...