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

Search:

Type: Posts; User: pcuong1983

Search: Search took 0.02 seconds.

  1. Re: [Microsoft][SQL Server Native Client 10.0]String data, right truncation

    Thank Paul McKenzie,
    I have corrected my __get_error method and My problem is SQLBindParameter function with String (input type)



    Thank VictorN, I followed your link and i sure all args of...
  2. Re: [Microsoft][SQL Server Native Client 10.0]String data, right truncation

    Hi VictorN,
    1.Which line causes this error (What kind of exception do you catch? Where and how?)



    #ifdef _UNICODE
    typedef std::wstring tstring;
    typedef wchar_t tchar;
    #else
    typedef...
  3. [Microsoft][SQL Server Native Client 10.0]String data, right truncation

    Hi all,
    I wrote my own SQLDatabase class base on TinyODBC class, and i have problem with my SQLPreparedStatement::SetString method.

    In my app, i construct new instance of SQLPreparedStatement...
  4. Replies
    14
    Views
    7,578

    Re: ComboBox + LPWSTR

    I got it, Thank you CodePlug. I also thank Paul McKenzie
  5. Replies
    14
    Views
    7,578

    Re: ComboBox + LPWSTR

    VictorN :)

    What about


    how to use CBEM_SETUNICODEFORMAT and When to use CBEM_SETUNICODEFORMAT ?
  6. Replies
    14
    Views
    7,578

    Re: ComboBox + LPWSTR

    wcstombs_s return EILSEQ


    Here i got from step by step debug:

    Thank you!
  7. Replies
    14
    Views
    7,578

    Re: ComboBox + LPWSTR

    Thank you all,

    My project is extend from old project that set MBCS. If i change it to MBCS then i have to change thousand line codes too.

    [egawtry]


    size_t size;
    CHAR szString[256];...
  8. Replies
    14
    Views
    7,578

    ComboBox + LPWSTR

    Hi,

    I have MFC project, with character set is Multibyte. I want to put Unicode string into CComboBox.
    I have done follow code.


    CStringW strWText = L"Quảng Trị";
    nIndex =...
  9. Replies
    1
    Views
    1,524

    Buddy Control

    Hi all,
    I have found a great C++ code for "Insert Buddy Button into Edit Control".
    I want to convert to C# code but I still new in C#, Can anyone convert it ?

    Please take a look at my...
  10. Replies
    12
    Views
    2,834

    Re: c++ recursive class

    Hi,
    First of all, You should take a look at http://w3schools.com/xml/xml_tree.asp
    "XML documents must contain a root element. This element is "the parent" of all other elements..."

    As Xml...
  11. Replies
    12
    Views
    2,834

    Re: c++ recursive class

    :D
    Your source code (prova_tinyxmlDlg.cpp) still missing implement documentTinyXML::Node(..)
    Please complete implementation and rebuild your project
  12. Replies
    12
    Views
    2,834

    Re: c++ recursive class

    Hi,
    This error: "error LNK2019: unresolved external symbol .. " said
    Linker could not find and definition of "documentTinyNode::GetAttribute" (for example)
    Take note in your documentTinyNode...
  13. Replies
    3
    Views
    1,287

    Re: MFC samples won't build

    For each Visual C++ Sample that downloads from MSDN website, U must setup build configuration first.
    In Build menu, select Batch Build and chose your build in Build column
  14. Replies
    8
    Views
    21,301

    Re: CoInitialize has not been called

    Thanks you
  15. Replies
    8
    Views
    21,301

    Re: CoInitialize has not been called

    Can you give me more information about CoInitialize/CoUnInitialize in Thread ?

    i tried to add CoInitialize at the begining of my thread function. It look like



    UINT ThreadFunc(LPVOID...
  16. Replies
    8
    Views
    21,301

    Re: CoInitialize has not been called

    Yeah, I used Worker thread in my project.
    I have att my project with this post
    You can see my code there and please tell me what is the problems with my code.
  17. Replies
    8
    Views
    21,301

    Re: CoInitialize has not been called

    i have followed ur help and add both CoInitialize, CoUnInitialize function into CBasicReportApp::InitInstance() and CBasicReportApp::ExitInstance() but till got the same problem

    First-chance...
  18. Replies
    8
    Views
    21,301

    CoInitialize has not been called

    Hi all,
    I got problem with my project

    First-chance exception at 0x75669617 in BasicReport.exe: 0x800401F0: CoInitialize has not been called.
    Warning: constructing COleException, scode =...
  19. Re: Why my operator

    uhm
    Missing command



    ostream &operator<<( ostream &sout, const A &a )
    {
    sout << "Record: " << a.sRecord << endl;
    return sout;
    }
  20. Re: Why does my property sheet has disappeared immediately?

    It works!
    Thank so much :)
  21. Why does my property sheet has disappeared immediately?

    I have a dialog based application named: basicreport
    and created
    one dialog called: CExternalDataDlg ,
    3 property page called: CImportPage, COptionPage, CConfirmPage
    and 1 property sheet named:...
Results 1 to 21 of 21





Click Here to Expand Forum to Full Width

Featured