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

Search:

Type: Posts; User: rick7423

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    281

    Re: Performance Tools wanted

    I am already using perfomance monitor (perfmon), but wanted to find something a little more detailed. the more metrics i can get the better. I have been looking at sysinternal but wanted to get...
  2. Replies
    6
    Views
    281

    Performance Tools wanted

    Can anyone suggest any good tools that can be used to monitor application performance? Specifically, I am looking for a thread, memory, CPU, and port monitor.

    Any suggestions? I want to monitor an...
  3. Replies
    4
    Views
    1,401

    Re: Allocating Heap Memory

    Thanks for your help. That works for this problem (it compiles at least, testing will tell for sure).
  4. Replies
    4
    Views
    1,401

    Allocating Heap Memory

    So far, you all have been a greate resource so I am asking one last question (hopefully).

    I am threading some database functions and am passing a struct via the CreateThread(...) function. No...
  5. Replies
    7
    Views
    1,245

    Re: syntax for thread that returns a value

    I also read these and also other threads referenced from MSDN before posting here. I was still confused on a couple issues, but I think MrViggy has pushed me in the right direction. I just need to...
  6. Replies
    7
    Views
    1,245

    Re: syntax for thread that returns a value

    Outstanding Mr. Viggy, I think that gave me the push I needed.
  7. Replies
    7
    Views
    1,245

    syntax for thread that returns a value

    Ok, I need to create a thread function uses the comm port that is passed a single parameter (char[16]), and it is to return a char * (LPSTR) value.

    I already have the comm port functionality...
  8. Replies
    7
    Views
    392

    Re: Form Refresh Issues

    Thanks for the help. Now I have to find out how to add this functionality.
  9. Replies
    7
    Views
    392

    Re: Form Refresh Issues

    Yes, that is what I am intending on doing now that the utility is stable as a single threaded app ("do one thing at a time, do it very well, then move on").

    This leads to another issue, if I make...
  10. Replies
    7
    Views
    392

    Re: Form Refresh Issues

    You are correct, my post was a little vague. Let's see if I can clarify a little.

    THis is a C/C++ V6 application using a common dialog. The dialog has several text fields on it that get populated...
  11. Replies
    7
    Views
    392

    Form Refresh Issues

    I hope this makes sense, so here goes:
    I have a form that runs in a loop. It uses comm ports, local and remote database lookups. When I start a process, I want to reflect certain information on the...
  12. Replies
    0
    Views
    301

    Create CD Image file, where to start

    I know there are packages available to create and mount CD image files, but I would like to try this myself. Can anyone point me to information or give any advise on where to start? I need any...
  13. Replies
    7
    Views
    1,029

    Re: mapping local disk folder to drive letter

    Thanks for yur help on this. Mapping to network drives is easy, I have been doing that for awhile now. Working with the local drives was a little more difficult but using the UNC path...
  14. Replies
    7
    Views
    1,029

    Re: mapping local disk folder to drive letter (SOLVED)

    SOLVED!!!

    I had to use WNetAddConnection2, and I also need to use the local drive default share UNC path like the following:

    c:\ has a default share of C$, if tyhe local machine name is...
  15. Replies
    7
    Views
    1,029

    Re: mapping local disk folder to drive letter

    I am trying to do this by using the code given by "VB_THE_BEST". If I wanted help with manually mapping a drive, I would have asked elewhere.

    When i use the WNetAddConnection method given (which I...
  16. Replies
    7
    Views
    1,029

    mapping local disk folder to drive letter

    I have VB 6.0 and need to map a folder on the local disk to a drive letter: i.e. c:\myapp\mydata would need to be mapped to e:\mydata.

    Mapping network shares is rather easy, but I cannot find out...
  17. Replies
    18
    Views
    876

    Re: string copy truncation

    actually, yes via the watch window!!! And yes, I am using version 6.

    let me dump it to a text file and see what that says...


    GAAAAK!!!
    The test log shows the entire string!!! It was the...
  18. Replies
    18
    Views
    876

    Re: string copy truncation

    Nice thought Ernst (:thumb:), but this also fails to work. Truncates at exactly same place!!!!


    _bstr_t sndSQL;
    sndSQL = ::SysAllocString(L"updatemachineData_h 'RKR...
  19. Replies
    18
    Views
    876

    Re: string copy truncation

    Since this _bstr_t( const char* s2 ) throw( _com_error ); throws a comm error, I tried this:


    _bstr_t sndSQL;
    try{
    _bstr_t ssql(cmdSQL);
    sndSQL = (L"updatemachineData_h 'RKR...
  20. Replies
    18
    Views
    876

    Re: string copy truncation

    Man I feel like a complete nub, I tried all of these suggestions and nothing so far makes any difference. The string is still truncated at the same place.

    I tried:


    _bstr_t sndSQL(cmdSQL);...
  21. Replies
    18
    Views
    876

    Re: string copy truncation

    No go...

    I used the
    _bstr_t sndSQL(cmdSQL);
    but the string is still truncated in the same location (original string length: 186, new string length 108, I counted the characters).

    I am really...
  22. Replies
    18
    Views
    876

    Re: string copy truncation

    Agh.. Thanks. I will give it a shot and see if that helps.
  23. Replies
    18
    Views
    876

    string copy truncation

    I have the following:

    char cmdSQL[256];
    int stLen = 0;
    stLen = sprintf(cmdSQL,"updatemachineData_h '%s','%s',%d,%d,'%s',
    '%s',%f,%f,%f,%d,%d,%f,%f,%f,%f,%f,'%s'",
    nbr1, nmid1, ntme, njdt,...
  24. Re: Retreiving return value from stored procedure in C++

    This is where I am confused, the SP uses the 'set nocount on' in order to suppress the "# records affected" messages. I am not even sure that this is needed, I am looking at examples and reading...
  25. Retreiving return value from stored procedure in C++

    I have a stored procedure on a MSSQL2K server that will perform 2 processes. I am doing a check of the processes and will return an int value which specifies whether the processes completed properly,...
Results 1 to 25 of 115
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width