Search:

Type: Posts; User: Paderi

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. EnableMenuItem problem

    Following code:

    EnableMenuItem(GetSystemMenu(hwnd, FALSE), SC_CLOSE, MF_BYCOMMAND | MF_DISABLED);

    Produces this error:

    'hwnd'was not declared in this scope

    Can someone please help to...
  2. Thank youSchol-R-LEA-2...

    Thank youSchol-R-LEA-2 I triedto include a screenshot of the compiler message, but the forum system disallows it.

    "hwnd was not declared in this scope" seems to be the essence of it all. Further...
  3. Yes, I should have done that. "To date, you've...

    Yes, I should have done that. "To date, you've posted ZERO code and ONE error message." Yes? I always try and sort things out myself, before bothering other people. And when I do, I do not expect to...
  4. G4143 I agree absolutely and unreservedly with...

    G4143 I agree absolutely and unreservedly with you.
  5. A forum is there to help others who are less...

    A forum is there to help others who are less proficient / who know less. Responding to a perfectly decent request for help, by telling the other person he is a looser, because he doesn't know...
  6. It looks like you are a little arrogant man...

    It looks like you are a little arrogant man because you know something and want to wank your ego with it.
  7. I compiled the code in another compiler. Error...

    I compiled the code in another compiler.
    Error message as follows:

    37 32 E:\SEARCH\Search.cpp [Error] 'hwnd' was not declared in this scope
  8. Nope

    Nope
  9. Re your code to get rid of the close(x) button:...

    Re your code to get rid of the close(x) button: the compiler doesn't like it. No reason given. (My CodeBlocs doesn't give reasons.) Bur thank you anyway.
  10. Getting rid of the standard red close(x) button in a Windows application

    In the output screen, top right hand corner of a windows application, there is the red standard close(x) button. In my application I need to get rid of it. How can that be done? Hopefully someone can...
  11. "No, a is an array of 6 float elements. But when...

    "No, a is an array of 6 float elements. But when it is passed as an argument to summate, it is converted to a pointer to its first element." ---> When I park my car where it is not allowed and a...
  12. In the code example where I show alternative...

    In the code example where I show alternative parameters (that all work), the parameter is a pointer.
    In "summate(a)" the 'a' is a pointer to the first element of 'array a'. But "&a[0]"will also work...
  13. Laserlight, I would like to thank you very much...

    Laserlight, I would like to thank you very much for your insight giving responses!
  14. Laserlight, I am immensely grateful for your...

    Laserlight, I am immensely grateful for your response. I need a few things out of the way before I can digest it. But prior to that:



    int main()
    {
    float result;
    float a[] = {23.4, 55,...
  15. This is my knowledge no more, no less. IF: int...

    This is my knowledge no more, no less.
    IF: int a, *p; a = 20; p = &a;
    printf("p : %x\n", p ); // shows address
    printf("*p : %d\n", *p ); //shows a
    The value of a pointer (p = &a)...
  16. Replies
    18
    Views
    13,254

    Ok. Have done.

    Ok. Have done.
  17. Re: Could someone please explain why all the...

    Re: Could someone please explain why all the alternatives work?

    What I am asking is, could someone please describe how the alternatives work? What actually happens and why, when the lines, that I...
  18. Could someone please explain why all the alternatives work?

    I am trying to get a better understanding of pointers.
    Could someone please explain why all the alternatives work?
    And are there any more alternatives?




    #include <stdio.h>
  19. Replies
    18
    Views
    13,254

    I looked around the Net extensively. There are an...

    I looked around the Net extensively. There are an incredible amount of posts on the issue. But zero solution. It makes you think Microsoft wants it that way.
  20. Replies
    18
    Views
    13,254

    I apologize for not responding to your previous...

    I apologize for not responding to your previous post. I did look up your reference and was overwhelmed.
    Net use produced all sorts of results like e.g., viz:
    What is the use of NET USE command?...
  21. Replies
    18
    Views
    13,254

    In the past, when Microsoft didn't yet have its...

    In the past, when Microsoft didn't yet have its claws on everything between the toilet of the programmer and the toilet of the end user, you could simply send something from the program you were...
  22. Replies
    18
    Views
    13,254

    Wanting to print to the printer from a c...

    Wanting to print to the printer from a c application seems to end you up in a deep Microsoft hole.
  23. Replies
    18
    Views
    13,254

    Thank you, Salem. for responding. I tried via...

    Thank you, Salem. for responding.

    I tried via network printing, and by connecting the printer to the PC. It looks like LPT is being accepted, nevertheless the printer isn't responding. I am no...
  24. Replies
    18
    Views
    13,254

    Further searching for answer

    I found the code below upon further searching for information, however, the code does not work: "error opening printer". Please help.



    int main(void)
    {
    FILE *prnt;

    prnt =...
  25. Replies
    18
    Views
    13,254

    This is very useful, thank you. Given: in...

    This is very useful, thank you.

    Given: in fputc(ch,stdout);

    I am wanting to use the code on a W10 box. I was hoping that it would be possible to redefine "stdout" as the default printer. Else...
Results 1 to 25 of 69
Page 1 of 3 1 2 3