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

Search:

Type: Posts; User: OneEyeMan

Page 1 of 25 1 2 3 4

Search: Search took 0.13 seconds.

  1. Replies
    5
    Views
    535

    Re: How do I deal with this error?

    Hi, guys,
    I rolled back to the previous copy of the dbinterface.vcxproj and the project built successful.

    So, now, I would like to have everything in one directory: all object files and lib file....
  2. Replies
    5
    Views
    535

    Re: How do I deal with this error?

    Hi, guys,
    2 2kaud:
    Yes, it does. The problem is the extra vc_mswud after /NOLOGO in my build log which is not present in the project properties.

    Thank you.
  3. Replies
    5
    Views
    535

    How do I deal with this error?

    Hi, ALL,



    1>------ Build started: Project: dbinterface, Configuration: Debug Win32 ------
    1>Build started 5/29/2016 3:51:25 PM.
    1>InitializeBuildStatus:
    1> Touching...
  4. Replies
    10
    Views
    690

    Re: How to call SQLTables()/SQLColumns()?

    OK, I did end up creating extra connection handle and doing the call on it.

    Thank you for reading.
  5. Replies
    10
    Views
    690

    Re: How to call SQLTables()/SQLColumns()?

    Hi,

    Please note:
    1. I'm not working the database directly, but from the C++ program.
    2. I'm not stuck on the MS SQL Server - the program might connect to MySQL/Oracle/Sybase/Informix/anything...
  6. Replies
    4
    Views
    318

    Re: MSDN code is incorrect?

    Thank you for confirming it is a bug.



    Can you name one that can be used cross-platform and cross-database?

    Thank you.
  7. Replies
    4
    Views
    318

    MSDN code is incorrect?

    Hi, ALL,
    The code sample at this link contains an error:


    void printStatementResult(SQLHSTMT hstmt)
    {
    int bufferSize = 1024, i;
    SQLRETURN retCode;
    SQLSMALLINT numColumn = 0,...
  8. Replies
    10
    Views
    690

    Re: How to call SQLTables()/SQLColumns()?

    Well, I guess I can just create a new connection. Especially since it shouldn't fail as I'm already connected.

    But its weird, since I just should be able to retrieve the info about the...
  9. Replies
    10
    Views
    690

    Re: How to call SQLTables()/SQLColumns()?

    But then I will need to call SQL{Driver}Connect() second time...

    Is there an easier solution?

    Thank you.
  10. Replies
    10
    Views
    690

    Re: How to call SQLTables()/SQLColumns()?

    VictorN,
    The error was:

    "Database is busy with another cursor"

    Pseudo-code:



    res = SQLTables( m_hstmt, NULL, 0, NULL, 0, NULL, 0, NULL, 0, );
  11. Replies
    10
    Views
    690

    SOLVED: How to call SQLTables()/SQLColumns()?

    Hi, ALL,
    I'm trying to get the information about the database (I'm using MS SQL Server for testing).

    First I called SQLTables(), and then tried to call SQLColumns() to get the information about...
  12. What is the easiest way of calling mangled function cross-platform?

    Hi, ALL,
    Consider following piece of code:




    #ifdef WIN32
    class __declspec(dllexport) Base
    #else
    class Base
  13. Replies
    9
    Views
    700

    Re: Memory corruption tool for MSVC

    Already did. The size is 1698K and it still big.

    Thank you.
  14. Replies
    9
    Views
    700

    Re: Memory corruption tool for MSVC

    2kaud,
    I have an MFC application that works to prove that allocating memory in DLL and releasing in main application works OK.
    Unfortunately even after archiving it still too big to post here as an...
  15. Replies
    9
    Views
    700

    Re: Memory corruption tool for MSVC

    Hi,


    Well, even if I try to load DLL again and delete the pointer, it still crashes. So I do need the tool to find out the cause.

    Thank you.
  16. Replies
    9
    Views
    700

    Memory corruption tool for MSVC

    Hi, ALL,
    I'm trying to create an application with MSVC 2010 Pro.
    Unfortunately the application crashes.

    I tried to recreate the problem by creating simple console application or simple MFC-based...
  17. Replies
    1
    Views
    424

    Asynchronous call

    Hi,
    In order to put the file into Trash I have to call SHFileOperation.But this call is synchronous which means I will have to wait until the operation finishes.

    Is there an asynchronous call...
  18. Replies
    2
    Views
    392

    Re: ODBC COnfiguration issue

    Igor,
    I'm passing (SQLWCHAR *) to the function.

    So let me try with LPCSTR...

    Thank you.
  19. Replies
    2
    Views
    392

    ODBC COnfiguration issue

    Hi,
    I am trying to call SQLConfigDataSource() in my program, but apparently I receive the following:



    This is the code:



    wcscpy( buf, L"Driver = " );
  20. Replies
    1
    Views
    321

    File Open dialog problem

    Hi,
    I have a laptop which I use for development. It is connected to my local network (P2P connection thru the Windows sharing, no server).
    Since it is a laptop, I can take it with me anywhere I...
  21. Replies
    10
    Views
    1,274

    Re: Double/wavy underline

    Hi, Igor,
    Sorry for the late reply.
    Looking at the link you provided I see this:



    So what can I use for RichEdit 1+?

    Thank you.
  22. Replies
    1
    Views
    437

    Column autosizing in the ListView

    Hi, ALL,
    The ListView has the possibility to autosize the column based on the content of it with the "LVSCW_AUTOSIZE" flag.
    However the "Header Control" that is used by ListCtrl/ListView does not...
  23. Replies
    10
    Views
    1,274

    Re: Double/wavy underline

    OvidiuCucu,


    Thank you. I will look at this for more details later.
  24. Replies
    10
    Views
    1,274

    Re: Double/wavy underline

    Thank you OReubens.
  25. Replies
    10
    Views
    1,274

    Re: Double/wavy underline

    Hi,


    This is unfortunate. I was hoping that there some way to make it work from the "font" perspective, just like in GTK+/Cocoa. :(

    Do you have any example how do I achieve such functionality....
Results 1 to 25 of 607
Page 1 of 25 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


HTML5 Development Center