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

Search:

Type: Posts; User: L-B

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Oh I h8 when that happens, it's my dumb *** fault...

    Oh I h8 when that happens, it's my dumb *** fault :rolleyes:

    The if statement was never true!!!! DOH!!!

    Sorry about that it was late last nite and I'd been working on it for a while. It was...
  2. Hi thanks for the intrest, I'm using javac to do...

    Hi thanks for the intrest, I'm using javac to do this, I have the following import statements


    import java.io.*;
    import java.util.*;
    import java.text.*;

    import org.apache.xml.serialize.*;...
  3. Really easy problem Long - Long (Driving me up the flippin wall)

    Why is it what I take a long away from a long I can never get it to do the calculation

    for example

    Long a = 100000;
    Long b = 100;

    Long answer = a - b;

    answer always = 0?!?!?!?!?!?!?!?!?...
  4. Thread: DtD's

    by L-B
    Replies
    1
    Views
    841

    Anybody have a clue about this? I'm still stuck :(

    Anybody have a clue about this? I'm still stuck :(
  5. Thread: DtD's

    by L-B
    Replies
    1
    Views
    841

    DtD's

    Is there any way with a sax parser that you can set a variable with the location of the DTD instaed of having to include the DTD either in the XML fiel your going to parse, or give a link to it from...
  6. Replies
    0
    Views
    968

    SaxParser (Can we have Flow Control?)

    Afternoon,

    SaxParsers what a great invention huh! *cough*

    Anyway's could you help? I'm looking for confirmation (first of!) and some hint's as to how I can:

    - Kick of a...
  7. Stopping a Sax Parser then Restarting @ the point previously Stopped @

    Afternoon,

    SaxParsers what a great invention huh! *cough*

    Anyway's could you help? I'm looking for confirmation (first of!) and some hint's as to how I can:

    - Kick of a...
  8. Replies
    0
    Views
    704

    Clearing out a JDOM Document

    I'm wondering how I can clear the contents of an org.jdom.Document. It seems a simple task but I can't for the life of me work out how to do it

    In my code I create a document named below
    ...
  9. Replies
    0
    Views
    474

    Document Object Model

    Does everyone have problems with this area of java or is it just me. !!

    However can anyone help

    I'm looking to create a several fragments (just main body content and the like) of an XML...
  10. Replies
    2
    Views
    779

    Lovely m8, thanks a lot that's saved me some grey...

    Lovely m8, thanks a lot that's saved me some grey hairs :)
    Really first class!!!!
  11. Replies
    2
    Views
    779

    cWordArray and Commiting Contents to file

    If I wanted to commit all the Word data contained in a cWordArray is there any way I could use MFC's WriteFile function to do this?

    I've already created a handle to a recieve file so I have a...
  12. Replies
    2
    Views
    595

    U know the fact that the 1st CreateFile had...

    U know the fact that the 1st CreateFile had OPEN_EXISTING and that the 2nd had CREATE_NEW should have alerted me to that fact
    But sadly it didn't :rolleyes:

    *Doh*

    Sorry tis been a long coding...
  13. Replies
    2
    Views
    595

    Handle, some Sample prob code

    I've got a chunk of code which works but I'm at odds to try and explain how.

    For example if we assume the path C:\test exists on my local hard drive, and a file exists at C:\test\ with the file...
  14. Thread: Return Statement

    by L-B
    Replies
    2
    Views
    614

    >You might try reading over your post before...

    >You might try reading over your post before clicking Submit, and ask yourself if it makes sense to someone who has no idea what project you're working on. I had a difficult time understanding what...
  15. Thread: Return Statement

    by L-B
    Replies
    2
    Views
    614

    Return Statement

    Question

    The return statement, as far as I can gather if you have an If statemetn and want to return a value captured at that stage u can. In this case if I get information returned by the com...
  16. Thread: Time Question

    by L-B
    Replies
    9
    Views
    1,496

    Ab-so-didlly-outely Makes sense Tar much...

    Ab-so-didlly-outely

    Makes sense

    Tar much m8ty's
  17. Thread: Time Question

    by L-B
    Replies
    9
    Views
    1,496

    If u use this struct _timeb timebuffer;...

    If u use this

    struct _timeb timebuffer; //Make Time Structure
    _ftime( &timebuffer ); // _ftime used for millisecond method

    then u can use

    timebuffer.time for the UTC time in secs
    ...
  18. Thread: Time Question

    by L-B
    Replies
    9
    Views
    1,496

    You were right with _ftime64, I checked out...

    You were right with _ftime64, I checked out http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_CRT_time.asp
    It has it listed
    Cheerz
  19. Thread: Time Question

    by L-B
    Replies
    9
    Views
    1,496

    OKay I'll give that a try and see how I get on, ta

    OKay I'll give that a try and see how I get on, ta
  20. Thread: Time Question

    by L-B
    Replies
    9
    Views
    1,496

    Cheerz buddy! :cool:

    Cheerz buddy! :cool:
  21. Thread: Time Question

    by L-B
    Replies
    9
    Views
    1,496

    Time Question

    What is the Visual C++ version of the system.getCurrentMillis() function? I'm looking to grab the system time as the number of milliseconds that have passed since 1,jan,1970!
    Anybody give me a...
  22. Thread: Type trouble

    by L-B
    Replies
    1
    Views
    507

    Heh I got it :o) I should have split the WORD...

    Heh I got it :o)

    I should have split the WORD up using

    bufstr << LOBYTE(WORD_Test) << HIBYTE(WORD_Test) << ends;

    :)
  23. Thread: Type trouble

    by L-B
    Replies
    1
    Views
    507

    Type trouble

    I'm having a bit of a prob atm, wonder if someone could empart there knowledge

    char Buffer[100];

    WORD data_Test=0xFFAA;

    ostrstream bufstr((char *)Buffer, sizeof Buffer);
    bufstr <<...
  24. Thread: Serial Comms

    by L-B
    Replies
    2
    Views
    693

    Any one got any ideas?

    Any one got any ideas?
  25. Thread: Serial Comms

    by L-B
    Replies
    2
    Views
    693

    Serial Comms

    Okay, I'll cut to the chase
    *snip*

    I'm trying to Track down the start of a packet which is one WORD long (namely 0x7F79)

    Detection of this packet will hopefully allow me to sync the my...
Results 1 to 25 of 37
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured