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

Search:

Type: Posts; User: ideru

Page 1 of 72 1 2 3 4

Search: Search took 0.11 seconds.

  1. Re: Thread Performance Improvement (A little Advice Please)

    So I'm trying to apply some of the advice here and this is what I came up, still having problems so please understand still learning as I go through with this.

    I created thread to specifically...
  2. Replies
    4
    Views
    4,094

    Re: BackgroundWorker Component

    I had 2 File Pointers, and the one that was supposed to be use was created and checked if NULL. File is create and opened successfully, but during the write operation I used the other variable,...
  3. Replies
    4
    Views
    4,094

    Re: BackgroundWorker Component

    It me took awhile to figure it out isolating each variable but it seems that the culprit was the global file pointer I was using. It was null, so of course it crashed :rolleyes:
  4. Replies
    4
    Views
    4,094

    BackgroundWorker Component

    I found this article

    https://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker.aspx

    and tried it in my current application.

    My backgroundworker will do file saving...
  5. Replies
    3
    Views
    1,212

    Re: No Output String

    It's finally showing.

    Here is what I did

    Right Click on Project -> Property -> Debug
    Change the Debug Type to "Native Only"
    Default was "Automatic".

    Logs are displaying now.
  6. Replies
    3
    Views
    1,212

    Re: No Output String

    I have a Form with buttons on it, so running on IDE.

    the code is very simple. I was just testing the button event and checking if the data were receive thus the debug String.

    so onMyButton...
  7. Re: Thread Performance Improvement (A little Advice Please)

    Sorry for the late response. I was working on something else but now I'm back on this again.

    2kaud : I'm using C++ 2008 Express Edition

    So right now we ( I ) will be reconstructing this code....
  8. Replies
    3
    Views
    1,212

    [RESOLVED] No Output String

    It's been more than 8 years since I last coded in VC++ so I'm back to being newbie again.

    I've been trying to create an output string in my application using OutputDebugString, cout, printf but...
  9. Re: Thread Performance Improvement (A little Advice Please)

    Thank you very much for all your wise and intelligent suggestion/explanations :)
    D_Drmmr : I'm currently using Visual C++ 2008 Express Edition

    VictorN: Thanks for that steps and article. I run...
  10. Thread Performance Improvement (A little Advice Please)

    I'm working on how to improve a multi-threading application, hopefully I can, so I need a litle bit of advice from all the guru here.
    The program has 2 Main worker Threads:
    Thread A: Transceiver...
  11. Replies
    2
    Views
    2,300

    Browsing Media Server Content

    I am currently playing around with uPnp. I made a small Control Point program to check the content of the selected media server.

    I was finally able to connect to the server but I don't know what...
  12. Replies
    4
    Views
    1,193

    Re: String Parsing in C

    @ olivthill2 , thanks for the tip. strcspn , gave me the correct position of the character. I was not able to include it in the post, but the temporary variable "tmp" was initialized using memset and...
  13. Replies
    4
    Views
    1,193

    String Parsing in C

    It has been a while since I did some parsing in C, so I am trying to get it all back :o

    I have a specific string that I need to parse. Basically get the specific string of length M starting at...
  14. Replies
    2
    Views
    1,436

    Re: Network Connection Test

    hello. I want to do a connection test on DHCP.

    I am trying to execute the following function:

    ifdown eth0
    ifup eth0

    then afterwards check if connection to DCHP server was successful. I...
  15. Replies
    2
    Views
    1,436

    Network Connection Test

    I am doing a network connection test program but I have no idea how to do the DHCP.

    For dns, gateway I am using ping command called by popen.
    For DHCP , i was told to to a dhcp...
  16. Replies
    3
    Views
    874

    Re: Segmentation Fault using STL

    try it like this:



    void print()
    {
    vector<New_class>::iterator it;

    for( it = tp2.begin() ; it < tp2.end(); it++ )
    {
  17. Replies
    0
    Views
    419

    [RESOLVED] Select Free MTD block

    I am trying to mount our wi-fi driver on one of the mtd, if possible dynamically.

    So my question is , Is there a way to know which of the mtd in /dev/mtdX currently free? :confused:
  18. Replies
    0
    Views
    761

    Print Progress Dialog Must not be displayed

    Hello Everyone, I kinda lost already at what I am doing

    Here is the situation:

    I need to display document in word format or print it programmatically.

    Right now displaying and printing is...
  19. Replies
    2,341
    Views
    2,831,281

    Sticky: Re: CG members photo album

    wow.. congrats peej
    and congrats hannes..

    lots of happiness guys..
  20. Replies
    5,488
    Views
    944,076

    Re: The "last one to post on this thread wins" Thread

    omg this thread is still alive?? and i'm posting in it..

    need to finish my sql query.. darn , i hate it..
  21. Replies
    7
    Views
    3,457

    Re: SQL: Secondary Sorting

    basically you want to rank your data based on the number of access right..

    This might be a bit of help:
    http://weblogs.sqlteam.com/jeffs/archive/2007/03/28/60146.aspx
  22. Replies
    3
    Views
    1,010

    Re: Oracle how to get this result?

    I can't look at your sql but I assume that for each dealer code you can have only one dealer name right?

    then use group by dealer code and compute what you need to compute
    check the example here:...
  23. Replies
    18
    Views
    6,401

    Re: O(log n) algorithm

    If you look closely, the sample code that seeguna posted is actually a binary search code :)
  24. Replies
    18
    Views
    6,401

    Re: O(log n) algorithm

    oh okay my bad, you did not suggest a BST ..:rolleyes:

    but its good the OP can now have some options on how to solve the problem ..
  25. Replies
    3
    Views
    1,596

    Re: Filterning Input Length

    as I have mentioned the DocumentFilter works well if the character encoding is ROMAN Letters.

    the problem is when the input FULL_WIDTH, JAPANESE CHARACTERS.

    example you have the same string...
Results 1 to 25 of 1795
Page 1 of 72 1 2 3 4





Click Here to Expand Forum to Full Width

Featured