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

Search:

Type: Posts; User: wind0965

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    2
    Views
    629

    Could someone help me?

    Could someone help me?
  2. Replies
    6
    Views
    723

    Well, you are right. But I am sorry to forget to...

    Well, you are right. But I am sorry to forget to mention that it is a programm for 16 bits microcontroller.
    Anyway, thank you very much.
  3. Replies
    6
    Views
    723

    Is it legal usage in C like: unsigned int...

    Is it legal usage in C like:
    unsigned int Cb2_superstate : 1;
  4. Replies
    2
    Views
    629

    about Declaration and Definition

    1. in C, we define a global variable in *.c file, e.g.:
    int myval;
    and then use "extern" to declare it as a global one in *.h:
    extern int myval;

    But what if I define it direct in *h as:
    int...
  5. Replies
    6
    Views
    723

    about boolean type

    I have one piece of code:

    typedef struct{
    unsigned int Cb11_defaultstate2 : 1; /* boolean type */
    unsigned int Cb10_basicstate2 : 1; /* boolean type */
    unsigned int Cb6_basicstate1 :...
  6. Replies
    6
    Views
    777

    But how many more bytes of stack do I need for...

    But how many more bytes of stack do I need for one application to avoid the crash? If there are some methods or mechanisms to estimate it?
    Thank you for the reply.
  7. Replies
    6
    Views
    777

    well, I don't know if it is necessary to reserve...

    well, I don't know if it is necessary to reserve some more bytes for the interrupts or something else. The 600 bytes I mentioned is exactly my program itself needs.
  8. Replies
    6
    Views
    777

    about stack size

    If my programm needs exact 600 bytes stack, can I just allocate 600 bytes for it? Will this causes stack overflow? Or some other problems?
    Thank you in advance.
  9. Replies
    0
    Views
    484

    about "GLOBAL"

    I has seen some code like following:

    /* global variables (RAM) */
    #define GLOBAL

    /* global variables which are fully optimizable (RAM) */
    #define OPT_GLOBAL GLOBAL

    /* external defined...
  10. Replies
    6
    Views
    1,268

    Thank you Peter, but why does the program do...

    Thank you Peter,
    but why does the program do like this?
  11. Replies
    6
    Views
    1,268

    question about data type conversion

    Hi, I have encountered some code like this:


    static Int32 Cb1_Chart_ev_ctr0 = 0;
    Int32 AUX_b_Int32;
    ... ...
    if ( Cb1_Chart_ev_ctr0 >= ((Int32)(UInt16)AUX_b_Int32) )
    ... ...
    if (...
  12. Thread: about Bitmap

    by wind0965
    Replies
    1
    Views
    465

    about Bitmap

    The problem is: I have the pixels information, how can I convert it into .bmp file? That is, how can I add the BMP-header to the pixels?

    Who has idea about it?
    Thank you in advance!
  13. Replies
    3
    Views
    617

    It is to convert one binary data (*.bin) into Hex...

    It is to convert one binary data (*.bin) into Hex and ASCII data, and show them in two different picture boxes(Form1.piceepromDisp and Form1.piceepromchr). See the attachment...
    One part of the code...
  14. Replies
    3
    Views
    617

    about LoadPicture()

    I have seen some code like:
    Form1.piceepromDisp.Picture = LoadPicture()

    The question is, the LoadPicture() takes no parameters, how can it show a picture? Is there any default picture buffer?
  15. Replies
    2
    Views
    558

    What is more, it is not to clear the picture. It...

    What is more, it is not to clear the picture. It does show something
  16. Replies
    2
    Views
    558

    about LoadPicture()

    I have seen some code like:
    Form1.piceepromDisp.Picture = LoadPicture()

    The question is, the LoadPicture() takes no parameters, how can it show a picture? Is there any default picture buffer?
    ...
  17. Thread: Text input

    by wind0965
    Replies
    1
    Views
    453

    Text input

    I would like to get text from .txt or .rtf file, and show it in somewhere of the webpage(ie). And it should be editable on the webpage. Maybe textarea is a good idea, but I can not realize it.
    Any...
  18. Thread: help

    by wind0965
    Replies
    1
    Views
    533

    help

    One project runs with 0 errors, 0 warnings. But after I move it to another place, it says: "LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use /NODEFAULTLIB:library"
    ...
  19. Replies
    2
    Views
    571

    How can I do with this error?

    The system cannot find the path specified.
    Error executing c:\winnt\system32\cmd.exe.


    thank you!
  20. what is the difference between malloc and alloc?

    what is the difference between malloc and alloc?
  21. Replies
    0
    Views
    382

    Who knows something about FOX?

    I am programming with C++ using Fox Tool-kit. The problem is, how to repaint one image(of type FXImage), after I use scale() of FXImage class.
    Thanks.
  22. Replies
    2
    Views
    606

    thank you. But it is better to use Inno.

    thank you. But it is better to use Inno.
  23. Replies
    2
    Views
    606

    how to hide the dialogbox of setup.exe

    When one starts the setup.exe, it does the Bootstrap, and show the dialog box of copying the Bootstrap files. Who knows how to hide this dialog box and place it with a customized one.

    And how to...
  24. Replies
    10
    Views
    7,201

    I have found the problem! The reason is: The VB...

    I have found the problem!
    The reason is: The VB calls one function in DLL, and the parameters are defined as integer in DLL, of course I defined these parameters as Integer in VB too. But this is...
  25. Replies
    10
    Views
    7,201

    Well, when I debug the DLL in VC++, it stops with...

    Well, when I debug the DLL in VC++, it stops with the error report I mentioned when the programm runs into the line: "100090E6 call @ILT+195(checkparam_4_Margin) (100010c8)", and when I...
Results 1 to 25 of 28
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured