Search:

Type: Posts; User: kybert

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: Flashing!

    by kybert
    Replies
    8
    Views
    2,146

    the clock() function is very slow and should be...

    the clock() function is very slow and should be avoided at all costs.

    Especilly if your looking to use the code in an embedded enviroment.
  2. Replies
    3
    Views
    1,088

    Some sugestions: 1/ Place a post-it over the...

    Some sugestions:

    1/
    Place a post-it over the corner of the screen.

    2/
    Adjsut the vertical picture position so the task bar cannot be seen.

    3/
    Don't stay in school so late at night... It's...
  3. Replies
    7
    Views
    2,631

    Many thanks to all that helped me with this...

    Many thanks to all that helped me with this problem, I have finished writing the stuff i required and the problem is solved.


    Couldn't have done it without you guys... keep up the good work...
    ...
  4. Replies
    7
    Views
    2,631

    Im not going to be moding this s/w once it is...

    Im not going to be moding this s/w once it is written. Someone else will have to do it.

    The structs are all loaded from files, the files are also written by a different win32 program, which is...
  5. Replies
    7
    Views
    2,631

    ah ha! so it does!! Cheers all. (going to...

    ah ha! so it does!!

    Cheers all.

    (going to use direct access now anyway)

    joe
    #
  6. Replies
    7
    Views
    2,631

    I'm using (wait for it...) visual c++ version...

    I'm using (wait for it...) visual c++ version 1.52 !! a dos compiler and 'c'.

    Unfortunatly, the exe is for an embedded application that can only run dos.

    The idea of just assigning the varibles...
  7. Replies
    7
    Views
    2,631

    Pointer to struct members

    Help... Due to the way the compiler lines up memory, i cannot assign member values using a pointer offset.


    typedefs used:
    BYTE is unsigned char(1 byte),
    UINT is unsigned short (2 bytes)


    ...
  8. Replies
    4
    Views
    1,544

    I reverse engineer for a living, writing...

    I reverse engineer for a living, writing applications to read codes generated by vehicle ECUs (computers in cars) -- reverse engineering can be a long winded task...

    Please note, reverse...
  9. Replies
    4
    Views
    1,544

    You need to use a "snoop" program to record all...

    You need to use a "snoop" program to record all comms between the 2 devices. There are several programs on download.com proced at about $40 that do this and you will also need a 3-way rs232 cable...
  10. Thread: Edit box scroll

    by kybert
    Replies
    3
    Views
    2,015

    Sorry, im new to this! How would i do that...

    Sorry, im new to this!

    How would i do that using MFC?

    m_MyEdit.SetPropery(EM_SCROLLCARRET);

    ?

    joe
    #
  11. Thread: Edit box scroll

    by kybert
    Replies
    3
    Views
    2,015

    Edit box scroll

    How would one go about scrolling to the end of a multiline edit box?

    e.g. when i fill an edit box with 1000 chars, the control shows a scroll bar, but i cant make that scroll-bar scroll down...
  12. Replies
    20
    Views
    3,635

    no it really does exist, and yes it does support...

    no it really does exist, and yes it does support new char[]...

    lol!!


    http://www.iap.uk.net/test/image1.jpg

    joe
    #
  13. Thread: What is "far"??

    by kybert
    Replies
    6
    Views
    1,416

    well, some of us still have to use them for DOS...

    well, some of us still have to use them for DOS programming :(


    joe
    #
  14. Replies
    20
    Views
    3,635

    I got VS.net (VC7) but dont use it for testing...

    I got VS.net (VC7) but dont use it for testing simple stuff cos its just too much effort... (starting a new project... edit project... etc...)




    joe
    #
  15. Replies
    20
    Views
    3,635

    does the OS really check the return value from...

    does the OS really check the return value from main() ?

    I returned 4 different values:

    void, -1, 0, 1

    and all have the same effect - nothing!!

    So what's the point??
  16. Thread: What is "far"??

    by kybert
    Replies
    6
    Views
    1,416

    Actually its used all the time for embedded...

    Actually its used all the time for embedded systems that rely on the old 16-bit dos platform.

    But for all those that dont program dos, then i guess the last time you typed FAR was when you emailed...
  17. Thread: What is "far"??

    by kybert
    Replies
    6
    Views
    1,416

    far is a area of memory that is outside of the...

    far is a area of memory that is outside of the usual 16-bit (64k) of program memory.

    DOS programs run in 16-bit, hence 64k of program memory (known as 'near' memory),If you declare an array of 68k...
  18. Replies
    20
    Views
    3,635

    OK, it worked, many thanks for everyones efforts....

    OK, it worked, many thanks for everyones efforts. The pointer idea doesnt work because the 1st element is an array of 27 ints!! but this code did:



    struct LIGHTS
    {
    BYTE set1; // element 0...
  19. Replies
    20
    Views
    3,635

    so does this mean that it is not possible to...

    so does this mean that it is not possible to index the elements?

    Can i get a pointer to the 1st element, then increment the pointer by the sizeof each element until i get to the one i want?
    ...
  20. Replies
    20
    Views
    3,635

    the question is very much simplified, the actual...

    the question is very much simplified, the actual struct contains 57 elements of all different types and identifier names, i have 7 structs.

    i need code that is "identifier name independent", e.g....
  21. Replies
    20
    Views
    3,635

    i need to use int to access the elements because...

    i need to use int to access the elements because im going to use a for loop to get the data from each element:



    for(x=1; x<number_of_elements; x++) // skip element 0
    {
    size = lights_array[x];...
  22. Replies
    20
    Views
    3,635

    structs and elements by reference?

    hi, i have the following code:
    BYTE is type def as unsigned char.



    // header file:

    typedef unsigned char BYTE;

    struct LIGHTS
  23. Replies
    23
    Views
    5,175

    Think of those of us that write embedded C...

    Think of those of us that write embedded C applications!

    There is no way that we could optimise C++ small enough to fit the application.

    My typical memory size for a project is 8k -- yes 'k'...
  24. Replies
    6
    Views
    6,594

    well, i cant be dealing with this! As soon as...

    well, i cant be dealing with this!

    As soon as i find a way to use the nice looking XP style buttons that .net produces, so i can just apply them to my exsisting VC6 projects without changing the...
  25. Replies
    6
    Views
    6,594

    Yeah, i've written the handlers and message...

    Yeah, i've written the handlers and message mapping manually now, but isn't the idea of a CAD to make life simplier?

    What the hell were MS thinking of? This is stupid and rediculous.

    In a...
Results 1 to 25 of 34
Page 1 of 2 1 2