Search:
Type: Posts; User: wind0965
Search:
Search took 0.16 seconds.
-
April 22nd, 2004, 10:03 AM
-
April 22nd, 2004, 09:51 AM
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.
-
April 22nd, 2004, 03:41 AM
Is it legal usage in C like:
unsigned int Cb2_superstate : 1;
-
April 22nd, 2004, 03:39 AM
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...
-
April 22nd, 2004, 03:07 AM
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 :...
-
April 14th, 2004, 03:27 AM
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.
-
April 6th, 2004, 07:46 AM
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.
-
April 6th, 2004, 06:36 AM
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.
-
March 30th, 2004, 09:43 AM
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...
-
March 30th, 2004, 09:23 AM
Thank you Peter,
but why does the program do like this?
-
March 30th, 2004, 08:19 AM
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 (...
-
January 27th, 2004, 06:03 AM
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!
-
January 16th, 2004, 12:30 PM
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...
-
January 16th, 2004, 12:30 PM
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?
-
January 16th, 2004, 11:42 AM
What is more, it is not to clear the picture. It does show something
-
January 16th, 2004, 11:30 AM
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?
...
-
January 13th, 2004, 06:54 AM
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...
-
December 3rd, 2003, 06:19 AM
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"
...
-
December 3rd, 2003, 04:51 AM
The system cannot find the path specified.
Error executing c:\winnt\system32\cmd.exe.
thank you!
-
December 1st, 2003, 12:37 PM
what is the difference between malloc and alloc?
-
November 19th, 2003, 12:14 PM
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.
-
November 17th, 2003, 10:37 AM
thank you. But it is better to use Inno.
-
November 17th, 2003, 09:02 AM
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...
-
November 13th, 2003, 05:50 AM
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...
-
November 12th, 2003, 08:01 AM
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...
|
Click Here to Expand Forum to Full Width
|