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

Search:

Type: Posts; User: Arjay

Page 1 of 80 1 2 3 4

Search: Search took 1.34 seconds.

  1. Re: Regex Class library class declaration error ?

    Did you catch the part about not giving us links to external sites? We've requested this multiple times now. Not sure why you seem to be unwilling to honor our requests.
  2. Re: How do I update the Keys in the app.config file at runtime ?

    Are you sure the file doesn't update? Keep in mind the app.config file is located in the project folder but gets copied (and maybe renamed) to the project output folder during the build. So you need...
  3. Replies
    4
    Views
    464

    Re: Help in understanding the legacy code

    Limit the populate method to populate only one small representitive data set and then step through the code to inspect what you have. It might be that the folks that wrote this code expected a lot...
  4. Thread: I'm back!

    by Arjay
    Replies
    5
    Views
    1,084

    Re: I'm back!

    Where were you?
  5. Re: Error updating an ADO MODEL from a remote server

    Try connecting to the database from your local machine using SQL Server Management Studio. Once you can connect with SSMS then try again with the database wizard using the same credentials as SSMS....
  6. Replies
    6
    Views
    1,245

    Re: Display python script output into MFC window

    In my opinion you are on the wrong path here.

    If your app is MFC, you need to graph into a window that mfc has control over. Given this, having python run in a separate process and outputting a...
  7. Replies
    6
    Views
    1,245

    Re: Display python script output into MFC window

    The source is python getting output to a console, not a window.
  8. Re: Changing the coordinates where I want to draw my bitmaps onto?

    Search bing or google for "Win32 SetDIBitsToDevice example".
  9. Replies
    1
    Views
    1,263

    Re: Problem with try catch to show error message.

    You need to catch an Exception.



    catch(Exception ex)
    {
    MessageBox.Show($"Error! Message: {ex.Message}.");
    }
  10. Replies
    19
    Views
    2,180

    Re: Calling python from c++ in visual studio

    Good to hear you got it figured out. Btw, iirc you can still debug your code even when using release library dlls - you just can't step into the library code.
  11. Replies
    19
    Views
    2,180

    Re: Calling python from c++ in visual studio

    To debug, you need to separate the functioning of the python script from invoking the python script from C++. In other words, get the python script running properly by starting it from the command...
  12. Replies
    19
    Views
    2,180

    Re: Calling python from c++ in visual studio

    According to the docs, PyUnicode_FromString expects the contents of the sample.py file, not just the "sample" string.

    So it seems you will need to open the sample.py file, read its contents as...
  13. Replies
    1
    Views
    1,594

    Re: Problem to define correctly with writeln?

    You need to call CreateProcess on systeminfo directly, not on cmd.
  14. Replies
    2
    Views
    2,266

    Re: Windows crash logs

    Why not take charge and provide your own logging/error handling? If you take care of the error handling inside your app, the app will never crash (and Windows won't need to be involved).

    Help...
  15. Replies
    14
    Views
    3,056

    Re: Weirdness with ODBC API

    Have you ever seen the signs advertising office space, "If you worked from here, you would be home by now"?

    That's what coding up raw ODBC is like vs. using an ORM. Sure, there might be an initial...
  16. Replies
    14
    Views
    3,056

    Re: Weirdness with ODBC API

    Yes, but I expect it to be called in a loop with once per column. Not like the following code where the 2nd call eats the return call of the first:

    ret = SQLColumns();
    ret = SQLBindColumn();
    ret...
  17. Replies
    14
    Views
    3,056

    Re: Weirdness with ODBC API

    Why is SQLBindColumn called twice?
  18. Re: Changing value in variable from another called class

    What happens when you set some breakpoints and step through the code?
  19. Replies
    6
    Views
    1,224

    Re: MSDN: Documentation issue

    For older technologies, the ATL OLEDB Consumer classes are an order of magnitude improvement over the MFC db classes. They're lighter weight, easier to modify for schema changes, support multiple db...
  20. Replies
    6
    Views
    1,224

    Re: MSDN: Documentation issue

    People still use ODBC?
  21. Thread: C++ IDE Query

    by Arjay
    Replies
    5
    Views
    820

    Re: C++ IDE Query

    While this is technically true, learning this way leaves the programmer with a deficit (imo) - that is, with notepad a programmer can't learn the all too important skill of debugging. Understanding...
  22. Replies
    2
    Views
    663

    Re: Viewing breakpoints when NOT in Debug mode

    Or, the debug and output windows appear as tabs in the same pane.
  23. Replies
    19
    Views
    1,214

    Re: Template class inside a vector

    If you haven't used an Object Relational Mapper (ORM) before you may want to check it out. I see a few available for c++. If they are anything like the EF Core ORM for C#, they will build the...
  24. Replies
    5
    Views
    563

    Re: Libraries with the same function

    If using C++, use different namespaces.
  25. Replies
    4
    Views
    1,975

    Re: Stupid Things Developers Do

    Read posts by someone that wants to write an article.
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)