CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: AlanCCC

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    171

    Re: Compatibility of MFC-based Automation?

    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?
  2. Replies
    5
    Views
    171

    Compatibility of MFC-based Automation?

    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...
  3. Replies
    4
    Views
    226

    Problems in Passing File Handle to DLL

    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,
    NULL,...
  4. Replies
    7
    Views
    246

    Re: C++ encapsulation class for ADO

    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.
  5. Replies
    7
    Views
    246

    Re: C++ encapsulation class for ADO

    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...
  6. Replies
    7
    Views
    246

    C++ encapsulation class for ADO

    Hi,

    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...
  7. Process wider date range than COleDateTime

    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

    ‘yyyy-mm-dd’.

    However, the...
  8. Replies
    5
    Views
    220

    Re: Get maximum memory usage of My App

    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...
  9. Replies
    5
    Views
    220

    Get maximum memory usage of My App

    I use Visual C++ to write a native C++ application. How to know the maximum memory it will use during its execution?

    Thanks
  10. Replies
    2
    Views
    518

    Re: Anyone use SkinCrafter?

    No. We have never used SkinCrafter, others recommend us using Qt Library and we find it is powerful and free.
  11. Debug settings lost after Migrating VS2008 project to another computer

    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...
  12. Replies
    2
    Views
    518

    Anyone use SkinCrafter?

    Hi,

    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...
  13. Website with Development Components and Controls

    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

    http://www.componenetsource.com...
  14. Replies
    3
    Views
    1,243

    Start a 64bit app from a 32bit app?

    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...
  15. Replies
    1
    Views
    618

    Relationship between VS2008, MSDN and SP1

    Hi,

    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)
    (2)...
  16. Replies
    3
    Views
    497

    Use VC 2008 with SQL Server 2008?

    Hi,

    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...
  17. Re: CFile::Dump causes "Unable to dump object in static release builds" error

    Thank you so much!
  18. Pass CObject derived class between DLL calls

    Hi,

    I define a CObject derived class called CMyClass, as follows:

    class CMyClass : public CObject
    {
    ..
    }

    Then I define two DLLs, DLL1.dll and DLL2.dll
  19. Re: CFile::Dump causes "Unable to dump object in static release builds" error

    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...
  20. Re: CFile::Dump causes "Unable to dump object in static release builds" error

    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.
  21. CFile::Dump causes "Unable to dump object in static release builds" error

    Hi,

    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...
  22. How to disclose class interface but hide implementation

    I want to write a C++ class, like this:

    In MyClass.h:

    class CMyClass
    {
    public:
    CMyClass();

    int MyFun(int a, int b);
  23. Re: Load a string resource automatically when app is started?

    Can I use Windows API ::LoadString to load the string resource, as follows?

    const CString LoadStringResource(const UINT nID)
    {
    CString str;
    int nSize, nCopy;
    const int SIZE_INC = 256;
    ...
  24. Load a string resource automatically when app is started?

    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...
  25. Faster way to read the raw data on disk/drive

    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:

    CreateFile("\\.\PHYSICALDRIVE2", ...)

    and
    ...
Results 1 to 25 of 30
Page 1 of 2 1 2



HTML5 Development Center

Click Here to Expand Forum to Full Width