Type: Posts; User:
Then how to make it work with Word 2007, 2010 and 2013? Does these Word provides type libraries and I can import them with Class Wizard as well?
I am reading the article http://msdn.microsoft.com/en-us/library/office/aa155776(v=office.10).aspx . I am just curious if I using Visual Studio Class Wizard to create MFC class based on Microsoft...
I write a small application and using the following API to open the file:
hHandle = CreateFile(lpszFileName, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE,
The ATL OLEDB cusumer class seems must to be bound with a given data source. While my application will open and access the data source dymanically.
First of all, the CodeProject classes are not compatible with Unicode. After making necessary modifications, I rebuild it but get more compiler errors under VS2008(such as ambiguous calls to...
I am looking for a good C++ encapsulation class for ADO. Just like CDatabase/CRecordset for ODBC and CDAODatabase/CDAORecordset for DAO. It is better to have a CADODatabase/CADORecordset for...
April 24th, 2013
I have a ULONGLONG variable uDate which express the number of dates starting from 0001-01-01, up to 9999-12-31. Now I want to convert it into a string like this
April 22nd, 2013
Yes, task manager can show the memory used by the my application in real time. However, since my app will run for 24 hours, it is impossible for me to look at the memory usage for all the time. That...
April 21st, 2013
I use Visual C++ to write a native C++ application. How to know the maximum memory it will use during its execution?
No. We have never used SkinCrafter, others recommend us using Qt Library and we find it is powerful and free.
September 22nd, 2012
I create a Visual C++ 2008 project in my computer, then set the debugging settings for the project, including the "Command" and "Working Directory". However, after I copy all the project directory to...
September 18th, 2012
Originally we are thinking of using CodeJock Toolkit to implement the Skin
of our app. However, after sending several support requests to CodeJock,
none of them are replied. So we are...
September 11th, 2012
I am searching for website with a list of free and commercial components and controls for VC and Delphi development. I know some of them, such as
January 4th, 2012
Under 64bit Windows 7, I want to start a 64bit executable(myapp64.exe) from a 32bit executable(myapp32.exe). Can I use CreateProcess, ShellExecute or ShellExecuteEx functions in myapp32.exe to do...
November 26th, 2011
I have a MSDN subscription account, and I notice there are several downloads for Visual Studio 2008, as follows:
(1) Visual Studio Team System 2008 Team Suite (x86) - DVD (English)
November 22nd, 2011
I want to write a VC 2008(MFC) app to create a SQL Server database, then create a data table inside it, and then add some records to the table. I am using SQL Server 2008. I want to know which...
November 2nd, 2011
November 2nd, 2011
I define a CObject derived class called CMyClass, as follows:
class CMyClass : public CObject
Then I define two DLLs, DLL1.dll and DLL2.dll
November 1st, 2011
Thank you for your explanation.
Yes, my project is using MFC as static library. But I am very confused. Why a static MFC library will prevent me from dumping object, while I am still in DEBUG...
October 31st, 2011
I just use #ifdef _DEBUG/#endif to bracket call to dc << m_File; and I am just in debug status when seeing that error message.
October 30th, 2011
In VC++ 2008, when I define a CFile object m_File and then want to dump its contents, as follows:
dc << m_File;
where dc is the dump context object.
I will get the following error in...
October 26th, 2011
I want to write a C++ class, like this:
int MyFun(int a, int b);
February 6th, 2011
Can I use Windows API ::LoadString to load the string resource, as follows?
const CString LoadStringResource(const UINT nID)
int nSize, nCopy;
const int SIZE_INC = 256;
February 6th, 2011
I want to load a string resource when app is started. So I initialize a global variable like this
CString g_strMyStr((LPCSTR)IDS_MYSTR); // IDS_MYSTR is a string resource ID
But when starting...
December 6th, 2010
I wonder if there are any faster ways to read the raw data on disk/drive under Windows.
Currently I am using Windows API CreateFile:
Click Here to Expand Forum to Full Width