Search:

Type: Posts; User: zmfcat

Search: Search took 0.00 seconds.

  1. Replies
    47
    Views
    23,336

    Just a follow up to comment #44, teh above...

    Just a follow up to comment #44, teh above warning is thrown on the line
    iIndex2 += strlen(params[iIndex1])+ 1;
  2. Replies
    47
    Views
    23,336

    Hi Bob I used the createMultiString snippet...

    Hi Bob
    I used the createMultiString snippet posted in comment #34, I have no issues on 32-bit compilation, but it throws me some warnings on 64-bit compilation, I see the below. Is there a...
  3. Replies
    47
    Views
    23,336

    Hi all, Thanks for your help, I was able to get...

    Hi all,
    Thanks for your help, I was able to get things working. Posting the code snippet, which might help someone.

    count is the number of data values found in the registry string.


    int...
  4. Replies
    47
    Views
    23,336

    Hi all, reposting because of some typos I have...

    Hi all, reposting because of some typos

    I have a string array with the following data
    AAA BBB CCC DDD
    and I want to copy all the above data except BBB to another string array. I have the below....
  5. Replies
    47
    Views
    23,336

    Hi all, another follow up question I have a...

    Hi all, another follow up question

    I have a string array with the following data
    AAA BBB CCC DDD
    and I want to copy all the above data expect BB to another string array. I have the below....
  6. Sorry, below is what I have. int...

    Sorry, below is what I have.



    int remBBB(char *inputarray[], char *outputarr[], int count)
    {
    printf ("In remBBB\n");
    int x=0;
    int count1=0;
    char value[MAX_PATH]={NULL};
  7. How to copy one string array to another excluding one string

    Hi

    I have a string array with the following data
    AAA BBB CCC DDD
    and I want to copy all the above data expect BB to another string array. I have the below. inputarray is my source string array...
  8. Replies
    47
    Views
    23,336

    Hi all Just a follow up to my earlier post, this...

    Hi all
    Just a follow up to my earlier post, this is how tmp2 is being passed to RegSetValueEx



    sprintf(value11, "ValueName");...
  9. Replies
    47
    Views
    23,336

    Hii all, Below are the latest modifications to...

    Hii all,
    Below are the latest modifications to my code, I believe the data has be written to tmp2
    using ptr1, but not sure whether I am returning things right, when I print the value of tmp2 its...
  10. Replies
    47
    Views
    23,336

    iMalc, I actually tried the approach that you...

    iMalc,
    I actually tried the approach that you suggested. But when I used RegSetValueEx to write to the registry, it writes just the first data value, not sure why. Thanks.
  11. Replies
    47
    Views
    23,336

    Actually I was able to use the code snippet in...

    Actually I was able to use the code snippet in comment #2, to retrieve data from the registry without the null terminators and have written it to params.

    >>You may want to consider possibly using...
  12. Replies
    47
    Views
    23,336

    Hi all Thanks for all your replies,...

    Hi all
    Thanks for all your replies, RegSetValueEx requires that we have the multi string in the right format before writing it out, i.e. AAA\0BBB\0CCC\0\0 and I am having issues doing this.
    ...
  13. Replies
    47
    Views
    23,336

    Thanks mat, I will try it out.

    Thanks mat, I will try it out.
  14. Replies
    47
    Views
    23,336

    Yes it was a cross posting. Sorry, But still do...

    Yes it was a cross posting. Sorry, But still do not understand the maxstrings part. In the below
    lpData is the data value and lpcbData is the size of the buffer. We do not know the number of actual...
  15. Replies
    47
    Views
    23,336

    what does the above "for" statement mean, also...

    what does the above "for" statement mean, also what is maxstrings? Thanks buddy!
  16. Replies
    47
    Views
    23,336

    I meant for(;;)

    I meant for(;;)
  17. Replies
    47
    Views
    23,336

    Couple of questions on the above snippet. What...

    Couple of questions on the above snippet. What does
    "for(;;) " mean, Also whats should i pass in for maxstrings? Thanks.
  18. Replies
    47
    Views
    23,336

    Thanks for the quick reply I have something like...

    Thanks for the quick reply
    I have something like this, my registry value is AAA and its data values are XXX BBB
    so it the registry it is like
    AAA REG_MULTI_SZ XXX BBB
    I believe when...
  19. Replies
    47
    Views
    23,336

    Reading REG_MULTI_SZ strings

    Hi
    I need some help on how to read data values from a REG_MULTI_SZ windows registry string. I understand that each data value is null terminated and there is a another terminator in the end. Thanks.
Results 1 to 19 of 20