Search Results - CodeGuru Forums
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
    2
    Views
    237

    How to reduce the size of an object

    I am using Visual C++ to write an app. I write CMyObject class and may allocate a lot of instances of CMyObject object, so I want to reduce the size of CMyObject class.

    What I can figure out to do...
  2. Replies
    3
    Views
    220

    Store some variables in disk

    Hi,

    I am using Visual C++ to write an app. One problem is that the application will allocate a lot of object instances of a specific class CMyObject, maybe 400, 000. This will cause “Out of...
  3. How to use ATL 7.0 string conversion macros?

    I have a problem in using ATL 7.0 string conversion macros.

    My codes looks like this, which uses ATL 3.0 string conversion macros in the past:

    Void Myfunc()
    {
    USES_CONVERSION;

    LPSTR lpszA;...
  4. SEH hanlder cause compiler warnings and errors

    I use a SEH handler in my code, like this:
    __try
    {
    .. Some codes ...
    }
    __except(
    EXCEPTION_EXECUTE_HANDLER
    )
    {
    TRACE(_T("Exception"));
  5. Whether 0xFFFF is a valid Unicode character?

    Hi,

    I just wonder whether 0xFFFF is a valid Unicode character.

    When I using the following code:

    CStringW strTempW;
    CString strTemp1;
    INT_PTR nLen;
  6. Replies
    5
    Views
    472

    Re: Preallocate memory for CByteArray

    If I using the following codes:

    CByteArray Buf;

    Buf.SetSize(65536); // preallocate buffer

    ...

    ...
  7. Replies
    5
    Views
    472

    Preallocate memory for CByteArray

    Hi,

    I am using CByteArray as a buffer in Visual C++. I want to preallocate nSize memory for for CByteArray, so that later when I try to change the buffer, by calling SetSize, Add, Remove, etc., as...
  8. How to know if a VS2008 project supports multithread or not?

    Hi,

    I get a VC2008 project with full source. How to know whether it supports multithread or not? I think as long as the “Runtime Library” under “C/C++” - “Code generation” category is set to...
  9. Determine the type in the function template

    Hi,

    I want to detect the type in a function template, like this:

    template <class myType> myType Function (myType a, myType b) {

    // Detect the myType
    If (myType is int)
    {
  10. How to convert UTF-8 string to Unicode string

    I am using Visual Studio 2008. I just wonder if there are any library function in Windows SDK or MFC, or from third-parties, that can convert a UTF-8 string into Windows Unicode string(used in...
  11. Simple Web-based Teamwork Publishing System

    Hi,

    I am looking for a simple web-based teamwork publishing system, to trace the bugs of my software project.

    The system should:

    1. Be hosted on our webserver
    2. All the members of a...
  12. Replies
    2
    Views
    367

    Debug-only AfxMessageBox

    Hi, I am looking for a function like AfxMessageBox, but will only available in Debug Version, to display some error messages. I have thought of TRACE, but it will only dump the error message in the...
  13. Replies
    5
    Views
    695

    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?
  14. Replies
    5
    Views
    695

    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...
  15. Replies
    4
    Views
    665

    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,...
  16. Replies
    7
    Views
    640

    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.
  17. Replies
    7
    Views
    640

    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...
  18. Replies
    7
    Views
    640

    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...
  19. 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...
  20. Replies
    5
    Views
    529

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

    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
  22. Replies
    2
    Views
    885

    Re: Anyone use SkinCrafter?

    No. We have never used SkinCrafter, others recommend us using Qt Library and we find it is powerful and free.
  23. 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...
  24. Replies
    2
    Views
    885

    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...
  25. 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...
Results 1 to 25 of 42
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center