This will be a long process, so thanks to everyone from the beginning.
Years ago (2007) I developed an app to the beta stage, I used Lcc-Win32 as a development environment. I chose Lcc because it was a free Win32 development environment, and I wanted to know what MS Developer did in the background.
The project progress to the point that I was ready to beta test.
Well here I am seven years later, and I want to revive the project, this time using Studio 2010.
I have a lot of code using handles for arguments to functions;
BOOL SetItemTxt(HWND hwnd, int ID, LPTSTR Text);
BOOL GetPortConfig(HANDLE hCOM, TCHAR *tcBaud, TCHAR *tcParity, TCHAR *tcStopBits, TCHAR *tcByteSize);
BOOL SetPortConfig(HANDLE hCOM, TCHAR *tcBaud, TCHAR *tcParity, TCHAR *tcStopBits, TCHAR *tcByteSize);
BOOL GetPortTimeOuts(HANDLE hCOM, COMMTIMEOUTS *lpcCOMPortTimeOuts);
BOOL SetCOMTimeouts(HANDLE hCOM, COMMTIMEOUTS &commTimeouts);
DWORD WriteToCOMPort(HANDLE hCOM, char *pszWriteBuffer);
DWORD ReadFromCOMPort(HANDLE hCOM, TCHAR *tcRecdData, int nBytesToRead);
HANDLE OpenCOM(TCHAR *tcCOMPort);
LPTSTR GetItemTxt(HWND hwnd, int ID);
LRESULT GetCOMPorts(HWND hwnd);
I also have a Dialog box created with Studio 2010, and one of the many, many, many errors I receive are;
c:\....\visual studio 2010\projects\mydialog solution\mydialog project\mydialog project.cpp(85): error C2065: 'hwndDlg' : undeclared identifier
I don't understand how to use my existing code (there's a lot of handles), or as much as possible, with Studio.
I look at this link, but it seemed to reveal nothing.
http://msdn.microsoft.com/en-us/library/vstudio/c251x6s1%28v=vs.100%29.aspx[
^]
Please help...
Thanks in advance.
PS I have a job and family, so please be patient I may not reply right away.