QBasic and QB64 Discussion Board

[QB Forum Archives (1999-2009)/ ] [QB FAQ] [QB Links and Downloads] [Subforums and Chat Room] [Search]

QB64.Net Homepage   QB/QB64 Keywords   QB Graphics Forum   Homework Policy



Custom Fonts and Unicode for Qbasic using QB64

by (Login burger2227)
R

This routine can be used to create data files of fonts and Unicode for Qbasic programs to use also. Works with most fonts pretty well!

http://qb64.net/wiki/index.php?title=Text_Using_Graphics#Font_and_Unicode_Conversion

The TextSave SUB can only be used in QB64, but the DisplayText SUB can be used with Qbasic. You will need to load the array data from a file. Haven't gotten around to that yet.

Ted

PS: I CANNOT POST IN Bob's Forum!



    
This message has been edited by burger2227 on Oct 11, 2011 6:06 PM
This message has been edited by burger2227 on Oct 11, 2011 6:05 PM
This message has been edited by burger2227 on Oct 11, 2011 6:03 PM
This message has been edited by burger2227 on Oct 11, 2011 6:00 PM

Posted on Oct 11, 2011, 5:59 PM

Respond to this message   

Return to Index


I have finished making a QB64 font converter for Qbasic here:

by (Login burger2227)
R

http://qb64.net/wiki/index.php?title=Text_Using_Graphics#Font_and_Unicode_Conversion

It now includes a Qbasic routine to use QB64 font data files.



    
This message has been edited by burger2227 on Oct 12, 2011 4:59 PM

Posted on Oct 12, 2011, 3:15 PM

Respond to this message   

Return to Index


I had a look at your program...

by (Login qb432l)
R

Looks good (and tight). I'm afraid I can't use it, however, I'd have to know more about the Windows font stuff and QB64 commands, which implies a learning curve. These days, my brain freezes when any kind of learning is called for.

In any case, good luck, Clipster.
-Bob

Posted on Oct 12, 2011, 4:47 PM

Respond to this message   

Return to Index


All ya gotta do is find a font you like

by (Login burger2227)
R

The procedures already look in the Windows' Font folder. Try Comic! Ya don't even have to type in TTF. Qbasic can read the font data files created too. At least it is not as hard as the way you used to do it...

wink.gif

Posted on Oct 12, 2011, 4:58 PM

Respond to this message   

Return to Index


*I'll check it out -- not as hard, but not as much fun, either, I'll bet ;)

by (Login qb432l)
R

*

Posted on Oct 12, 2011, 7:19 PM

Respond to this message   

Return to Index


*I tried it with COMIC -- worked flawlessly! Nice job!

by (Login qb432l)
R

*

Posted on Oct 12, 2011, 7:22 PM

Respond to this message   

Return to Index


*About posting in my forum -- smiley problem again, I'm guessing :(

by (Login qb432l)
R

*

Posted on Oct 12, 2011, 4:40 PM

Respond to this message   

Return to Index


pmarathe... (pong within command processor)

by (Login MCalkins)
Moderator

You mentioned that you were still having trouble including your pong program into your command processor. However, that thread got scrolled off onto page 2 of the forum, so I'll respond with a new thread.

--------------------------------

DECLARE SUB pong ()
CONST pi = 3.1415926536#
CONST e = 2.71828182818#
CONST mole = 6.022E+23

DIM word$(0 TO 1000)
DIM Ke$(0 TO 6)

RANDOMIZE TIMER
SCREEN 0
COLOR 25, 0
CLS
PRINT "|";
ddcol = 9
COLOR 9
x = 20
DO
 IF x > 999 THEN x = 20
 k$ = INKEY$
 IF k$ <> "" THEN
  IF k$ = CHR$(8) THEN
   IF LEN(wholesent$) THEN
    typed$ = LEFT$(typed$, LEN(typed$) - 1)
    wholesent$ = LEFT$(wholesent$, LEN(wholesent$) - 1)
   END IF
   curlet$ = ""
  ELSE
   curlet$ = k$
  END IF
  COLOR 9, 0
  CLS
  typed$ = typed$ + curlet$
  PRINT typed$;
  IF ddcol < 15 THEN
   COLOR ddcol + 16
  ELSE
   COLOR ddcol - 16
  END IF
  PRINT "|";
  COLOR ddcol
  IF curlet$ = " " THEN
   GOSUB wordparser
   wholesent$ = ""
  ELSE
   wholesent$ = wholesent$ + curlet$
  END IF
 END IF
LOOP

wordparser:
 x = x + 1
 word$(x) = wholesent$

 IF INSTR(LCASE$(word$(x)), "pong") <> 0 THEN
  pong
  PRINT "You may resume typing."
 END IF
 
 IF INSTR(LCASE$(word$(x - 2)), "c;") <> 0 AND INSTR(LCASE$(word$(x - 1)), "f;") <> 0 THEN
  PRINT word$(x); " degrees C = "; (9 / 5 * (VAL(word$(x)))) + 32; " degrees F."
 END IF
 IF INSTR(LCASE$(word$(x - 1)), "c;") <> 0 AND INSTR(LCASE$(word$(x - 2)), "f;") <> 0 THEN
  PRINT word$(x); " degrees F = "; (5 / 9) * (VAL(word$(x)) - 32); " degrees C."
 END IF

 IF INSTR(LCASE$(word$(x)), "end") > 0 OR INSTR(LCASE$(word$(x)), "exit") > 0 THEN END

 IF INSTR(LCASE$(word$(x)), "pranav") <> 0 THEN
  CLS
  PRINT "O' Great One. Thou art wonderful!."
 END IF

 firstnum = 0
 secondnum = 0

 IF INSTR(LCASE$(word$(x - 1)), "+") <> 0 THEN
  CLS
  GOSUB gettwovals
  PRINT firstnum + secondnum
 END IF
 IF INSTR(LCASE$(word$(x - 1)), "-") <> 0 THEN
  CLS
  GOSUB gettwovals
  PRINT firstnum - secondnum
 END IF
 IF INSTR(LCASE$(word$(x - 1)), "/") <> 0 THEN
  CLS
  GOSUB gettwovals
  PRINT firstnum / secondnum
 END IF
 IF INSTR(LCASE$(word$(x - 1)), "*") <> 0 THEN
  CLS
  GOSUB gettwovals
  PRINT firstnum * secondnum
 END IF
 IF INSTR(LCASE$(word$(x - 1)), "^") <> 0 THEN
  CLS
  GOSUB gettwovals
  PRINT firstnum ^ secondnum
 END IF

 IF INSTR(LCASE$(word$(x - 4)), "print") <> 0 AND INSTR(LCASE$(word$(x - 3)), "random") <> 0 AND INSTR(LCASE$(word$(x - 2)), "number") <> 0 THEN
  RANDOMIZE TIMER
  CLS
  PRINT INT(RND * (VAL(word$(x)) - VAL(word$(x - 1)))) + 1 + VAL(word$(x - 1))
 END IF
 IF INSTR(LCASE$(word$(x - 5)), "print") <> 0 AND INSTR(LCASE$(word$(x - 4)), "random") <> 0 AND INSTR(LCASE$(word$(x - 3)), "nos") <> 0 THEN
  RANDOMIZE TIMER
  CLS
  FOR dds = 1 TO VAL(word$(x))
   PRINT INT(RND * (VAL(word$(x - 1)) - VAL(word$(x - 2)))) + 1 + VAL(word$(x - 2))
  NEXT dds
 END IF

 IF INSTR(LCASE$(word$(x - 2)), "i") <> 0 AND INSTR(LCASE$(word$(x - 1)), "love") <> 0 AND INSTR(LCASE$(word$(x)), "you") <> 0 THEN
  CLS
  PRINT "Why Thank You!!! I love me too!"
 END IF
 IF INSTR(LCASE$(word$(x)), "atharv") <> 0 THEN
  CLS
  PRINT "Atharv the 12 year old, Atharv the 12 year old, Atharvaaa the 12 year old!!!... but seriously Athu's pretty cool.."
 END IF
 IF INSTR(LCASE$(word$(x - 1)), "shit") <> 0 THEN
  CLS
  PRINT "Wait, Wait... Did you just say shit?? Dont give me shit you turd..."
 END IF

 IF INSTR(LCASE$(word$(x - 1)), "start") <> 0 AND INSTR(LCASE$(word$(x)), "timer") <> 0 THEN
  CLS
  temp = 0
  rr$ = "0"
  PRINT "Press any key to start the timer"
  DO
  LOOP WHILE INKEY$ = ""
  DO
   temp = VAL(rr$) + .01
   rr$ = STR$(temp)
   FOR yyy = 1 TO 1
    FOR ddf = 1 TO 1000000
    NEXT ddf
   NEXT yyy
   CLS
   IF VAL(rr$) < 10 AND VAL(rr$) > 1 THEN PRINT LEFT$(rr$, 5)
   IF VAL(rr$) < 100 AND VAL(rr$) > 10 THEN PRINT LEFT$(rr$, 6)
   IF VAL(rr$) < 1000 AND VAL(rr$) > 100 THEN PRINT LEFT$(rr$, 7)
   IF VAL(rr$) < 10000 AND VAL(rr$) > 1000 THEN PRINT LEFT$(rr$, 8)
   IF VAL(rr$) < 100000 AND VAL(rr$) > 10000 THEN PRINT LEFT$(rr$, 9)
   IF VAL(rr$) < 1000000 AND VAL(rr$) > 100000 THEN PRINT LEFT$(rr$, 10)
   IF VAL(rr$) < 10000000 AND VAL(rr$) > 1000000 THEN PRINT LEFT$(rr$, 11)
   PRINT "Press any key to stop the timer."
  LOOP WHILE INKEY$ = ""
 END IF

 IF INSTR(LCASE$(word$(x - 1)), "start") <> 0 AND INSTR(LCASE$(word$(x)), "encoder") <> 0 THEN
  codenum = 1
  CLS
  DO
   key$ = LCASE$(INKEY$)
   IF key$ <> "" THEN
    IF key$ = "~" THEN RETURN
    IF codenum = 1 THEN
     codenum = 2
     SELECT CASE key$
     CASE "a" TO "z"
      PRINT CHR$(&H7A - (ASC(key$) - &H61));
     CASE CHR$(8)
      CLS
     CASE ELSE
      PRINT key$;
     END SELECT
    ELSE
     codenum = 1
     SELECT CASE key$
     CASE "a" TO "n"
      PRINT MID$("/.,';\[1234567", ASC(key$) - &H60, 1);
     CASE "o" TO "z"
      PRINT MID$("89+-`~|*=_}{", &H7B - ASC(key$), 1);
     CASE CHR$(8)
      CLS
      codenum = 2
     CASE ELSE
      temp = INSTR("/.,';\[1234567", key$)
      IF temp THEN
       PRINT CHR$(&H60 + temp);
      ELSE
       temp = INSTR("89+-`~|*=_}{", key$)
       IF temp THEN
        PRINT CHR$(&H7B - temp);
       ELSE
        PRINT key$;
       END IF
      END IF
     END SELECT
    END IF
   END IF
  LOOP
 END IF

 IF INSTR(LCASE$(word$(x - 2)), "enable") <> 0 AND INSTR(LCASE$(word$(x - 1)), "quick") <> 0 AND INSTR(LCASE$(word$(x)), "coding") <> 0 THEN
  DO
   k$ = INKEY$
   IF k$ = "~" THEN RETURN
   RANDOMIZE TIMER
   coding = INT(RND * 8) + 1
   a$(1) = "Print "
   a$(2) = "11001011010110101010111110101010100100100010000100101011111010101 "
   a$(3) = "cos_y278 "
   a$(4) = "System.out.exput.7.556.44 "
   a$(5) = "input "
   a$(6) = "goto 667 "
   a$(7) = "delete pagefile.sys "
   a$(8) = "Execute nngks.exe.ff775831"
   IF k$ <> "" THEN
    PRINT a(INT(RND * 8) + 1)
   END IF
  LOOP
 END IF

 IF INSTR(LCASE$(word$(x - 2)), "start") <> 0 AND INSTR(LCASE$(word$(x - 1)), "fortune") <> 0 AND INSTR(LCASE$(word$(x)), "teller") <> 0 THEN
  CLS
  COLOR 12
  DO
   DO
    CLS
    INPUT "Ask a question - a yes or no question"; a$
    IF a$ = "~" THEN RETURN
    IF RIGHT$(a$, 1) = "?" THEN EXIT DO
    PRINT "Put a QUESTION MARK in front of the QUESTION, genius!"
    SLEEP 1
   LOOP
   CLS
   RANDOMIZE TIMER
   a = INT(RND * 2) + 1
   SLEEP 1
   PRINT "Processing Question..."
   SLEEP 1
   PRINT
   PRINT "Processing-"
   SLEEP 1
   CLS
   INPUT "View Processing"; s$
   f$ = LEFT$(s$, 1)
   IF f$ = "y" OR f$ = "Y" THEN
    FOR n = 0 TO LEN(a$)
     z$ = LEFT$(a$, 5 + n)
     FOR somekindofvariable = 1 TO 2000000
     NEXT somekindofvariable
     PRINT z$
     c = INT(RND * 2) + 1
     IF c = 1 THEN PRINT "<variable>sin35cos92*trialf+trial b outcome ="; n * c ELSE PRINT "<variable>sin39cos"; n + c; "trial d ="; n * c
     IF a = 1 AND c = 2 THEN PRINT "true" ELSE PRINT "false"
     IF a = 2 AND c = 2 THEN PRINT "<variable probability="; INT(RND * 100) + 1; "%>"
    NEXT n
   ELSE
    PRINT "Processing..."
    SLEEP 15
   END IF
   SLEEP 3
   CLS
   SELECT CASE a
   CASE 1
    PRINT "Yes"
   CASE 2
    PRINT "No"
   END SELECT
   SLEEP 1
   CLS
   INPUT "Go again"; b$
   c$ = LEFT$(b$, 1)
  LOOP WHILE c$ = "y" OR c$ = "Y"
  RETURN
 END IF

 IF INSTR(LCASE$(word$(x - 1)), "start") <> 0 AND INSTR(LCASE$(word$(x)), "virus.exe") <> 0 THEN
  CLS
  PRINT "10 seconds left...Do not press a button... or else.."
  DO
  LOOP UNTIL INKEY$ <> ""
  CLS
  FOR i = 10 TO 0 STEP -1
   PRINT i
   SLEEP 1
   CLS
  NEXT i
  CLS
  FOR dooo = 1 TO 13
   PRINT "Connecting to vrhacks.net."
   FOR xxx = 1 TO 16000000
   NEXT xxx
   CLS
   PRINT "Connecting to vrhacks.net.."
   FOR xxx = 1 TO 16000000
   NEXT xxx
   CLS
   PRINT "Connecting to vrhacks.net..."
   FOR xxx = 1 TO 16000000
   NEXT xxx
   CLS
  NEXT dooo
  PRINT "Connected!"
  SLEEP 1
  FOR dooo = 1 TO 13
   PRINT "Downloading."
   FOR xxx = 1 TO 16000000
   NEXT xxx
   CLS
   PRINT "Connected!"
   PRINT "Downloading.."
   FOR xxx = 1 TO 16000000
   NEXT xxx
   CLS
   PRINT "Connected!"
   PRINT "Downloading..."
   FOR xxx = 1 TO 16000000
   NEXT xxx
   CLS
   PRINT "Connected!"
  NEXT dooo
  PRINT "Download Complete!"
  SLEEP 1
  RANDOMIZE TIMER
  FOR hjk = 1 TO 442
   binaryc = INT(RND * 2)
   PRINT binaryc;
   FOR xxx = 1 TO 1000000
   NEXT xxx
  NEXT hjk
  PRINT "Executing..."
  SLEEP 1
  PRINT "System Reboot in Progress..."
  SLEEP 1
  CLS
  SLEEP 5
  PRINT "Welcome to Windows 7. This is a command prompt version..."
  SLEEP 2
  CLS
  DO
   CLS
   PRINT "Password:";
   FOR pass = 1 TO 6
    DO
     Ke$(pass) = INKEY$
     IF Ke$(pass) <> "" THEN
      PRINT CHR$(8);
     END IF
    LOOP WHILE Ke$(pass) = ""
   NEXT pass
   IF Ke$(1) + Ke$(2) + Ke$(3) + Ke$(4) + Ke$(5) + Ke$(6) = "orange" THEN
    CLS
    EXIT DO
   END IF
   PRINT "Incorrect Password"
   SLEEP 1
   count = count + 1
  LOOP WHILE count < 4
  CLS
  PRINT "Welcome"
  SLEEP 1
  CLS
  PRINT "Sending information..."
  SLEEP 1
  CLS
  PRINT "Send var$ = (password) 'orange'/input.sysin.ln."
  SLEEP 1
  PRINT "Password sent successfully."
  SLEEP 1
  PRINT "System Shutdown is in progress..."
  SLEEP 1
  CLS
  PRINT "PWND"
  SLEEP 5
  RETURN
 END IF


 IF INSTR(LCASE$(word$(x - 1)), "start") <> 0 AND INSTR(LCASE$(word$(x)), "game") <> 0 THEN
  CLS
  RANDOMIZE TIMER
  mynum = INT(RND * 10) + 1
  FOR numba = 10 TO 1 STEP -1
   INPUT "Guess a number between 1 and 10"; uresponse$
   IF LEFT$(uresponse$, 3) = "end" OR LEFT$(uresponse$, 3) = "END" OR LEFT$(uresponse$, 3) = "End" OR LEFT$(uresponse$, 4) = "exit" OR LEFT$(uresponse$, 4) = "Exit" OR LEFT$(uresponse$, 4) = "EXIT" THEN
    RETURN
   END IF
   uresponse = VAL(uresponse$)
   CLS
   IF uresponse = mynum THEN
    COLOR 20
    PRINT "Correct!!"
    RETURN
   ELSEIF uresponse > mynum THEN
    IF numba < 2 THEN EXIT FOR
    PRINT "Guess lower..."; numba - 1; "chances left." 'changed x to numba...
   ELSEIF uresponse < mynum THEN
    IF numba < 2 THEN EXIT FOR
    PRINT "Guess higher.... "; numba - 1; "chances left." 'changed x to numba...
   END IF
   IF numba < 6 THEN PRINT "Remember, that the number is between 1 and 10...and you can exit by typing exit or end at any time...."
   SLEEP 3
   CLS
  NEXT numba
  PRINT "My number was"; mynum
 END IF

 IF INSTR(LCASE$(word$(x)), "clear") <> 0 THEN
  typed$ = ""
  CLS
 END IF

 IF INSTR(LCASE$(word$(x)), "help") <> 0 THEN
  CLS
  PRINT "Command Chart : "
  PRINT " ~ : Used to exit most programs."
  PRINT "f; c; 'number' : Converts Fahrenheit to Celcius."
  PRINT "c; f; 'number' : Converts Celcius to Fahrenheit."
  PRINT "chr 'number' : Prints a character in front of the cursor."
  PRINT "start game : Starts a guessing game."
  PRINT "clear : Clears the screen. "
  PRINT "end/exit : Ends program"
  PRINT "print random nos 'min' 'max' 'number of random number numbers that should be printed' : Prints the number of random numbers specified within the specified range."
  PRINT "print random number 'min' 'max' : Prints a random number between the min. and max."
  PRINT "start timer : Starts an accurate timer. "
  PRINT "start encoder : Starts an encoding software. Completely nondecodable. "
  PRINT "enable quick coding : Enables a quick coding mode with shortcuts for codes."
  PRINT "start fortune teller : Starts a fortune telling program."
  PRINT "color chart : Shows a color chart."
  PRINT "clr 'number' : Changes the text to a specific color."
  PRINT "start virus.exe : Executes a virus program. ";
  COLOR 28
  PRINT "WARNING! THIS MAY CRASH YOUR COMPUTER. USE WITH CARE."
  COLOR 9
 END IF

 IF INSTR(LCASE$(word$(x - 1)), "chr") <> 0 THEN
  typed$ = typed$ + CHR$(VAL(word$(x)))
 END IF

 IF INSTR(LCASE$(word$(x - 1)), "color") <> 0 AND INSTR(LCASE$(word$(x)), "chart") <> 0 THEN
  FOR ddx = 1 TO 31
   COLOR ddx
   PRINT "Color "; ddx; " ";
  NEXT ddx
 END IF

 IF INSTR(LCASE$(word$(x - 1)), "clr") <> 0 THEN
  ddcol = VAL(word$(x))
  COLOR VAL(word$(x))
 END IF

RETURN
     
gettwovals:
 firstnum = VAL(word$(x - 2))
 secondnum = VAL(word$(x))
 IF word$(x - 2) = "e" THEN firstnum = e
 IF word$(x - 2) = "pi" THEN firstnum = pi
 IF word$(x) = "e" THEN secondnum = e
 IF word$(x - 2) = "mole" THEN firstnum = mole
 IF word$(x) = "pi" THEN secondnum = pi
 IF word$(x) = "mole" THEN secondnum = mole
RETURN

SUB pong
 COLOR 7
 CLS

 INPUT "Choose AI difficulty: easy, medium, hard "; difficult$
 IF LCASE$(LEFT$(difficult$, 1)) = "e" THEN speed = 2
 IF LCASE$(LEFT$(difficult$, 1)) = "m" THEN speed = 4
 IF LCASE$(LEFT$(difficult$, 1)) = "h" THEN speed = 8

 SCREEN 12

 ' Set aside enough space to hold the sprite
 ' Draw a filled circle for our sprite
 DIM ball%(33)
 CIRCLE (4, 3), 4, 4
 PAINT (4, 3), 12, 4
 ' Get the sprite into the Ball% array
 GET (0, 0)-(8, 7), ball%(0)

 ponescore = 0
 ptwoscore = 0

begin:

 CLS
 xmin = 10
 ymin = 10
 xmax = 630
 ymax = 470
 x = 25
 y = 25
 dx = 1
 dy = 1
 curpos = 50
 curtpos = 50
 LINE (20, curpos)-(20, curpos + 100)
 LINE (620, curtpos)-(620, curtpos + (speed * 30)) 'length of paddle
 DO
  PRINT "Player 1 : "; ponescore; " Player 2 : "; ptwoscore / 10
  IF x = xmax - 19 AND y >= curtpos AND y <= curtpos + (speed * 30) THEN
   dx = -1
  ELSEIF x > xmax THEN
   ponescore = ponescore + 1
   GOTO begin
  END IF
  IF x = xmin + 10 AND y >= curpos AND y <= curpos + 100 THEN 'If ball goes to the edge of the screen and a paddle is present it changes direction
   dx = 1
  ELSEIF x < xmin THEN
   ptwoscore = ptwoscore + 1
   GOTO begin
  END IF

  IF y > ymax - 5 THEN dy = -1
  IF y < ymin + 5 THEN dy = 1


  IF dx = -1 THEN
   curtpos = curtpos + SGN(240 - (curtpos + (speed * 15)))
  END IF

  IF dx = 1 THEN
   curtpos = curtpos + SGN(y - (curtpos + (speed * 15)))
   IF curtpos + (speed * 30) > 479 THEN curtpos = 479 - (speed * 30)
   IF curtpos < 1 THEN curtpos = 1
  END IF

  ' Display the sprite elsewhere on the screen

  x = x + dx
  y = y + dy

  PUT (x, y), ball%(0)

  LINE (20, curpos)-(20, curpos + 100)
  LINE (620, curtpos)-(620, curtpos + (speed * 30))

  FOR something% = 1 TO 10000

keypress:
   k$ = INKEY$
   IF k$ <> "" THEN GOTO paddle
  NEXT something%
  CLS
 LOOP

paddle:
 IF k$ = "w" THEN curpos = curpos - 4
 IF k$ = "s" THEN curpos = curpos + 4
 IF k$ = "~" THEN
  SCREEN 0
  WIDTH 80, 25
  EXIT SUB
 END IF
 LINE (20, curpos)-(20, curpos + 100)
 LINE (620, curtpos)-(620, curtpos + (speed * 30))
 IF curpos < 1 THEN curpos = 1
 IF curpos > 379 THEN curpos = 379
GOTO keypress

END SUB

--------------------------------

Basically, I've put the pong game in a SUB procedure, so all of its variables are local. (You don't have any SHARED variables.) I restore SCREEN 0 before exiting the SUB.

The above works for me in QBASIC 1.1. (The timing of your original code has been way too slow for me all along, so I have been removing the inner delay loop in the pong game.)

Note that when you come back from the pong game, you have to type something to update the screen, but even your first keystroke is part of the new word. I experimented with moving:

IF curlet$ = " " THEN
GOSUB wordparser
wholesent$ = ""
ELSE
wholesent$ = wholesent$ + curlet$
END IF

to above the display code, right above the COLOR 9, 0. However, this would make it necessary to add pauses after quite a few of the other things. For example, you would have to add a pause after displaying the help screen, otherwise it would be immediately cleared.

You could set COLOR 9, and PRINT typed$, and perhaps even print the "|" after coming back from pong, but that would be inconsistent with your other commands, like "help" and "pranav". The current result is consistent with your other commands: typed$ isn't displayed until you press a key, but the first key press is the start of the new word.

I've implemented my earlier suggestion to keep backspace from causing an illegal function call in QBASIC 1.1, when pressing backspace at the start of the current word.

I've made a few other minor changes. For example, I've added a COLOR statement, and added an explicit background color of 0 to one of the existing COLOR statements.

Regards,
Michael



    
This message has been edited by MCalkins on Oct 10, 2011 10:02 AM

Posted on Oct 10, 2011, 10:00 AM

Respond to this message   

Return to Index


Re: pmarathe... (pong within command processor)

by (no login)

With my original program, when the pong game was ended, it reset almost all of the variables to0, even then , the program would either freeze/crash or restart the pong game. Why was this happening?

Posted on Oct 11, 2011, 4:29 PM

Respond to this message   

Return to Index


Re: pmarathe... (pong within command processor)

by (Login MCalkins)
Moderator

With the program at:

http://www.network54.com/Forum/648955/message/1315431956/

If I change:

GOTO begin

to:

GOTO 1

like I described in my response, and change the array upper bounds to 1000, then the program seems to work in both QBASIC and QB64. I can type "pong ", and go into the pong game. I type "H", ENTER to select hard. I press "2" to exit. When I come back out, typing " " does not send me back into the pong game, because GOTO begin was changed to GOTO 1.

Regards,
Michael

Posted on Oct 11, 2011, 4:52 PM

Respond to this message   

Return to Index


Convert Big, Little Endian

by (no login)

Does anyone have a simple function for converting Endian on long integers?
I have a function that works, but it's awful clunky. I've searched, but nothing came up.

Given a long integer in (decimal or hexidecimal format), the function should swap endian on the four bytes, and return a long integer. I don't think it matters how the returned value is formatted (dec or hex). I plan on using PUT as BINARY to write the value to a file.

Right now, the one I wrote works, but it does a lot of string conversions etc. It just seems inefficient. I'm also afraid to do any direct memory manipulation, as I'm a novice at that.

Also, I will need one for 2-byte integers as well, but I figure that's easy to make from a 4-byte version.

Thanks in advance for any help.

Posted on Oct 9, 2011, 9:22 PM

Respond to this message   

Return to Index


Endian decides which bits are on or off in BINARY registers

by (Login burger2227)
R

PRINT &H60 will print decimal 96 so you don't need anything to convert to decimal long or integer.

Posted on Oct 9, 2011, 10:00 PM

Respond to this message   

Return to Index


Re: Endian decides which bits are on or off in BINARY registers

by Loudhvx (no login)

Sorry, I don't really follow what you mean.
I'm looking for a function to convert "Big Endian" ordered bytes, into "Little Endian" ordered bytes, (and vice versa), for long integers.

Posted on Oct 9, 2011, 11:06 PM

Respond to this message   

Return to Index


Like this

by (Login burger2227)
R

x& = 255
PRINT x&
FOR i& = 15 TO 0 STEP -1 'big endian
IF (x& AND 2 ^ i&) THEN st$ = st$ + "1" ELSE st$ = st$ + "0"
NEXT
PRINT st$
FOR b& = 1 TO 16 'little endian
IF MID$(st$, b&, 1) = "1" THEN byte& = byte& + 2 ^ (b& - 1)
NEXT
PRINT byte&



    
This message has been edited by burger2227 on Oct 10, 2011 10:48 AM

Posted on Oct 10, 2011, 10:44 AM

Respond to this message   

Return to Index


Re: Like this

by (Login MCalkins)
Moderator

It needs to reverse the bytes, not the bits. Bits within each byte are always big endian. It's the bytes that are little endian: For example:

&habcd is:

be: ab cd (10101011 11001101)
le: cd ab (11001101 10101011)

&haabbccdd is:

be: aa bb cc dd (10101010 10111011 11001100 11011101)
le: dd cc bb aa (11011101 11001100 10111011 10101010)

The bytes are reversed. The bits within the bytes are not.

Regards,
Michael



    
This message has been edited by MCalkins on Oct 10, 2011 11:24 AM

Posted on Oct 10, 2011, 11:23 AM

Respond to this message   

Return to Index


* Oh...why do you need to do that?

by (Login burger2227)
R

Posted on Oct 10, 2011, 11:39 AM

Respond to this message   

Return to Index


that's what I'm asking him... :-)

by (Login MCalkins)
Moderator

besides the two possibilities that I speculated earlier, reading UTF-16BE files might be another. But if that's all that he wanted, he wouldn't care about LONGs.

Regards,
Michael



    
This message has been edited by MCalkins on Oct 10, 2011 11:46 AM

Posted on Oct 10, 2011, 11:44 AM

Respond to this message   

Return to Index


why do x86 computers use little endian?

by (Login MCalkins)
Moderator

first of all, here's the wikipedia article for endianness:

http://en.wikipedia.org/wiki/Endianness

but it doesn't really go into which is better or why. A google search for "reason little-endian" (without quotes) turns up, among other things, the following:

http://www.noveltheory.com/techpapers/endian.asp
http://www.technovelty.org/code/badcode/little-endian.html
http://www.cs.umass.edu/~verts/cs32/endian.html

Personally, I prefer little endian, but I have a hard time explaining why, other than that I am prejudiced in favor of it because all x86 processors use it. I do think that it is more natural. As the articles above discuss, there is an advantage to being able to read the least significant byte at offset 0.

For example, consider a union (overlapping data types) for a CP437 character encoding and a UTF-16LE character encoding. If it's a CP437 encoding, it's one byte. If it is UTF-16LE, it is two bytes. But either way, the least significant byte is first. So, if the character is "A", the first byte is &h41 either way, and the second byte is 0 (for UTF-16LE) or doesn't matter (for CP437).

"A" in CP437:
41

"A" in UTF-16LE:
41 00

In contrast, "A" in UTF-16BE:
00 41

Now, of course, the software should know whether ASCII or Unicode is being used, and therefore, whether to read a byte or a word. But still, I think it's neat that with little endian, the first byte is the same either way. I'll admit that this is a poor example.

In other words, as long as you know how big the relevant value is, you don't need to know how big the actual data type is. For example, perhaps I know that I need to read a 16 bit integer. I don't know how big the data type that holds it actually is, but I know that I only need the 16 least significant bits. I need to know its base offset. Since it is stored using little endian, I do not need to know how big the actual data type is. Suppose the value is &h1234.

It could be stored in a 16 bit data type:
34 12

It could be stored in a 32 bit data type:
34 12 00 00

It could be stored in a 64 bit data type:
34 12 00 00 00 00 00 00

As long as I know the base offset, and how many bytes I really need, I can read it. The extra bytes afterwards don't matter.

On the other hand, if it is stored as a 32 bit big endian data type:
00 00 12 34

Then I would have to know how big the data type is. (Or would have to be given an adjusted base offset.)

One of the articles I linked to above makes that point.

Regards,
Michael



    
This message has been edited by MCalkins on Oct 10, 2011 1:33 PM
This message has been edited by MCalkins on Oct 10, 2011 12:32 PM
This message has been edited by MCalkins on Oct 10, 2011 12:31 PM

Posted on Oct 10, 2011, 12:30 PM

Respond to this message   

Return to Index


Re: why do x86 computers use little endian?

by Loudhvx (no login)

I think it's really best summed up this way, quoted from the Wikipedia page:

"On Holy Wars and a Plea for Peace" by Danny Cohen ends with: "Swift's point is that the difference between breaking the egg at the little-end and breaking it at the big-end is trivial. Therefore, he suggests, that everyone does it in his own preferred way. We agree that the difference between sending eggs with the little- or the big-end first is trivial, but we insist that everyone must do it in the same way, to avoid anarchy. Since the difference is trivial we may choose either way, but a decision must be made."

:)

Posted on Oct 10, 2011, 1:19 PM

Respond to this message   

Return to Index


Re: Convert Big, Little Endian

by (Login MCalkins)
Moderator

I assume that you are using QBASIC instead of QB64.

I'm not sure what the best way is of doing this in QBASIC. Here are two different methods. One uses QBASIC's string functions to transpose the bytes, the other uses PEEK and POKE. This latter method relies on the assumption that a and b will both be in the same segment. Since they should be created as local variables on the stack, they should be in the same segment. (n cannot be relied on to be in the same segment, because it might have been passed by reference.) I believe this is a safe assumption.

I assume you already know how to use MKI$, CVI, MKL$, and CVL. They convert between numeric values and strings containing little endian binary integers. They are very similar to CHR$ and ASC, except for 2 bytes and 4 bytes instead of 1 byte.

Regards,
Michael

--------------------------------

'public domain, october 2011, michael calkins

DECLARE FUNCTION rev4bytes& (n AS LONG)
DECLARE FUNCTION rev2bytesstr$ (n AS STRING)
DECLARE FUNCTION rev4bytesstr$ (n AS STRING)
DECLARE FUNCTION rev2bytes% (n AS INTEGER)

DIM i AS INTEGER
DIM l AS LONG
DIM s2 AS STRING * 2
DIM s4 AS STRING * 4

CLS

PRINT "demonstrating rev2bytes%"
i = &HABCD
PRINT LCASE$(HEX$(i)), MKI$(i)
i = rev2bytes%(i)
PRINT LCASE$(HEX$(i)), MKI$(i)
i = rev2bytes%(i)
PRINT LCASE$(HEX$(i)), MKI$(i)
PRINT

PRINT "demonstrating rev2bytesstr$"
s2 = MKI$(&HABCD)
PRINT LCASE$(HEX$(CVI(s2))), s2
s2 = rev2bytesstr$(s2)
PRINT LCASE$(HEX$(CVI(s2))), s2
s2 = rev2bytesstr$(s2)
PRINT LCASE$(HEX$(CVI(s2))), s2
PRINT

PRINT "demonstrating rev4bytes&"
l = &HAABBCCDD
PRINT LCASE$(HEX$(l)), MKL$(l)
l = rev4bytes&(l)
PRINT LCASE$(HEX$(l)), MKL$(l)
l = rev4bytes&(l)
PRINT LCASE$(HEX$(l)), MKL$(l)
PRINT

PRINT "demonstrating rev4bytesstr$"
s4 = MKL$(&HAABBCCDD)
PRINT LCASE$(HEX$(CVL(s4))), s4
s4 = rev4bytesstr$(s4)
PRINT LCASE$(HEX$(CVL(s4))), s4
s4 = rev4bytesstr$(s4)
PRINT LCASE$(HEX$(CVL(s4))), s4
PRINT

END

FUNCTION rev2bytes% (n AS INTEGER)
 DIM a AS INTEGER
 DIM b AS INTEGER
 a = n
 DEF SEG = VARSEG(b)
 POKE VARPTR(b), PEEK(VARPTR(a) + 1)
 POKE VARPTR(b) + 1, PEEK(VARPTR(a))
 rev2bytes% = b
END FUNCTION

FUNCTION rev2bytesstr$ (n AS STRING)
 rev2bytesstr$ = RIGHT$(n, 1) + LEFT$(n, 1)
END FUNCTION

FUNCTION rev4bytes& (n AS LONG)
 DIM a AS LONG
 DIM b AS LONG
 a = n
 DEF SEG = VARSEG(b)
 POKE VARPTR(b), PEEK(VARPTR(a) + 3)
 POKE VARPTR(b) + 1, PEEK(VARPTR(a) + 2)
 POKE VARPTR(b) + 2, PEEK(VARPTR(a) + 1)
 POKE VARPTR(b) + 3, PEEK(VARPTR(a))
 rev4bytes& = b
END FUNCTION

FUNCTION rev4bytesstr$ (n AS STRING)
 rev4bytesstr$ = RIGHT$(n, 1) + MID$(n, 3, 1) + MID$(n, 2, 1) + LEFT$(n, 1)
END FUNCTION



    
This message has been edited by MCalkins on Oct 10, 2011 4:48 AM

Posted on Oct 10, 2011, 4:36 AM

Respond to this message   

Return to Index


Re: Convert Big, Little Endian

by Loudhvx (no login)

Thank you very much, Michael.
Yes, Qbasic. I figured it would come down to memory manipulation or string manipulation, and of the two, I prefer strings to keep me out of trouble. :)
I was using HEX$, VAL, and CHR$, and it ended up clunky since I had to maintain leading zeros artificially.

I was unaware of MKI$, etc. That does make it a lot neater, and should work nicely. Thanks a lot!

It's going to be a few days before I can play with this again, and I'll probably have a few questions then too, regarding how this will handle negative integer values.

Thanks again,
-Lou

Posted on Oct 10, 2011, 7:55 AM

Respond to this message   

Return to Index


yw

by (Login MCalkins)
Moderator

Those functions handle negative values correctly. The values that I demonstrated are negative.

Are you asking how negative integers are stored?

http://en.wikipedia.org/wiki/Two%27s_complement

So, for 16 bit INTEGERs:

&h0000 is 0
&h7fff is 32767
&h8000 is -32768
&hffff is -1

Out of curiosity, why do you need big endian encodings? Off the top of my head, I'm thinking perhaps network packet headers, or perhaps cryptographic algorithms. I can't remember which specifically require big endian encodings. Pretty much anything PC specific would be little endian.

Regards,
Michael



    
This message has been edited by MCalkins on Oct 10, 2011 10:23 AM
This message has been edited by MCalkins on Oct 10, 2011 10:23 AM

Posted on Oct 10, 2011, 10:22 AM

Respond to this message   

Return to Index


Re: yw

by Loudhvx (no login)

Two's complement is what i wanted to hear. That's perfect.

I'm playing with coding WAV files to make simple test signals for use with various other projects (microcontrollers, filters etc). Wav files code the samples in Little Endian format, and I'm going to write the generator in Big Endian, just because it's easier for me to think that way.

Speed in getting the result is not critical, so even if converting Endian takes time, it'll be nicer to keep the sample generator simple.

Correct me if I'm wrong, I assumed the same function would be used to convert Big to Little and vice versa. So, in any event, it'll be a handy function to have since I've encountered this before. Previously I did it similarly by converting to strings, however your suggestion seems much better than the way I was doing it.

Thanks again,
-Lou

Posted on Oct 10, 2011, 12:03 PM

Respond to this message   

Return to Index


*That's right. The reverse of the reverse is the original.

by (Login MCalkins)
Moderator

Posted on Oct 10, 2011, 12:38 PM

Respond to this message   

Return to Index


just to be sure...

by (Login MCalkins)
Moderator

i'm not sure what your generator needs to do, but, generally, compatibility aside, programs written in high level languages like QBASIC don't need to worry too much about endianness. I just want to make sure that you know that QBASIC can write little endian integers directly. For example:

DIM l as LONG

OPEN whatever FOR BINARY AS 1
PUT 1, , l
CLOSE

writes a LONG directly to the file, as a little endian 4 byte record. A QBASIC program can then read it directly with GET 1, , l. So, no manual conversion is required to read and write little endian numbers to files. So, since QBASIC expects little endian numbers in files and you say that the wav format also expects it, then i'm not sure why your program needs to worry about endianness at all. (Unless the generator needs to work with big endian encodings in a string format for some reason. You can work with the numeric values themselves and not worry about endianness, I think. Endianness is a low level concept dealing with encoding. The numeric values themselves are at a higher level, and have nothing to do with endianness.)

Regards,
Michael


'public domain, october 2011, michael calkins

DIM l AS LONG
DIM s4 AS STRING * 4
DIM t AS STRING
DIM i AS INTEGER
DIM s2 AS STRING * 2
DIM n AS INTEGER
DIM s1 AS STRING * 1

CLS

i = &H1234
s2 = MKI$(&H1234)       'converts an INTEGER to a 2 byte string (little end.)
l = &H89ABCDEF
s4 = MKL$(&H89ABCDEF)   'converts a LONG to a 4 byte string (little endian)

OPEN "delete.me" FOR BINARY AS 1
PUT 1, , i              ' writes an INTEGER directly
PUT 1, , s2             ' writes a 2 byte string
PUT 1, , l              ' writes a LONG directly
PUT 1, , s4             ' writes a 4 byte string

PRINT "File contents as bytes:"
FOR n = 1 TO LOF(1)
 GET 1, n, s1
 t = LCASE$(HEX$(ASC(s1)))
 IF ASC(s1) < &H10 THEN t = "0" + t

 'an alternative way to add leading zeros:
 ' t = STRING$(2 - LEN(t), &H30) + t
 'this is more suitable for lengths greater than 2.

 PRINT t; " ";
NEXT
PRINT
PRINT

i = 0
l = 0
s2 = ""
s4 = ""

PRINT "The values read back:"
GET 1, 1, i             'seeks to the beginning, reads an INTEGER directly
GET 1, , s2             'reads a 2 byte string
GET 1, , l              'reads a LONG directly
GET 1, , s4             'reads a 4 byte string
PRINT LCASE$(HEX$(i))
PRINT LCASE$(HEX$(CVI(s2)))     'converts a 2 byte string to an INTEGER (le)
PRINT LCASE$(HEX$(l))
PRINT LCASE$(HEX$(CVL(s4)))     'converts a 4 byte string to a LONG (le)

CLOSE

KILL "delete.me"
SYSTEM



    
This message has been edited by MCalkins on Oct 10, 2011 2:00 PM
This message has been edited by MCalkins on Oct 10, 2011 1:59 PM
This message has been edited by MCalkins on Oct 10, 2011 1:56 PM

Posted on Oct 10, 2011, 1:47 PM

Respond to this message   

Return to Index


Ah, even better

by Loudhvx (no login)

That's even better than I'd hoped. That should work great... no conversion needed for the sample data. Perhaps that's why I did not find any conversion programs for swapping Endian. Sorry for all the bother.

However, I may still need it for the header on the file. Some of the fields are in Big Endian. But it may only be the fields designed for text. I'll have to check that out when I get some real time on the computer.

When I made my program for converting qbasic SCREENs into 24 bit bitmaps, I wondered why the RGB data was in BGR order. Now it makes sense.

Thanks again for the lessons.
-Lou

Posted on Oct 10, 2011, 7:35 PM

Respond to this message   

Return to Index


* I'm glad that I was able to help.

by (Login MCalkins)
Moderator

Posted on Oct 11, 2011, 3:30 AM

Respond to this message   

Return to Index


*update. Program worked great. Thanks!

by Loudhvx (no login)

Posted on Oct 17, 2011, 8:34 AM

Respond to this message   

Return to Index


Memory optimisation

by (no login)

Hi,

I copied most of my SCREEN 2 into an array, in small parts, and PUT it back with PRESET, so i'm sure nothing is overlapping, foremost the default XOR method also shows nothing weird... i tried also to crop the parts but then i lost content, so i wonder why the array get larger than expected. The Bob's EMPIRICAL gives 7642, but i need sometimes more than 8150...

You don't want to see the code, it's pretty obscure... but maybe a debugging idea ?

GOSUB IntSize

'LINE (639 - c%, 163)-(639, 189), 0, BF
LINE (639 - c%, 162)-(639, 190), 0, BF 'clean place
'LINE (639 - c%, 162)-(639, 188), 1, B


PY% = 162
CALL Xfprint(van$, PY%)
PRINTY = 0

'SLEEP


GET (639 - c%, 162)-(639, 188), quickbuf(Stripe(Jv%, I).InQbuf)

'3) write in the stripe for next i

Stripe(Jv%, I + 1).locX = Stripe(Jv%, I).locX + c%
Stripe(Jv%, I + 1).InQbuf = Stripe(Jv%, I).InQbuf + Isize

Isize is the amount of integer i need for a piece of screen * 27:

IntSize:

d% = c% + 1

' GOTO skipsel

SELECT CASE d%

CASE 2 TO 8: Isize = 16
CASE 9 TO 16: Isize = 29
CASE 17 TO 24: Isize = 43
CASE 25 TO 32: Isize = 56
CASE 33 TO 40: Isize = 70
CASE 41 TO 48: Isize = 83
CASE 49 TO 56: Isize = 97
CASE 57 TO 64: Isize = 110
CASE 65 TO 72: Isize = 124
CASE 73 TO 80: Isize = 137
CASE 81 TO 88: Isize = 151
CASE 89 TO 96: Isize = 164
CASE 97 TO 102: Isize = 178
CASE 103 TO 110: Isize = 191
CASE 111 TO 118: Isize = 205
CASE 119 TO 124: Isize = 218

END SELECT





Posted on Oct 9, 2011, 1:12 PM

Respond to this message   

Return to Index


A couple of questions...

by (Login qb432l)
R

I'm not sure what you're trying to do, but when you used my empirical method to establish array size, did you use a temporary PSET in attribute 15 at the bottom right corner? Very important.

Also, are you still working in SCREEN 2 -- and if so, is it on the same machine, using the same operating system?

-Bob



    
This message has been edited by qb432l on Oct 9, 2011 4:16 PM

Posted on Oct 9, 2011, 4:16 PM

Respond to this message   

Return to Index


answer

by (no login)

= >did you use a temporary PSET in attribute 15 at the bottom right corner? Very important.

Omg, no :)

Also, are you still working in SCREEN 2 -- and if so, is it on the same machine, using the same operating system?

Screen 2 yes, but on different machines.

This is a routine to use less PUTs, there for i print in the right button corner 4 letters, then i GET them and store them into the big array. I calculate the space for storing the next 4 letters... so i get a serie of integers related to locations in the Array, but what i will do is inspect the big array, 1) printing every integer location i dumped in a file, or maybe with BSAVE & BLOAD; i need strategy to get closer to what is in the array...

-Bob


Posted on Oct 10, 2011, 5:06 AM

Respond to this message   

Return to Index


I think you already know this, but just in case...

by (Login qb432l)
R

You can store information in the array as to the size and location of an image in that array. For example, the first section of the array can be treated as a file header, wherein you store data about the number of images, their size and location within the array, etc. As data changes during program run, this "header" can be updated accordingly.

BTW, for using the temporary PSET during program run:

TempCOLOR = POINT(x, y) 'bottom-right corner of area to GET
PSET(x, y), 15 'temporary PSET
'determine array size
PSET(x, y), TempCOLOR

Although, I was thinking that if you're going to be establishing array size during program run, you may want to use QBasic's formula. It's a bit more complicated than the empirical method, but would be simpler in that it would only involve a calculation. To check it out, go to QBasic Help/Index/GET(graphics) then click (Screen Image Arrays and Compatibility).

-Bob

Posted on Oct 10, 2011, 6:49 AM

Respond to this message   

Return to Index


memory

by (no login)

Hi the Bob

Could you please remember me how to run your graphic tutos ? no readme there... also the original empirical. bas is hard to find.

i just draw a square in screen 2, like 2 x 27, and also 3 x 27 etc, and run the empirical.bas. But forgot the PSET since i thought it doesn't matter... also no clue about headers :)

Posted on Oct 10, 2011, 8:59 AM

Respond to this message   

Return to Index


Sure...

by (Login qb432l)
R

Go to my graphics forum and click "Tutorials". After downloading/unzipping the QBG1.zip and QBG2.zip files, run QBG.EXE. The section on the empirical method of determining array size is in Lesson 8.

Yes, the temporary PSET is important, since the empirical method searches for the first non-zero element in the array using a FOR loop with a minus step value. If the bottom-right pixel is a zero, for example, the loop will keep searching and the array size will be too small. Since you're GET'ing characters against a zero background, it's entirely possible that the loop will find a lot of "necessary" zeros before it gets to a non-zero pixel.

Forget the word "header". All you really have to know is that you can reserve the first, say, 20 integers in your array for saving information about where images are stored in that array. No big deal, and you may not even need it for what you're doing.

-Bob



    
This message has been edited by qb432l on Oct 10, 2011 11:53 AM

Posted on Oct 10, 2011, 11:50 AM

Respond to this message   

Return to Index


QBG

by (no login)

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\main>cd "C:\Documents and Settings\main\Desktop\36_Qbg
2"

C:\Documents and Settings\main\Desktop\36_Qbg2>qbg

File not found in module QBG at address 0F8F:008D

Hit any key to return to system

Snowfall is working :)

Posted on Oct 10, 2011, 1:38 PM

Respond to this message   

Return to Index


I notice "qbg2" in your path information...

by (Login qb432l)
R

I think that your extraction utility created separate folders for QBG1.zip and QBG2.zip, hence the "file not found". Make sure that both zip's are extracted to the same directory. I just checked the downloads and they both work fine, so that's not the problem.

-Bob



    
This message has been edited by qb432l on Oct 10, 2011 9:56 PM
This message has been edited by qb432l on Oct 10, 2011 9:50 PM

Posted on Oct 10, 2011, 9:49 PM

Respond to this message   

Return to Index


videoprt

by (no login)

It works nicely, but i have to reinstall it every day ?

Windows XP SP3

Posted on Oct 6, 2011, 3:18 AM

Respond to this message   

Return to Index


* Are you running as administrator?

by (Login burger2227)
R

Posted on Oct 6, 2011, 9:10 AM

Respond to this message   

Return to Index


* yes.

by (no login)

p

Posted on Oct 6, 2011, 12:15 PM

Respond to this message   

Return to Index


Apparently Windows is fixing itself

by (Login burger2227)
R

After your next install of the fix program, remember the time and check the System32 folder files to see if any were changed at that time.

Compare the autoexec.nt and config.nt files there with the ones in the C:\WINDOWS\repair folder. DON'T ALTER the files in the repair folder. They are used as backups!

Also see if you can find any other System files changed by the fix.



Posted on Oct 6, 2011, 1:26 PM

Respond to this message   

Return to Index


i get also the warning that i replace newer files with older ones.

by (no login)

However the autexec.nt and config.nt seems to be the same.

Posted on Oct 9, 2011, 2:25 AM

Respond to this message   

Return to Index


Check the file dates

by (Login burger2227)
R

We probably have to find a Windows system file that is changed by the program. Something is changed that affects the way NTVDM uses the 32 bit video drivers.

First the INSTALL.BAT file creates a copy of your existing driver called vidprt0.sys in each of the following folders:

C:\WINDOWS\system32\ServicePackFiles\i386\
C:\WINDOWS\system32\system32\drivers\
C:\WINDOWS\system32\system32\dllcache\

Then it copies OVER the old videoprt.sys file with a different version dated June 13, 2004. Check to see if the file dates have been changed back.

C:\WINDOWS\system32\ServicePackFiles\i386\videoprt.sys
C:\WINDOWS\system32\system32\drivers\videoprt.sys
C:\WINDOWS\system32\system32\dllcache\videoprt.sys



    
This message has been edited by burger2227 on Oct 9, 2011 8:08 AM

Posted on Oct 9, 2011, 7:23 AM

Respond to this message   

Return to Index


dates :

by (no login)

C:\WINDOWS\system32\ServicePackFiles\i386\videoprt.sys

Missing, folder missing too, ServicePackFiles\

C:\WINDOWS\system32\system32\drivers\videoprt.sys

13/6/2004

C:\WINDOWS\system32\system32\dllcache\videoprt.sys

13/6/2004

Now it's not working...



Posted on Oct 9, 2011, 2:33 PM

Respond to this message   

Return to Index


What is C:\WINDOWS\system32\system32\?

by (Login burger2227)
R

It should be C:\WINDOWS\system32\ not twice!

It looks like the files copied correctly in two of the folders.

You may not have ServicePackFiles\i386 but you should have an i386 folder. Is it in there? My system has an OLDER version of the videoprt.sys file there anyhow.

Do a search of C:\ and see if you can find a newer version somewhere.

Posted on Oct 9, 2011, 3:39 PM

Respond to this message   

Return to Index


It's only the laptop (IBMT43), on tower PC no problem

by (no login)

I left home so i have no more the laptop. Under the ATX-PC QB runs perfectly well, except the monitor which makes auto adjustments, so i need to set it to forget that.

however i have a ibm X41 for testing...

Posted on Oct 11, 2011, 2:44 PM

Respond to this message   

Return to Index


I'm looking for a way to tidy up code

by Docfxit (Login Docfxit)
R

Does anyone know of a way to clean up code by re-indenting the lines of code so that it's easier to read?

In HTML or AutoIt there is a program called tidy. Is there something like that for QB64?

Thanks,

Docfxit

Posted on Oct 5, 2011, 7:09 PM

Respond to this message   

Return to Index


Go to Options in the QB64 IDE

by (Login burger2227)
R

In Code Layout you can set the spacing and indentation. Then load your code.

Posted on Oct 5, 2011, 7:14 PM

Respond to this message   

Return to Index


That's super. Very easy. :-)

by Docfxit (Login Docfxit)
R

I started qb64.exe
Loaded my bas file
Saved it.
All indented perfectly.

Thank you very much,

Docfxit

Posted on Oct 5, 2011, 8:04 PM

Respond to this message   

Return to Index


Untitled

by Docfxit (Login Docfxit)
R

I'm getting an error 62 "Check for the end of file with EOF " on the second line. How can I fix it so I don't get an error?

IF wsFileNum 0 AND NOT EOF(wsFileNum) THEN ' the port is open,
junk$ = INPUT$(LOC(wsFileNum), #wsFileNum)
END IF

What this is trying to do is clear out any left over characters in the com buffer. There isn't a physical com port on this laptop so I turned on a virtual com port with "Virtual serial ports emulator". I'm just testing on this laptop. When the program is put into production it will have a physical com port. That did allow the program to open the port but it probably can't read the buffer because it's not connected to anything.

Thanks,

Docfxit

Posted on Oct 5, 2011, 4:15 PM

Respond to this message   

Return to Index


The title should be error 62 "Check for the end of file

by (Login Docfxit)
R

Please see first post in this thread.

Posted on Oct 5, 2011, 5:16 PM

Respond to this message   

Return to Index


You cannot read an empty port. LOC will read 0 with no INPUT.

by (Login burger2227)
R

That is why you are getting that error. The receive buffer has to have something in it before it can be read.


WHILE LOC(filenumber) 'check to see if anything is in buffer
IN$ = INPUT$(1, filenumber) '1 byte at a time
PRINT IN$;
WEND

There is no sense in reading an empty port!

Posted on Oct 5, 2011, 5:41 PM

Respond to this message   

Return to Index


Re: You cannot read an empty port. LOC will read 0 with no INPUT.

by (Login Docfxit)
R

I'm not sure exactly what happens. Would this be correct?

IF wsFileNum 0 THEN ' the port is open, so read any chars
WHILE LOC(wsFileNum) 'check to see if anything is in buffer
junk$ = INPUT$(LOC(wsFileNum), #wsFileNum)
WEND
END IF


Posted on Oct 5, 2011, 6:31 PM

Respond to this message   

Return to Index


Re: You cannot read an empty port. LOC will read 0 with no INPUT.

by (Login MCalkins)
Moderator

IF wsFileNum 0 THEN

I assume you meant:

IF wsFileNum <> 0 THEN

Now that you are logged into Network54, there is a box at the bottom of the page when you are writing posts, "Enable formatted text". You need to uncheck that box each time you post when you post code. Otherwise, Network54 thinks that < is the start of an HTML tag.

It has been a long time since I've done anything with a serial port in QBASIC, so I am sure that both you and Clippy are more familiar with it than I am at the moment, and I feel that I am going out on a limb here. However, I wondered if perhaps LOC (location) should be LOF (length of file)? Also, couldn't you read one byte at a time inside a loop that tests for EOF(wsFileNum)? That might not be the most efficient way to do it, but it might work.

Regards,
Michael



    
This message has been edited by MCalkins on Oct 6, 2011 4:31 AM

Posted on Oct 6, 2011, 4:31 AM

Respond to this message   

Return to Index


On an empty COM port, you are wasting your time reading it

by (Login burger2227)
R

You need something to send data into the buffer. A loop-back plug could do that by sending data from the port back to itself as FIFO will allow that.

LOC is the standard way to read the buffer size and is specifically set up to be used in QB64. Originally Galleon did not have that working and problems came up. Another way would be to read the port with INP, but QB64 does not allow that. I have found a DLL called Inpout32 that allows you to do that, but with nothing on my port, all registers read 255 so all bits are set anyhow.

http://qb64.net/wiki/index.php?title=Port_Access_Libraries


PS: You have to log in to use hypertext links Michael.

Posted on Oct 6, 2011, 9:07 AM

Respond to this message   

Return to Index


Re: On an empty COM port, you are wasting your time reading it

by Docfxit (Login Docfxit)
R

Thank you for the response.

The reason I wanted to get this working is so the program will:
1. Not crash if it doesn't see a physical com port.
2. Post a message saying the com port isn't responding so the user will know something is wrong. The person that this program belongs to has had a com port go bad.

So I don't think I was wasting my time. I think it's working great right now.
The program also comes up with the same error if the physical com port is installed and working but the device isn't connected. Which is exactly what I want to happen.

Thanks for the help.

Docfxit

Posted on Oct 6, 2011, 5:47 PM

Respond to this message   

Return to Index


given your interest in COM ports

by (Login MCalkins)
Moderator

I wonder if you have seen this thread:

http://www.qb64.net/forum/index.php?topic=839.0

As I haven't read it, only glanced at it, I don't know if it contains any relevant info, but I figured you might be interested anyway.

By the way, I've emailed Pete about you wanting R group membership, but it might take him a while to notice... :-P

Regards,
Michael

Posted on Oct 6, 2011, 9:56 PM

Respond to this message   

Return to Index


Re: given your interest in COM ports

by Docfxit (Login Docfxit)
R

Thank you very much for the reply.

I did see that message before I left a message on this forum.

I also sent an email to Pete I think it was day before yesterday. But it was very nice of you to do that for me.

Thanks,

Docfxit

Posted on Oct 7, 2011, 10:31 AM

Respond to this message   

Return to Index


*I don't think he checks his email very often.

by (Login MCalkins)
Moderator

Posted on Oct 7, 2011, 7:00 PM

Respond to this message   

Return to Index


* He probably has been busy coaching. Haven't seen him in 2 weeks.

by (Login burger2227)
R

Posted on Oct 7, 2011, 8:12 PM

Respond to this message   

Return to Index


How to edit a post

by Docfxit (Login Docfxit)
R

I have a user name on network54.com.
I have validated my email address.
I have logged into network54.com
From there I can't get to this forum.
So when I use a link I have to get to this forum I'm not logged in.

How can I log into this foum so I can edit a post?

Thanks,

Docfxit

Posted on Oct 5, 2011, 1:39 PM

Respond to this message   

Return to Index


*It's all Network54, so if you're logged in "there", you're logged in "here".

by (Login qb432l)
R

*

Posted on Oct 5, 2011, 2:49 PM

Respond to this message   

Return to Index


Re: How to edit a post

by Docfxit (Login Docfxit)
R

If that's the case then how can I edit a post. I don't see anything I can click on to edit a post that I created.

Thanks,

Docfxit

Posted on Oct 5, 2011, 2:53 PM

Respond to this message   

Return to Index


If you are logged into Network 54 try editing NEW posts

by (Login burger2227)
R

You cannot edit posts you made while logged off!



    
This message has been edited by burger2227 on Oct 5, 2011 3:02 PM

Posted on Oct 5, 2011, 2:58 PM

Respond to this message   

Return to Index


Re: If you are logged into Network 54 try editing NEW posts

by Docfxit (Login Docfxit)
R

Yes That came to me also.

I was logged in when I created the post "How to edit a post"
I am logged in now. Why can't I edit it?

Thanks,

Docfxit

Posted on Oct 5, 2011, 3:21 PM

Respond to this message   

Return to Index


It should say Edit Message at the bottom when you view it.

by (Login burger2227)
R

If it doesn't then post a message asking to have Pete make you a member.

Look for it in the message you just posted.

Posted on Oct 5, 2011, 3:35 PM

Respond to this message   

Return to Index


Pete - Please make me a member so I can edit posts

by Docfxit (Login Docfxit)
R

Thanks,

Docfxit

Posted on Oct 5, 2011, 4:07 PM

Respond to this message   

Return to Index


QB64 is launching ntvdm.exe

by Docfxit (no login)

I thought qb64 is creating a 32bit object. Why when I run an exe created by qb64 would it be trying to launch ntvdm.exe.

When I run the program I'm working on I received a message from ZoneAlarm that the program I'm working is trying to launch ntvdm.exe.

My understanding is that ntvdm.exe adds emulation support in XP for 16-bit applications.

Thanks,

Docfxit

Posted on Oct 4, 2011, 2:56 PM

Respond to this message   

Return to Index


Post your code.

by (Login MCalkins)
Moderator

You can use ProcessMonitor from Microsoft SysInternals to monitor process events. By default, it displays way to much information, but you can create filters to narrow down the information.

I added a filter:

Event Class is not Process then exclude.

When I compile and run something like:

--------------------------------

ON ERROR GOTO errorhandler
OPEN "com3" FOR RANDOM AS 1
CLOSE

END

errorhandler:
' We have to move the error code into a variable or we won't
' see it because ERR is set to zero after the handler is done.
ErrorCode = ERR
LOCATE 8, 1 ' start out below the header

SELECT CASE ERR
CASE 7: PRINT "Out of memory "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE 24: PRINT "Device timeout "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE 52: PRINT "Bad file name or number "; "Error code"; ErrorCode; "on line "; _ERRORLINE; " File number *"; fid; "*"; wsFileNum
CASE 53: PRINT "That file does not exist "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE 62: PRINT "Check for the end of file with EOF "; "Error code "; ErrorCode; " on line "; _ERRORLINE; " "
CASE 64: PRINT "Bad file name "; "Error code "; ErrorCode; " on line "; _ERRORLINE; " "
CASE 68: PRINT "Device unavailable "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE 71: PRINT "Disk is not ready "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE 76: PRINT "That path does not exist "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE ELSE: PRINT "Error code "; ErrorCode; " on line "; _ERRORLINE
END
END SELECT
' This will remember multiple error codes in the array ErrorCodeHappened
ErrorIdx = ErrorIdx + 1
ErrorCodeHappened(ErrorIdx) = ERR
ErrorCodeLineHappened(ErrorIdx) = _ERRORLINE
IF ErrorIdx > 10 THEN
LOCATE 9, 1
FOR i = 1 TO ErrorIdx
PRINT "ErrorCodeHappened "; ErrorCodeHappened(i); "On Line "; ErrorCodeLineHappened(i)
NEXT i
END
END IF

IF ErrorCode = 68 THEN 'Device unavailable
ComPortOpen$ = "No " 'Show com port is not open for debugging
wsFileNum = 0 'Change file open status to closed
END IF
RESUME NEXT

--------------------------------

I get the following from ProcessMonitor. Notice that there is no ntvdm.exe.

Regards,
Michael

P.S. ProcessMonitor hogs memory like crazy, so don't leave it running too long.

--------------------------------


"Time of Day","Process Name","PID","Operation","Path","Result","Detail"
"8:15:54.1152229 PM","lsass.exe","800","Thread Create","","SUCCESS","Thread ID: 1860"
"8:15:54.1153048 PM","lsass.exe","800","Thread Create","","SUCCESS","Thread ID: 3336"
"8:15:54.6112097 PM","svchost.exe","1112","Thread Create","","SUCCESS","Thread ID: 644"
"8:15:54.6190221 PM","svchost.exe","1112","Thread Create","","SUCCESS","Thread ID: 3928"
"8:16:06.6544266 PM","svchost.exe","1112","Thread Exit","","SUCCESS","Thread ID: 3928, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:16:06.6547202 PM","svchost.exe","1112","Thread Exit","","SUCCESS","Thread ID: 644, User Time: 0.0156250, Kernel Time: 0.0312500"
"8:16:19.6295994 PM","cmd.exe","3408","Process Create","C:\q\qb64\qb64.exe","SUCCESS","PID: 712, Command line: qb64"
"8:16:19.6296048 PM","qb64.exe","712","Process Start","","SUCCESS","Parent PID: 3408"
"8:16:19.6296095 PM","qb64.exe","712","Thread Create","","SUCCESS","Thread ID: 1820"
"8:16:19.6315000 PM","qb64.exe","712","Load Image","C:\q\qb64\qb64.exe","SUCCESS","Image Base: 0x400000, Image Size: 0x920000"
"8:16:19.6318570 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"8:16:19.9703246 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"8:16:19.9874469 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"8:16:19.9878576 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"8:16:19.9884914 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"8:16:19.9889968 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"8:16:19.9895681 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"8:16:19.9903950 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"8:16:19.9926051 PM","qb64.exe","712","Load Image","C:\q\qb64\SDL_image.dll","SUCCESS","Image Base: 0x62e40000, Image Size: 0x20000"
"8:16:20.0063160 PM","qb64.exe","712","Load Image","C:\q\qb64\SDL.dll","SUCCESS","Image Base: 0x68100000, Image Size: 0x5d000"
"8:16:20.0108175 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"8:16:20.0146478 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\winmm.dll","SUCCESS","Image Base: 0x76b40000, Image Size: 0x2d000"
"8:16:20.0174708 PM","qb64.exe","712","Load Image","C:\q\qb64\SDL_mixer.dll","SUCCESS","Image Base: 0x61700000, Image Size: 0x74000"
"8:16:20.0207556 PM","qb64.exe","712","Load Image","C:\q\qb64\SDL_net.dll","SUCCESS","Image Base: 0x67c00000, Image Size: 0xa000"
"8:16:20.0238169 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\wsock32.dll","SUCCESS","Image Base: 0x71ad0000, Image Size: 0x9000"
"8:16:20.0268846 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\ws2_32.dll","SUCCESS","Image Base: 0x71ab0000, Image Size: 0x17000"
"8:16:20.0291927 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\ws2help.dll","SUCCESS","Image Base: 0x71aa0000, Image Size: 0x8000"
"8:16:20.0347040 PM","qb64.exe","712","Load Image","C:\q\qb64\SDL_ttf.dll","SUCCESS","Image Base: 0x6f4c0000, Image Size: 0xc000"
"8:16:20.0371904 PM","qb64.exe","712","Load Image","C:\q\qb64\libfreetype-6.dll","SUCCESS","Image Base: 0x657c0000, Image Size: 0x73000"
"8:16:20.0447014 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\winspool.drv","SUCCESS","Image Base: 0x73000000, Image Size: 0x26000"
"8:16:20.0467541 PM","qb64.exe","712","Load Image","C:\q\qb64\libgcc_s_sjlj-1.dll","SUCCESS","Image Base: 0x6cec0000, Image Size: 0x64000"
"8:16:20.0494472 PM","qb64.exe","712","Load Image","C:\q\qb64\libstdc++-6.dll","SUCCESS","Image Base: 0x6fc40000, Image Size: 0x455000"
"8:16:20.1580761 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\ddraw.dll","SUCCESS","Image Base: 0x73760000, Image Size: 0x4b000"
"8:16:20.1606871 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\dciman32.dll","SUCCESS","Image Base: 0x73bc0000, Image Size: 0x6000"
"8:16:20.1876897 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\MSCTF.dll","SUCCESS","Image Base: 0x74720000, Image Size: 0x4c000"
"8:16:20.1919651 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"8:16:20.2036260 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\msctfime.ime","SUCCESS","Image Base: 0x755c0000, Image Size: 0x2e000"
"8:16:20.2079540 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\ole32.dll","SUCCESS","Image Base: 0x774e0000, Image Size: 0x13e000"
"8:16:20.2424109 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\kbdus.dll","SUCCESS","Image Base: 0x5fff0000, Image Size: 0x4000"
"8:16:20.2605039 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\kbdus.dll","SUCCESS","Image Base: 0x5fff0000, Image Size: 0x4000"
"8:16:20.2666595 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\dsound.dll","SUCCESS","Image Base: 0x73f10000, Image Size: 0x5c000"
"8:16:20.2671707 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"8:16:20.2691207 PM","qb64.exe","712","Thread Create","","SUCCESS","Thread ID: 3968"
"8:16:21.0779123 PM","qb64.exe","712","Thread Create","","SUCCESS","Thread ID: 1956"
"8:16:21.0781911 PM","qb64.exe","712","Thread Create","","SUCCESS","Thread ID: 1456"
"8:16:21.1540479 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\apphelp.dll","SUCCESS","Image Base: 0x77b40000, Image Size: 0x22000"
"8:16:21.1678497 PM","qb64.exe","712","Process Create","C:\WINDOWS\system32\cmd.exe","SUCCESS","PID: 1796, Command line: cmd.exe /c ver"
"8:16:21.1678536 PM","cmd.exe","1796","Process Start","","SUCCESS","Parent PID: 712"
"8:16:21.1678570 PM","cmd.exe","1796","Thread Create","","SUCCESS","Thread ID: 4080"
"8:16:21.1683199 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\cmd.exe","SUCCESS","Image Base: 0x4ad00000, Image Size: 0x61000"
"8:16:21.1684811 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"8:16:21.2416527 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\oleaut32.dll","SUCCESS","Image Base: 0x77120000, Image Size: 0x8b000"
"8:16:21.2493427 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"8:16:21.2536718 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"8:16:21.2539528 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"8:16:21.2541450 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"8:16:21.2556455 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\shimeng.dll","SUCCESS","Image Base: 0x5cb70000, Image Size: 0x26000"
"8:16:21.2614401 PM","cmd.exe","1796","Load Image","C:\WINDOWS\AppPatch\AcGenral.dll","SUCCESS","Image Base: 0x6f880000, Image Size: 0x1ca000"
"8:16:21.2617907 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"8:16:21.2620614 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"8:16:21.2623176 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"8:16:21.2635247 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\winmm.dll","SUCCESS","Image Base: 0x76b40000, Image Size: 0x2d000"
"8:16:21.2639938 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\ole32.dll","SUCCESS","Image Base: 0x774e0000, Image Size: 0x13e000"
"8:16:21.2643879 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\oleaut32.dll","SUCCESS","Image Base: 0x77120000, Image Size: 0x8b000"
"8:16:21.2656836 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\msacm32.dll","SUCCESS","Image Base: 0x77be0000, Image Size: 0x15000"
"8:16:21.2659988 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"8:16:21.2662753 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\shell32.dll","SUCCESS","Image Base: 0x7c9c0000, Image Size: 0x817000"
"8:16:21.2667950 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\shlwapi.dll","SUCCESS","Image Base: 0x77f60000, Image Size: 0x76000"
"8:16:21.2674059 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\userenv.dll","SUCCESS","Image Base: 0x769c0000, Image Size: 0xb4000"
"8:16:21.2689142 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\uxtheme.dll","SUCCESS","Image Base: 0x5ad70000, Image Size: 0x38000"
"8:16:21.2745937 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"8:16:21.3036807 PM","cmd.exe","1796","Load Image","C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll","SUCCESS","Image Base: 0x773d0000, Image Size: 0x103000"
"8:16:21.3180071 PM","cmd.exe","1796","Load Image","C:\WINDOWS\system32\comctl32.dll","SUCCESS","Image Base: 0x5d090000, Image Size: 0x9a000"
"8:16:21.3350654 PM","cmd.exe","1796","Thread Exit","","SUCCESS","Thread ID: 4080, User Time: 0.0156250, Kernel Time: 0.0781250"
"8:16:21.3354325 PM","cmd.exe","1796","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0312500 seconds, Kernel Time: 0.0468750 seconds, Private Bytes: 1,986,560, Peak Private Bytes: 2,039,808, Working Set: 2,543,616, Peak Working Set: 2,560,000"
"8:16:21.3478611 PM","qb64.exe","712","Process Create","C:\WINDOWS\system32\cmd.exe","SUCCESS","PID: 3404, Command line: cmd.exe /c cd >.\internal\temp\root.txt"
"8:16:21.3478645 PM","cmd.exe","3404","Process Start","","SUCCESS","Parent PID: 712"
"8:16:21.3478678 PM","cmd.exe","3404","Thread Create","","SUCCESS","Thread ID: 3388"
"8:16:21.3484456 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\cmd.exe","SUCCESS","Image Base: 0x4ad00000, Image Size: 0x61000"
"8:16:21.3486179 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"8:16:21.4068762 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"8:16:21.4112122 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"8:16:21.4114742 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"8:16:21.4116975 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"8:16:21.4132809 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\shimeng.dll","SUCCESS","Image Base: 0x5cb70000, Image Size: 0x26000"
"8:16:21.4183067 PM","cmd.exe","3404","Load Image","C:\WINDOWS\AppPatch\AcGenral.dll","SUCCESS","Image Base: 0x6f880000, Image Size: 0x1ca000"
"8:16:21.4185751 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"8:16:21.4189190 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"8:16:21.4193012 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"8:16:21.4206816 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\winmm.dll","SUCCESS","Image Base: 0x76b40000, Image Size: 0x2d000"
"8:16:21.4210146 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\ole32.dll","SUCCESS","Image Base: 0x774e0000, Image Size: 0x13e000"
"8:16:21.4215780 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\oleaut32.dll","SUCCESS","Image Base: 0x77120000, Image Size: 0x8b000"
"8:16:21.4228559 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\msacm32.dll","SUCCESS","Image Base: 0x77be0000, Image Size: 0x15000"
"8:16:21.4233433 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"8:16:21.4236085 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\shell32.dll","SUCCESS","Image Base: 0x7c9c0000, Image Size: 0x817000"
"8:16:21.4241546 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\shlwapi.dll","SUCCESS","Image Base: 0x77f60000, Image Size: 0x76000"
"8:16:21.4245985 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\userenv.dll","SUCCESS","Image Base: 0x769c0000, Image Size: 0xb4000"
"8:16:21.4263180 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\uxtheme.dll","SUCCESS","Image Base: 0x5ad70000, Image Size: 0x38000"
"8:16:21.4314354 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"8:16:21.4579081 PM","cmd.exe","3404","Load Image","C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll","SUCCESS","Image Base: 0x773d0000, Image Size: 0x103000"
"8:16:21.4709673 PM","cmd.exe","3404","Load Image","C:\WINDOWS\system32\comctl32.dll","SUCCESS","Image Base: 0x5d090000, Image Size: 0x9a000"
"8:16:21.4810281 PM","cmd.exe","3404","Thread Exit","","SUCCESS","Thread ID: 3388, User Time: 0.0000000, Kernel Time: 0.1093750"
"8:16:21.4813923 PM","cmd.exe","3404","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0156250 seconds, Kernel Time: 0.0937500 seconds, Private Bytes: 1,986,560, Peak Private Bytes: 2,027,520, Working Set: 2,523,136, Peak Working Set: 2,539,520"
"8:16:24.1164339 PM","lsass.exe","800","Thread Exit","","SUCCESS","Thread ID: 3336, User Time: 0.0156250, Kernel Time: 0.0000000"
"8:16:25.1550263 PM","wmiprvse.exe","3256","Thread Exit","","SUCCESS","Thread ID: 3056, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:16:28.3246811 PM","Explorer.EXE","1980","Thread Exit","","SUCCESS","Thread ID: 2064, User Time: 0.3750000, Kernel Time: 1.4531250"
"8:16:28.3626717 PM","Explorer.EXE","1980","Thread Exit","","SUCCESS","Thread ID: 992, User Time: 0.1406250, Kernel Time: 0.3437500"
"8:16:35.4397885 PM","MsMpEng.exe","1076","Thread Exit","","SUCCESS","Thread ID: 2452, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:16:40.7513582 PM","firefox.exe","3672","Thread Create","","SUCCESS","Thread ID: 1348"
"8:16:40.7562189 PM","firefox.exe","3672","Thread Exit","","SUCCESS","Thread ID: 1348, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:16:42.3974071 PM","firefox.exe","3672","Thread Create","","SUCCESS","Thread ID: 3844"
"8:16:42.4073575 PM","firefox.exe","3672","Thread Exit","","SUCCESS","Thread ID: 3844, User Time: 0.0156250, Kernel Time: 0.0000000"
"8:16:45.4441267 PM","qb64.exe","712","Load Image","C:\Program Files\WIDCOMM\Bluetooth Software\BTKeyInd.dll","SUCCESS","Image Base: 0x10000000, Image Size: 0xf000"
"8:16:45.4480672 PM","qb64.exe","712","Load Image","C:\WINDOWS\system32\hccutils.dll","SUCCESS","Image Base: 0x7c20000, Image Size: 0x1a000"
"8:16:47.8450380 PM","lsass.exe","800","Thread Exit","","SUCCESS","Thread ID: 3936, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:16:53.6987202 PM","lsass.exe","800","Thread Exit","","SUCCESS","Thread ID: 2816, User Time: 0.0156250, Kernel Time: 0.0468750"
"8:17:23.9254457 PM","svchost.exe","972","Thread Exit","","SUCCESS","Thread ID: 2744, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:17:25.2311184 PM","wmiprvse.exe","3256","Thread Exit","","SUCCESS","Thread ID: 3244, User Time: 0.0156250, Kernel Time: 0.0312500"
"8:17:25.4584850 PM","qb64.exe","712","Process Create","C:\WINDOWS\system32\cmd.exe","SUCCESS","PID: 3368, Command line: cmd.exe /c .\bin\g -w -Wall -I.\i -I..\..\ -L.\l qbx.cpp libqbx.o -mwindows .\i686-w64-mingw32\lib\libimm32.a -lwinspool -lmingw32 -ln -lmix -limg -lttf -lmn -lSDL -s -o ""..\..\untitled.exe"""
"8:17:25.4584917 PM","cmd.exe","3368","Process Start","","SUCCESS","Parent PID: 712"
"8:17:25.4584961 PM","cmd.exe","3368","Thread Create","","SUCCESS","Thread ID: 708"
"8:17:25.4590515 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\cmd.exe","SUCCESS","Image Base: 0x4ad00000, Image Size: 0x61000"
"8:17:25.4593370 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"8:17:25.4627995 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"8:17:25.4719951 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"8:17:25.4724636 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"8:17:25.4727946 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"8:17:25.4756788 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\shimeng.dll","SUCCESS","Image Base: 0x5cb70000, Image Size: 0x26000"
"8:17:25.4841089 PM","cmd.exe","3368","Load Image","C:\WINDOWS\AppPatch\AcGenral.dll","SUCCESS","Image Base: 0x6f880000, Image Size: 0x1ca000"
"8:17:25.4845564 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"8:17:25.4848632 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"8:17:25.4851210 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"8:17:25.4861893 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\winmm.dll","SUCCESS","Image Base: 0x76b40000, Image Size: 0x2d000"
"8:17:25.4864718 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\ole32.dll","SUCCESS","Image Base: 0x774e0000, Image Size: 0x13e000"
"8:17:25.4868587 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\oleaut32.dll","SUCCESS","Image Base: 0x77120000, Image Size: 0x8b000"
"8:17:25.4883639 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\msacm32.dll","SUCCESS","Image Base: 0x77be0000, Image Size: 0x15000"
"8:17:25.4886329 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"8:17:25.4890391 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\shell32.dll","SUCCESS","Image Base: 0x7c9c0000, Image Size: 0x817000"
"8:17:25.4894020 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\shlwapi.dll","SUCCESS","Image Base: 0x77f60000, Image Size: 0x76000"
"8:17:25.4898579 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\userenv.dll","SUCCESS","Image Base: 0x769c0000, Image Size: 0xb4000"
"8:17:25.4910274 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\uxtheme.dll","SUCCESS","Image Base: 0x5ad70000, Image Size: 0x38000"
"8:17:25.4963806 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"8:17:25.5227250 PM","cmd.exe","3368","Load Image","C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll","SUCCESS","Image Base: 0x773d0000, Image Size: 0x103000"
"8:17:25.5360225 PM","cmd.exe","3368","Load Image","C:\WINDOWS\system32\comctl32.dll","SUCCESS","Image Base: 0x5d090000, Image Size: 0x9a000"
"8:17:25.5922944 PM","cmd.exe","3368","Process Create","C:\q\qb64\internal\c\bin\g.exe","SUCCESS","PID: 2364, Command line: .\bin\g -w -Wall -I.\i -I..\..\ -L.\l qbx.cpp libqbx.o -mwindows .\i686-w64-mingw32\lib\libimm32.a -lwinspool -lmingw32 -ln -lmix -limg -lttf -lmn -lSDL -s -o ""..\..\untitled.exe"""
"8:17:25.5922983 PM","g.exe","2364","Process Start","","SUCCESS","Parent PID: 3368"
"8:17:25.5923017 PM","g.exe","2364","Thread Create","","SUCCESS","Thread ID: 3268"
"8:17:25.5928973 PM","g.exe","2364","Load Image","C:\q\qb64\internal\c\bin\g.exe","SUCCESS","Image Base: 0x400000, Image Size: 0x55000"
"8:17:25.5930822 PM","g.exe","2364","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"8:17:25.6561914 PM","g.exe","2364","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"8:17:25.6574865 PM","g.exe","2364","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"8:17:25.6578670 PM","g.exe","2364","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"8:17:25.6581927 PM","g.exe","2364","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"8:17:25.6633859 PM","g.exe","2364","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"8:17:25.6635680 PM","g.exe","2364","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"8:17:25.6638563 PM","g.exe","2364","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"8:17:25.6641198 PM","g.exe","2364","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"8:17:25.7035695 PM","g.exe","2364","Process Create","c:\q\qb64\internal\c\libexec\gcc\i686-w64-mingw32\4.6.1\cc1plus.exe","SUCCESS","PID: 1404, Command line: ""c:/q/qb64/internal/c/bin/../libexec/gcc/i686-w64-mingw32/4.6.1/cc1plus.exe"" ""-quiet"" ""-I"" "".\i"" ""-I"" ""..\..\\"" ""-iprefix"" ""c:\q\qb64\internal\c\bin\../lib/gcc/i686-w64-mingw32/4.6.1/"" ""qbx.cpp"" ""-quiet"" ""-dumpbase"" ""qbx.cpp"" ""-mwindows"" ""-mtune=generic"" ""-march=pentiumpro"" ""-auxbase"" ""qbx"" ""-Wall"" ""-w"" ""-o"" ""C:\DOCUME~1\Owner\LOCALS~1\Temp\cctjUKYV.s"""
"8:17:25.7035734 PM","cc1plus.exe","1404","Process Start","","SUCCESS","Parent PID: 2364"
"8:17:25.7035764 PM","cc1plus.exe","1404","Thread Create","","SUCCESS","Thread ID: 692"
"8:17:25.7042011 PM","cc1plus.exe","1404","Load Image","C:\q\qb64\internal\c\libexec\gcc\i686-w64-mingw32\4.6.1\cc1plus.exe","SUCCESS","Image Base: 0x400000, Image Size: 0xa9b000"
"8:17:25.7043545 PM","cc1plus.exe","1404","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"8:17:25.9214921 PM","wmiprvse.exe","3256","Thread Create","","SUCCESS","Thread ID: 3812"
"8:17:26.0412023 PM","cc1plus.exe","1404","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"8:17:26.0519713 PM","cc1plus.exe","1404","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"8:17:26.0522800 PM","cc1plus.exe","1404","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"8:17:26.0525096 PM","cc1plus.exe","1404","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"8:17:26.0579695 PM","cc1plus.exe","1404","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"8:17:26.0581500 PM","cc1plus.exe","1404","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"8:17:26.0584517 PM","cc1plus.exe","1404","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"8:17:26.0588660 PM","cc1plus.exe","1404","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"8:17:26.3758574 PM","procexp.exe","2736","Thread Create","","SUCCESS","Thread ID: 3888"
"8:17:26.3762393 PM","procexp.exe","2736","Thread Exit","","SUCCESS","Thread ID: 3888, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:17:26.4400983 PM","MsMpEng.exe","1076","Thread Create","","SUCCESS","Thread ID: 3180"
"8:17:29.1035563 PM","cc1plus.exe","1404","Thread Exit","","SUCCESS","Thread ID: 692, User Time: 1.0781250, Kernel Time: 1.0156250"
"8:17:29.1040868 PM","cc1plus.exe","1404","Process Exit","","SUCCESS","Exit Status: 0, User Time: 1.0937500 seconds, Kernel Time: 0.7031250 seconds, Private Bytes: 38,428,672, Peak Private Bytes: 38,891,520, Working Set: 42,102,784, Peak Working Set: 42,520,576"
"8:17:29.1355422 PM","g.exe","2364","Process Create","c:\q\qb64\internal\c\i686-w64-mingw32\bin\as.exe","SUCCESS","PID: 212, Command line: ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/bin/as.exe"" ""-o"" ""C:\DOCUME~1\Owner\LOCALS~1\Temp\ccEMpeS4.o"" ""C:\DOCUME~1\Owner\LOCALS~1\Temp\cctjUKYV.s"""
"8:17:29.1355456 PM","as.exe","212","Process Start","","SUCCESS","Parent PID: 2364"
"8:17:29.1355487 PM","as.exe","212","Thread Create","","SUCCESS","Thread ID: 1684"
"8:17:29.1363018 PM","as.exe","212","Load Image","C:\q\qb64\internal\c\i686-w64-mingw32\bin\as.exe","SUCCESS","Image Base: 0x400000, Image Size: 0x11a000"
"8:17:29.1364616 PM","as.exe","212","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"8:17:29.2038677 PM","as.exe","212","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"8:17:29.2062171 PM","as.exe","212","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"8:17:29.2065990 PM","as.exe","212","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"8:17:29.2068049 PM","as.exe","212","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"8:17:29.2156373 PM","as.exe","212","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"8:17:29.2163494 PM","as.exe","212","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"8:17:29.2166783 PM","as.exe","212","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"8:17:29.2172130 PM","as.exe","212","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"8:17:29.3219992 PM","as.exe","212","Thread Exit","","SUCCESS","Thread ID: 1684, User Time: 0.0156250, Kernel Time: 0.0937500"
"8:17:29.3223643 PM","as.exe","212","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0312500 seconds, Kernel Time: 0.0937500 seconds, Private Bytes: 3,272,704, Peak Private Bytes: 3,338,240, Working Set: 4,780,032, Peak Working Set: 4,784,128"
"8:17:29.3962891 PM","g.exe","2364","Process Create","c:\q\qb64\internal\c\libexec\gcc\i686-w64-mingw32\4.6.1\collect2.exe","SUCCESS","PID: 3768, Command line: ""c:/q/qb64/internal/c/bin/../libexec/gcc/i686-w64-mingw32/4.6.1/collect2.exe"" ""--sysroot=/home/drangon/work/mingw-w64-dgn_32/target"" ""-m"" ""i386pe"" ""--subsystem"" ""windows"" ""-Bdynamic"" ""-o"" ""..\..\untitled.exe"" ""-s"" ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/lib/../lib/crt2.o"" ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/crtbegin.o"" ""-L.\l"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/lib/../lib"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../lib"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/lib"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../.."" ""C:\DOCUME~1\Owner\LOCALS~1\Temp\ccEMpeS4.o"" ""libqbx.o"" "".\i686-w64-mingw32\lib\libimm32.a"" ""-lwinspool"" ""-lmingw32"" ""-ln"" ""-lmix"" ""-limg"" ""-lttf"" ""-lmn"" ""-lSDL"" ""-lstdc++"" ""-lmingw32"" ""-lgcc_s"" ""-lgcc"" ""-lmoldname"" ""-lmingwex"" ""-lmsvcrt"" ""-lgdi32"" ""-lcomdlg32"" ""-ladvapi32"" ""-lshell32"" ""-luser32"" ""-lkernel32"" ""-lmingw32"" ""-lgcc_s"" ""-lgcc"" ""-lmoldname"" ""-lmingwex"" ""-lmsvcrt"" ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/crtend.o"""
"8:17:29.3962933 PM","collect2.exe","3768","Process Start","","SUCCESS","Parent PID: 2364"
"8:17:29.3962963 PM","collect2.exe","3768","Thread Create","","SUCCESS","Thread ID: 3668"
"8:17:29.3969609 PM","collect2.exe","3768","Load Image","C:\q\qb64\internal\c\libexec\gcc\i686-w64-mingw32\4.6.1\collect2.exe","SUCCESS","Image Base: 0x400000, Image Size: 0x2b000"
"8:17:29.3971146 PM","collect2.exe","3768","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"8:17:29.4484602 PM","collect2.exe","3768","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"8:17:29.4499330 PM","collect2.exe","3768","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"8:17:29.5368142 PM","collect2.exe","3768","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"8:17:29.5371749 PM","collect2.exe","3768","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"8:17:29.5374517 PM","collect2.exe","3768","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"8:17:29.5456541 PM","collect2.exe","3768","Process Create","c:\q\qb64\internal\c\i686-w64-mingw32\bin\ld.exe","SUCCESS","PID: 3944, Command line: ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/bin/ld.exe"" ""--sysroot=/home/drangon/work/mingw-w64-dgn_32/target"" ""-m"" ""i386pe"" ""--subsystem"" ""windows"" ""-Bdynamic"" ""-o"" ""..\..\untitled.exe"" ""-s"" ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/lib/../lib/crt2.o"" ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/crtbegin.o"" ""-L.\l"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/lib/../lib"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../lib"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/lib"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../.."" ""C:\DOCUME~1\Owner\LOCALS~1\Temp\ccEMpeS4.o"" ""libqbx.o"" "".\i686-w64-mingw32\lib\libimm32.a"" ""-lwinspool"" ""-lmingw32"" ""-ln"" ""-lmix"" ""-limg"" ""-lttf"" ""-lmn"" ""-lSDL"" ""-lstdc++"" ""-lmingw32"" ""-lgcc_s"" ""-lgcc"" ""-lmoldname"" ""-lmingwex"" ""-lmsvcrt"" ""-lgdi32"" ""-lcomdlg32"" ""-ladvapi32"" ""-lshell32"" ""-luser32"" ""-lkernel32"" ""-lmingw32"" ""-lgcc_s"" ""-lgcc"" ""-lmoldname"" ""-lmingwex"" ""-lmsvcrt"" ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/crtend.o"""
"8:17:29.5456603 PM","ld.exe","3944","Process Start","","SUCCESS","Parent PID: 3768"
"8:17:29.5456634 PM","ld.exe","3944","Thread Create","","SUCCESS","Thread ID: 1460"
"8:17:29.5463431 PM","ld.exe","3944","Load Image","C:\q\qb64\internal\c\i686-w64-mingw32\bin\ld.exe","SUCCESS","Image Base: 0x400000, Image Size: 0xe1000"
"8:17:29.5464961 PM","ld.exe","3944","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"8:17:29.7916960 PM","ld.exe","3944","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"8:17:29.8000063 PM","ld.exe","3944","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"8:17:29.8004809 PM","ld.exe","3944","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"8:17:29.8006916 PM","ld.exe","3944","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"8:17:29.8058414 PM","ld.exe","3944","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"8:17:29.8060255 PM","ld.exe","3944","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"8:17:29.8063705 PM","ld.exe","3944","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"8:17:29.8066605 PM","ld.exe","3944","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"8:17:30.5260357 PM","Explorer.EXE","1980","Thread Create","","SUCCESS","Thread ID: 3956"
"8:17:32.2525063 PM","ld.exe","3944","Thread Exit","","SUCCESS","Thread ID: 1460, User Time: 0.2031250, Kernel Time: 1.9218750"
"8:17:32.2528722 PM","ld.exe","3944","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.2187500 seconds, Kernel Time: 1.3437500 seconds, Private Bytes: 9,560,064, Peak Private Bytes: 10,956,800, Working Set: 10,977,280, Peak Working Set: 12,296,192"
"8:17:32.2630347 PM","collect2.exe","3768","Thread Exit","","SUCCESS","Thread ID: 3668, User Time: 0.0000000, Kernel Time: 0.0937500"
"8:17:32.2632317 PM","collect2.exe","3768","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0156250 seconds, Kernel Time: 0.0468750 seconds, Private Bytes: 352,256, Peak Private Bytes: 360,448, Working Set: 1,327,104, Peak Working Set: 1,331,200"
"8:17:32.2698817 PM","g.exe","2364","Thread Exit","","SUCCESS","Thread ID: 3268, User Time: 0.0000000, Kernel Time: 0.1250000"
"8:17:32.2702233 PM","g.exe","2364","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0156250 seconds, Kernel Time: 0.1093750 seconds, Private Bytes: 421,888, Peak Private Bytes: 446,464, Working Set: 1,712,128, Peak Working Set: 1,716,224"
"8:17:32.2716241 PM","cmd.exe","3368","Thread Exit","","SUCCESS","Thread ID: 708, User Time: 0.0000000, Kernel Time: 0.0781250"
"8:17:32.2719314 PM","cmd.exe","3368","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0156250 seconds, Kernel Time: 0.0312500 seconds, Private Bytes: 2,002,944, Peak Private Bytes: 2,052,096, Working Set: 2,641,920, Peak Working Set: 2,658,304"
"8:17:32.3308453 PM","qb64.exe","712","Process Create","C:\WINDOWS\system32\cmd.exe","SUCCESS","PID: 632, Command line: cmd.exe /c """"untitled.exe"""""
"8:17:32.3308483 PM","cmd.exe","632","Process Start","","SUCCESS","Parent PID: 712"
"8:17:32.3308514 PM","cmd.exe","632","Thread Create","","SUCCESS","Thread ID: 2092"
"8:17:32.3312744 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\cmd.exe","SUCCESS","Image Base: 0x4ad00000, Image Size: 0x61000"
"8:17:32.3314241 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"8:17:32.3344306 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"8:17:32.3383789 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"8:17:32.3387340 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"8:17:32.3389240 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"8:17:32.3427314 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\shimeng.dll","SUCCESS","Image Base: 0x5cb70000, Image Size: 0x26000"
"8:17:32.3515644 PM","cmd.exe","632","Load Image","C:\WINDOWS\AppPatch\AcGenral.dll","SUCCESS","Image Base: 0x6f880000, Image Size: 0x1ca000"
"8:17:32.3518438 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"8:17:32.3535118 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"8:17:32.3538261 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"8:17:32.3571950 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\winmm.dll","SUCCESS","Image Base: 0x76b40000, Image Size: 0x2d000"
"8:17:32.3574805 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\ole32.dll","SUCCESS","Image Base: 0x774e0000, Image Size: 0x13e000"
"8:17:32.3596392 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\oleaut32.dll","SUCCESS","Image Base: 0x77120000, Image Size: 0x8b000"
"8:17:32.3610997 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\msacm32.dll","SUCCESS","Image Base: 0x77be0000, Image Size: 0x15000"
"8:17:32.3613413 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"8:17:32.3622400 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\shell32.dll","SUCCESS","Image Base: 0x7c9c0000, Image Size: 0x817000"
"8:17:32.3625965 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\shlwapi.dll","SUCCESS","Image Base: 0x77f60000, Image Size: 0x76000"
"8:17:32.3629644 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\userenv.dll","SUCCESS","Image Base: 0x769c0000, Image Size: 0xb4000"
"8:17:32.3643048 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\uxtheme.dll","SUCCESS","Image Base: 0x5ad70000, Image Size: 0x38000"
"8:17:32.3690764 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"8:17:32.3981485 PM","cmd.exe","632","Load Image","C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll","SUCCESS","Image Base: 0x773d0000, Image Size: 0x103000"
"8:17:32.4117346 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\comctl32.dll","SUCCESS","Image Base: 0x5d090000, Image Size: 0x9a000"
"8:17:32.4233989 PM","cmd.exe","632","Load Image","C:\WINDOWS\system32\apphelp.dll","SUCCESS","Image Base: 0x77b40000, Image Size: 0x22000"
"8:17:32.4330091 PM","cmd.exe","632","Process Create","C:\q\qb64\untitled.exe","SUCCESS","PID: 2352, Command line: ""untitled.exe"""
"8:17:32.4330127 PM","untitled.exe","2352","Process Start","","SUCCESS","Parent PID: 632"
"8:17:32.4330161 PM","untitled.exe","2352","Thread Create","","SUCCESS","Thread ID: 3628"
"8:17:32.4335712 PM","untitled.exe","2352","Load Image","C:\q\qb64\untitled.exe","SUCCESS","Image Base: 0x400000, Image Size: 0x63a000"
"8:17:32.4337720 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"8:17:32.4920959 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"8:17:32.5097085 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"8:17:32.5099030 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"8:17:32.5103002 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"8:17:32.5106765 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"8:17:32.5111785 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"8:17:32.5114875 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"8:17:32.5126363 PM","untitled.exe","2352","Load Image","C:\q\qb64\SDL_image.dll","SUCCESS","Image Base: 0x62e40000, Image Size: 0x20000"
"8:17:32.5139269 PM","untitled.exe","2352","Load Image","C:\q\qb64\SDL.dll","SUCCESS","Image Base: 0x68100000, Image Size: 0x5d000"
"8:17:32.5142359 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"8:17:32.5158316 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\winmm.dll","SUCCESS","Image Base: 0x76b40000, Image Size: 0x2d000"
"8:17:32.5169105 PM","untitled.exe","2352","Load Image","C:\q\qb64\SDL_mixer.dll","SUCCESS","Image Base: 0x61700000, Image Size: 0x74000"
"8:17:32.5183339 PM","untitled.exe","2352","Load Image","C:\q\qb64\SDL_net.dll","SUCCESS","Image Base: 0x67c00000, Image Size: 0xa000"
"8:17:32.5196489 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\wsock32.dll","SUCCESS","Image Base: 0x71ad0000, Image Size: 0x9000"
"8:17:32.5210706 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\ws2_32.dll","SUCCESS","Image Base: 0x71ab0000, Image Size: 0x17000"
"8:17:32.5224981 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\ws2help.dll","SUCCESS","Image Base: 0x71aa0000, Image Size: 0x8000"
"8:17:32.5242204 PM","untitled.exe","2352","Load Image","C:\q\qb64\SDL_ttf.dll","SUCCESS","Image Base: 0x6f4c0000, Image Size: 0xc000"
"8:17:32.5252856 PM","untitled.exe","2352","Load Image","C:\q\qb64\libfreetype-6.dll","SUCCESS","Image Base: 0x657c0000, Image Size: 0x73000"
"8:17:32.5269973 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\winspool.drv","SUCCESS","Image Base: 0x73000000, Image Size: 0x26000"
"8:17:32.5279703 PM","untitled.exe","2352","Load Image","C:\q\qb64\libgcc_s_sjlj-1.dll","SUCCESS","Image Base: 0x6cec0000, Image Size: 0x64000"
"8:17:32.5292127 PM","untitled.exe","2352","Load Image","C:\q\qb64\libstdc++-6.dll","SUCCESS","Image Base: 0x6fc40000, Image Size: 0x455000"
"8:17:32.5727693 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\ddraw.dll","SUCCESS","Image Base: 0x73760000, Image Size: 0x4b000"
"8:17:32.5741195 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\dciman32.dll","SUCCESS","Image Base: 0x73bc0000, Image Size: 0x6000"
"8:17:32.5822398 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\MSCTF.dll","SUCCESS","Image Base: 0x74720000, Image Size: 0x4c000"
"8:17:32.5849876 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"8:17:32.5909376 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\msctfime.ime","SUCCESS","Image Base: 0x755c0000, Image Size: 0x2e000"
"8:17:32.5930188 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\ole32.dll","SUCCESS","Image Base: 0x774e0000, Image Size: 0x13e000"
"8:17:32.6034584 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\kbdus.dll","SUCCESS","Image Base: 0x5fff0000, Image Size: 0x4000"
"8:17:32.6067437 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\kbdus.dll","SUCCESS","Image Base: 0x5fff0000, Image Size: 0x4000"
"8:17:32.6104138 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\dsound.dll","SUCCESS","Image Base: 0x73f10000, Image Size: 0x5c000"
"8:17:32.6107258 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"8:17:32.6119313 PM","untitled.exe","2352","Thread Create","","SUCCESS","Thread ID: 1708"
"8:17:32.6969960 PM","procexp.exe","2736","Thread Create","","SUCCESS","Thread ID: 3488"
"8:17:32.6973553 PM","procexp.exe","2736","Thread Exit","","SUCCESS","Thread ID: 3488, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:17:32.9987235 PM","untitled.exe","2352","Thread Create","","SUCCESS","Thread ID: 1264"
"8:17:32.9989534 PM","untitled.exe","2352","Thread Create","","SUCCESS","Thread ID: 3852"
"8:17:33.2485329 PM","MsMpEng.exe","1076","Thread Create","","SUCCESS","Thread ID: 3500"
"8:17:33.2486513 PM","MsMpEng.exe","1076","Thread Create","","SUCCESS","Thread ID: 1224"
"8:17:33.2487399 PM","MsMpEng.exe","1076","Thread Create","","SUCCESS","Thread ID: 1160"
"8:17:36.3211133 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\oleaut32.dll","SUCCESS","Image Base: 0x77120000, Image Size: 0x8b000"
"8:17:36.5355956 PM","untitled.exe","2352","Load Image","C:\Program Files\WIDCOMM\Bluetooth Software\BTKeyInd.dll","SUCCESS","Image Base: 0x10000000, Image Size: 0xf000"
"8:17:36.5386574 PM","untitled.exe","2352","Load Image","C:\WINDOWS\system32\hccutils.dll","SUCCESS","Image Base: 0x2270000, Image Size: 0x1a000"
"8:17:36.5587485 PM","untitled.exe","2352","Thread Exit","","SUCCESS","Thread ID: 3852, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:17:36.5738463 PM","untitled.exe","2352","Thread Exit","","SUCCESS","Thread ID: 1264, User Time: 1.7187500, Kernel Time: 1.7187500"
"8:17:36.6066205 PM","untitled.exe","2352","Thread Exit","","SUCCESS","Thread ID: 1708, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:17:36.6366746 PM","untitled.exe","2352","Thread Exit","","SUCCESS","Thread ID: 3628, User Time: 0.3906250, Kernel Time: 0.1718750"
"8:17:36.6370501 PM","untitled.exe","2352","Process Exit","","SUCCESS","Exit Status: 0, User Time: 2.1250000 seconds, Kernel Time: 1.8593750 seconds, Private Bytes: 15,687,680, Peak Private Bytes: 16,781,312, Working Set: 6,639,616, Peak Working Set: 7,700,480"
"8:17:36.6389691 PM","cmd.exe","632","Thread Exit","","SUCCESS","Thread ID: 2092, User Time: 0.0000000, Kernel Time: 0.0625000"
"8:17:36.6393211 PM","cmd.exe","632","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0156250 seconds, Kernel Time: 0.0312500 seconds, Private Bytes: 2,043,904, Peak Private Bytes: 2,093,056, Working Set: 2,764,800, Peak Working Set: 2,781,184"
"8:17:36.7193366 PM","Explorer.EXE","1980","Thread Exit","","SUCCESS","Thread ID: 3956, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:17:45.6603941 PM","procexp.exe","2736","Thread Exit","","SUCCESS","Thread ID: 936, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:17:49.2957428 PM","svchost.exe","1112","Thread Exit","","SUCCESS","Thread ID: 804, User Time: 0.0000000, Kernel Time: 0.0156250"
"8:17:57.3289288 PM","MsMpEng.exe","1076","Thread Exit","","SUCCESS","Thread ID: 1140, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:18:00.8426883 PM","MsMpEng.exe","1076","Thread Exit","","SUCCESS","Thread ID: 3780, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:18:13.2489483 PM","MsMpEng.exe","1076","Thread Exit","","SUCCESS","Thread ID: 3180, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:18:13.2490734 PM","MsMpEng.exe","1076","Thread Exit","","SUCCESS","Thread ID: 1224, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:18:13.2491754 PM","MsMpEng.exe","1076","Thread Exit","","SUCCESS","Thread ID: 3500, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:18:13.3291777 PM","MsMpEng.exe","1076","Thread Exit","","SUCCESS","Thread ID: 1160, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:18:17.6701661 PM","MsMpEng.exe","1076","Thread Exit","","SUCCESS","Thread ID: 1196, User Time: 0.0156250, Kernel Time: 0.2968750"
"8:18:39.6595966 PM","firefox.exe","3672","Thread Exit","","SUCCESS","Thread ID: 3584, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:18:45.0414496 PM","firefox.exe","3672","Thread Exit","","SUCCESS","Thread ID: 124, User Time: 0.0000000, Kernel Time: 0.0000000"
"8:18:45.3150947 PM","firefox.exe","3672","Thread Exit","","SUCCESS","Thread ID: 2292, User Time: 0.0000000, Kernel Time: 0.0000000"



    
This message has been edited by MCalkins on Oct 4, 2011 6:38 PM

Posted on Oct 4, 2011, 6:35 PM

Respond to this message   

Return to Index


Re: Post your code.

by Docfxit (no login)

I found 5 instances of ntvdm.exe running. I found 144 instances of cmd.exe. I re-booted the machine. I ran the program I'm working on. I couldn't find ntvdm.exe running. I did find cmd.exe running twice. Maybe I'm not ending the program correctly. I'll be watching it to see what happens.

Thanks,

Docfxit

Posted on Oct 4, 2011, 9:16 PM

Respond to this message   

Return to Index


Re: Post your code.

by (Login MCalkins)
Moderator

cmd.exe is a win32 program, unlike command.com.

qb64.exe uses cmd.exe during the compilation process. QB64 SHELL statements use cmd.exe.

Regards,
Michael

P.S. I said ProcessMonitor hogs memory. It actually hogs the page file (unless you choose some other file) as it logs more and more events.



    
This message has been edited by MCalkins on Oct 5, 2011 5:15 AM
This message has been edited by MCalkins on Oct 5, 2011 5:09 AM

Posted on Oct 5, 2011, 5:05 AM

Respond to this message   

Return to Index


Re: Post your code.

by Docfxit (no login)

Thank you for the info...

I have two things I don't understand.

When I run this scalled down version of the program I am working on
1. Why doesn't cmd.exe go out of memory after the program terminates?
2. Why on the first loop of opening com1: the error is 68 (which is what I expect) and on all other loops the error is 64.

Please note: I do not have a physical com1: on this machine.

To test this please compile it. Bring up task manager. Click on the column heading "image name" to sort the list by program. Count how many cmd.exe you have running. Run this program. End the program by pressing the space bar or selecting the x in the upper right. You will now have one more cmd.exe that doesn't go away. My thinking is that it should end when the program ends.

When the program is run you will see a number of debugging statements on the screen. The 11 statements on the bottom are the easiest to see that error 68 happens on the first time through the open statement. All other times through the open statement error with 64. I don't see what changes to cause the error to change. I would expect the error to be 68 all the time with no physical com port on the machine.

*** Start of test program
DIM SHARED ErrorCodeHappened(1 TO 100) AS INTEGER ' Save Error Codes
DIM SHARED ErrorCodeLineHappened(1 TO 100) AS INTEGER ' Save Line Error Code happened on
DIM SHARED ErrorIdx ' index to remember err codes
ErrorIdx = 0
On ERROR GOTO ErrorHandler

IF portNum = 2 THEN ' setup port number as string
comPort$ = "COM2:"
ELSE
comPort$ = "COM1:"
END IF
CONST comMode$ = "9600,N,8,1,CS6000,DS6000" ' change baud here if you change s12 setting
x = 4
DO
IF wsFileNum = 0 THEN ' don't open if already open
wsFileNum = FREEFILE ' get an unused file number

'now open the serial port
LOCATE x, 1: PRINT "ComPort b4 = "; ComPort$; " comMode = "; comMode$; " wsFileNum = "; wsFileNum ' for debugging only
x = x + 1
ComPortOpen$ = "Yes"
OPEN comPort$ + comMode$ FOR RANDOM AS #wsFileNum
LOCATE x, 1: PRINT "After ComPort = "; ComPort$; "PortNum = "; PortNum; "wsFileNum = "; wsFileNum; "FREEFILE = "; FREEFILE; "Fid = "; Fid ' for debugging only
x = x + 1
IF wsFileNum = 0 THEN 'The com port is closed
COLOR 12: LOCATE 1, 1: PRINT "The weather station is not communicating to this PC com port"
COLOR 11: LOCATE 2, 1: PRINT " "
ELSE
EXIT DO ' If the com port is open exit out of this do loop
END if

END IF
LOOP 'This will continually loop until the com port is open
COLOR 11: LOCATE 1, 1: PRINT " "
END
ErrorHandler:
' We have to move the error code into a variable or we won't
' see it because ERR is set to zero after the handler is done.
ErrorCode = ERR
LOCATE x, 1 ' start out below the header
x = x + 1

SELECT CASE ERR
CASE 7: PRINT "Out of memory "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE 24: PRINT "Device timeout "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE 52: PRINT "Bad file name or number "; "Error code"; ErrorCode; "on line "; _ERRORLINE; " File number *"; fid; "*"; wsFileNum
CASE 53: PRINT "That file does not exist "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE 62: PRINT "Check for the end of file with EOF "; "Error code "; ErrorCode; " on line "; _ERRORLINE; ; " "
CASE 64: PRINT "Bad file name "; "Error code "; ErrorCode; " on line "; _ERRORLINE; ; " "
CASE 68: PRINT "Device unavailable "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE 71: PRINT "Disk is not ready "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE 76: PRINT "That path does not exist "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE ELSE: Print "Error code "; ErrorCode; " on line "; _ERRORLINE
END
END SELECT
' This will remember multiple error codes in the array ErrorCodeHappened
ErrorIdx = ErrorIdx + 1
PRINT "erroridx "; ErrorIdx
ErrorCodeHappened(ErrorIdx) = ERR
ErrorCodeLineHappened(ErrorIdx) = _ERRORLINE
IF ErrorIdx > 10 THEN
LOCATE x, 1
FOR i = 1 TO ErrorIdx
PRINT "ErrorCodeHappened "; ErrorCodeHappened(i); "On Line "; ErrorCodeLineHappened(i)
NEXT i
END 'When Errorodx > 10 this will end the program
END IF
PRINT "ErrorCode "; ErrorCode
IF ErrorCode = 68 THEN 'Device unavailable
ComPortOpen$ = "No " 'Show com port is not open for debugging
wsFileNum = 0 'Change file open status to closed
END IF
IF ComPortOpen$ = "Yes" AND ErrorCode = 64 THEN 'Device unavailable
ComPortOpen$ = "No " 'Show com port is not open for debugging
wsFileNum = 0 'Change file open status to closed
END IF
RESUME NEXT
*** End of test program

Thank you very much for looking at this. This really isn't a deal breaker for me. I'm pointing this out hopefully so QB64 can be enhanced.

Thanks,

Docfxit

Posted on Oct 5, 2011, 8:35 AM

Respond to this message   

Return to Index


Error 64 is "Bad file number". You can't use the same one unless closed.

by (Login burger2227)
R

Use FREEFILE to get another number.

filenumber% = FREEFILE



    
This message has been edited by burger2227 on Oct 5, 2011 11:45 AM

Posted on Oct 5, 2011, 11:43 AM

Respond to this message   

Return to Index


Re: Error 64 is "Bad file number". You can't use the same one unless closed.

by Docfxit (no login)

So if I understand this correctly:

I get a file number with filenumber% = FREEFILE
I try to open the com port with that file number
The open fails
I can't use the same file number.

Just trying to figure this out.
I know I can't close that file number because it never opened.

Thanks,

Docfxit

Posted on Oct 5, 2011, 1:05 PM

Respond to this message   

Return to Index


* You can try to CLOSE filenumber% without error. It won't hurt anything.

by (Login burger2227)
R

Posted on Oct 5, 2011, 1:14 PM

Respond to this message   

Return to Index


Re: * You can try to CLOSE filenumber% without error. It won't hurt anything.

by Docfxit (no login)

Getting a new filenumber is exactly what has always been in the program. I will try to close it to see if cmd.exe will drop out of memory.

Thanks,

Docfxit

Posted on Oct 5, 2011, 1:22 PM

Respond to this message   

Return to Index


Re: Error 64 is "Bad file number". You can't use the same one unless closed.

by (Login MCalkins)
Moderator

Error 64 is "Bad file name". Error 52 is "Bad file name or number". If the OPEN fails, then there is no reason to CLOSE the file since it isn't open, and you should be able to try again with the same number. (Notice that FREEFILE is still 1 after the failed OPEN.)

I don't know why you are getting 68 the first time and 64 the subsequent times. Galleon would probably be the one to best answer that.

Regards,
Michael

Posted on Oct 6, 2011, 4:15 AM

Respond to this message   

Return to Index


cmd terminates on my computer

by (Login MCalkins)
Moderator

>1. Why doesn't cmd.exe go out of memory after the program terminates?

It does on my computer. qb64.exe executes cmd.exe to compile the program:

PID: 4040, Command line: cmd.exe /c .\bin\g -w -Wall -I.\i -I..\..\ -L.\l qbx.cpp libqbx.o -mwindows .\i686-w64-mingw32\lib\libimm32.a -lwinspool -lmingw32 -ln -lmix -limg -lttf -lmn -lSDL -s -o "..\..\untitled.exe"

That cmd.exe executes g.exe, which executes cc1plus.exe, as.exe, and collect2.exe, which executes ld.exe. All of them, including cmd, terminate.

qb64.exe then executes cmd.exe to run your program:

PID: 3324, Command line: cmd.exe /c ""untitled.exe""

cmd.exe executes untitled.exe, and they both terminate.

I usually run both qbasic and qb64 from the command prompt (cmd.exe), but in this instance, I ran it using the Run dialog box in the start menu. Therefore, there were no instances of cmd.exe running after your program terminated. (verified in both ProcessExplorer and Task Manager.)

I am including my ProcessMonitor log from compiling your program once, and running it twice. Note that there are 3 instances of "Process Create" executing cmd.exe (PIDs: 4040, 3324, and 3592). All have associated "Process Exit"s.

The specific lines:

"5:08:02.2563026 AM","qb64.exe","3480","Process Create","C:\WINDOWS\system32\cmd.exe","SUCCESS","PID: 4040, Command line: cmd.exe /c .\bin\g -w -Wall -I.\i -I..\..\ -L.\l qbx.cpp libqbx.o -mwindows .\i686-w64-mingw32\lib\libimm32.a -lwinspool -lmingw32 -ln -lmix -limg -lttf -lmn -lSDL -s -o ""..\..\untitled.exe"""

"5:08:09.7168594 AM","cmd.exe","4040","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0156250 seconds, Kernel Time: 0.0468750 seconds, Private Bytes: 2,002,944, Peak Private Bytes: 2,052,096, Working Set: 2,625,536, Peak Working Set: 2,641,920"

"5:08:09.7430239 AM","qb64.exe","3480","Process Create","C:\WINDOWS\system32\cmd.exe","SUCCESS","PID: 3324, Command line: cmd.exe /c """"untitled.exe"""""

"5:08:51.6762431 AM","cmd.exe","3324","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0156250 seconds, Kernel Time: 0.0468750 seconds, Private Bytes: 2,043,904, Peak Private Bytes: 2,093,056, Working Set: 2,764,800, Peak Working Set: 2,781,184"

"5:09:25.7560530 AM","qb64.exe","3480","Process Create","C:\WINDOWS\system32\cmd.exe","SUCCESS","PID: 3592, Command line: cmd.exe /c """"untitled.exe"""""

"5:09:37.9520932 AM","cmd.exe","3592","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0156250 seconds, Kernel Time: 0.1250000 seconds, Private Bytes: 2,035,712, Peak Private Bytes: 2,084,864, Working Set: 2,641,920, Peak Working Set: 2,658,304"

Below is the complete log (with the filter I described earlier.)

Regards,
Michael

--------------------------------

"Time of Day","Process Name","PID","Operation","Path","Result","Detail"
"5:07:33.7924369 AM","svchost.exe","1112","Thread Create","","SUCCESS","Thread ID: 3048"
"5:07:33.7980496 AM","svchost.exe","1112","Thread Create","","SUCCESS","Thread ID: 3216"
"5:07:33.8797109 AM","svchost.exe","972","Process Create","C:\WINDOWS\system32\wbem\wmiprvse.exe","SUCCESS","PID: 3252, Command line: C:\WINDOWS\system32\wbem\wmiprvse.exe -Embedding"
"5:07:33.8797162 AM","wmiprvse.exe","3252","Process Start","","SUCCESS","Parent PID: 972"
"5:07:33.8797209 AM","wmiprvse.exe","3252","Thread Create","","SUCCESS","Thread ID: 3976"
"5:07:33.8808982 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\wbem\wmiprvse.exe","SUCCESS","Image Base: 0x1000000, Image Size: 0x3a000"
"5:07:33.8812351 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"5:07:34.0621374 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"5:07:34.0640899 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"5:07:34.0665832 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"5:07:34.0674808 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"5:07:34.0680613 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"5:07:34.0688760 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"5:07:34.0694649 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"5:07:34.0721247 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\wbem\wbemcomn.dll","SUCCESS","Image Base: 0x75290000, Image Size: 0x37000"
"5:07:34.0728013 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\ole32.dll","SUCCESS","Image Base: 0x774e0000, Image Size: 0x13e000"
"5:07:34.0738123 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\oleaut32.dll","SUCCESS","Image Base: 0x77120000, Image Size: 0x8b000"
"5:07:34.0768407 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\wbem\fastprox.dll","SUCCESS","Image Base: 0x75690000, Image Size: 0x76000"
"5:07:34.0797511 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\msvcp60.dll","SUCCESS","Image Base: 0x76080000, Image Size: 0x65000"
"5:07:34.0818969 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\ntdsapi.dll","SUCCESS","Image Base: 0x767a0000, Image Size: 0x13000"
"5:07:34.0843296 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\dnsapi.dll","SUCCESS","Image Base: 0x76f20000, Image Size: 0x27000"
"5:07:34.0862268 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\ws2_32.dll","SUCCESS","Image Base: 0x71ab0000, Image Size: 0x17000"
"5:07:34.0883167 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\ws2help.dll","SUCCESS","Image Base: 0x71aa0000, Image Size: 0x8000"
"5:07:34.0904765 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\netapi32.dll","SUCCESS","Image Base: 0x5b860000, Image Size: 0x55000"
"5:07:34.0910693 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\wldap32.dll","SUCCESS","Image Base: 0x76f60000, Image Size: 0x2c000"
"5:07:34.0933821 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\ncobjapi.dll","SUCCESS","Image Base: 0x5f770000, Image Size: 0xc000"
"5:07:34.0960526 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\shimeng.dll","SUCCESS","Image Base: 0x5cb70000, Image Size: 0x26000"
"5:07:34.1035223 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\AppPatch\AcGenral.dll","SUCCESS","Image Base: 0x6f880000, Image Size: 0x1ca000"
"5:07:34.1055912 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\winmm.dll","SUCCESS","Image Base: 0x76b40000, Image Size: 0x2d000"
"5:07:34.1082145 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\msacm32.dll","SUCCESS","Image Base: 0x77be0000, Image Size: 0x15000"
"5:07:34.1088995 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"5:07:34.1093423 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\shell32.dll","SUCCESS","Image Base: 0x7c9c0000, Image Size: 0x817000"
"5:07:34.1104994 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\shlwapi.dll","SUCCESS","Image Base: 0x77f60000, Image Size: 0x76000"
"5:07:34.1113288 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\userenv.dll","SUCCESS","Image Base: 0x769c0000, Image Size: 0xb4000"
"5:07:34.1140940 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\uxtheme.dll","SUCCESS","Image Base: 0x5ad70000, Image Size: 0x38000"
"5:07:34.1232519 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"5:07:34.1737798 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll","SUCCESS","Image Base: 0x773d0000, Image Size: 0x103000"
"5:07:34.1965098 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\comctl32.dll","SUCCESS","Image Base: 0x5d090000, Image Size: 0x9a000"
"5:07:34.2197831 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\xpsp2res.dll","SUCCESS","Image Base: 0x800000, Image Size: 0x2c5000"
"5:07:34.2229084 AM","wmiprvse.exe","3252","Thread Create","","SUCCESS","Thread ID: 2288"
"5:07:34.2264904 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\clbcatq.dll","SUCCESS","Image Base: 0x76fd0000, Image Size: 0x7f000"
"5:07:34.2276098 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\comres.dll","SUCCESS","Image Base: 0x77050000, Image Size: 0xc5000"
"5:07:34.2318064 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\wbem\wbemprox.dll","SUCCESS","Image Base: 0x74ef0000, Image Size: 0x8000"
"5:07:34.2333388 AM","wmiprvse.exe","3252","Thread Create","","SUCCESS","Thread ID: 176"
"5:07:34.2340338 AM","wmiprvse.exe","3252","Thread Create","","SUCCESS","Thread ID: 3832"
"5:07:34.2397116 AM","svchost.exe","1112","Thread Create","","SUCCESS","Thread ID: 3584"
"5:07:34.2451989 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\wbem\wbemsvc.dll","SUCCESS","Image Base: 0x74ed0000, Image Size: 0xe000"
"5:07:34.2552080 AM","wmiprvse.exe","3252","Thread Create","","SUCCESS","Thread ID: 852"
"5:07:34.2579044 AM","wmiprvse.exe","3252","Thread Create","","SUCCESS","Thread ID: 1480"
"5:07:34.2584593 AM","svchost.exe","1112","Thread Create","","SUCCESS","Thread ID: 288"
"5:07:34.2658113 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\wbem\wmiutils.dll","SUCCESS","Image Base: 0x75020000, Image Size: 0x1b000"
"5:07:34.2808579 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\wbem\wmiprov.dll","SUCCESS","Image Base: 0x72f20000, Image Size: 0x28000"
"5:07:34.2828071 AM","wmiprvse.exe","3252","Load Image","C:\WINDOWS\system32\wmi.dll","SUCCESS","Image Base: 0x76d30000, Image Size: 0x4000"
"5:07:34.2953570 AM","wmiprvse.exe","3252","Thread Create","","SUCCESS","Thread ID: 1356"
"5:07:34.3948476 AM","procexp.exe","2688","Thread Create","","SUCCESS","Thread ID: 3708"
"5:07:34.3955876 AM","procexp.exe","2688","Thread Exit","","SUCCESS","Thread ID: 3708, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:07:34.4582173 AM","svchost.exe","1112","Thread Create","","SUCCESS","Thread ID: 3840"
"5:07:34.4608305 AM","svchost.exe","1112","Thread Create","","SUCCESS","Thread ID: 1420"
"5:07:34.6485373 AM","MsMpEng.exe","1076","Thread Create","","SUCCESS","Thread ID: 3720"
"5:07:34.6888629 AM","svchost.exe","1112","Thread Create","","SUCCESS","Thread ID: 4072"
"5:07:34.6910967 AM","svchost.exe","1112","Thread Create","","SUCCESS","Thread ID: 3232"
"5:07:34.9742871 AM","MsMpEng.exe","1076","Process Create","c:\windows\system32\svchost.exe","SUCCESS","PID: 3300, Command line: ""c:\windows\system32\\svchost.exe"""
"5:07:34.9742905 AM","svchost.exe","3300","Process Start","","SUCCESS","Parent PID: 1076"
"5:07:34.9742935 AM","svchost.exe","3300","Thread Create","","SUCCESS","Thread ID: 3304"
"5:07:35.0907687 AM","svchost.exe","3300","Load Image","C:\WINDOWS\system32\svchost.exe","SUCCESS","Image Base: 0x1000000, Image Size: 0x6000"
"5:07:35.0919487 AM","svchost.exe","3300","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"5:07:35.1642445 AM","svchost.exe","3300","Thread Exit","","SUCCESS","Thread ID: 3304, User Time: 0.0000000, Kernel Time: 0.0312500"
"5:07:35.1646415 AM","svchost.exe","3300","Process Exit","","SUCCESS","Exit Status: -1073741790, User Time: 0.0156250 seconds, Kernel Time: 0.0468750 seconds, Private Bytes: 77,824, Peak Private Bytes: 81,920, Working Set: 77,824, Peak Working Set: 81,920"
"5:07:35.3492524 AM","lsass.exe","804","Thread Exit","","SUCCESS","Thread ID: 3556, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:07:35.3648535 AM","svchost.exe","972","Thread Create","","SUCCESS","Thread ID: 3312"
"5:07:35.3912158 AM","MsMpEng.exe","1076","Process Create","c:\windows\system32\svchost.exe","SUCCESS","PID: 3264, Command line: ""c:\windows\system32\\svchost.exe"""
"5:07:35.3912194 AM","svchost.exe","3264","Process Start","","SUCCESS","Parent PID: 1076"
"5:07:35.3912225 AM","svchost.exe","3264","Thread Create","","SUCCESS","Thread ID: 3372"
"5:07:36.9568726 AM","lsass.exe","804","Thread Create","","SUCCESS","Thread ID: 3496"
"5:07:37.4948323 AM","svchost.exe","3264","Load Image","C:\WINDOWS\system32\svchost.exe","SUCCESS","Image Base: 0x1000000, Image Size: 0x6000"
"5:07:37.4951181 AM","svchost.exe","3264","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"5:07:37.5484939 AM","svchost.exe","3264","Thread Exit","","SUCCESS","Thread ID: 3372, User Time: 0.0000000, Kernel Time: 0.0468750"
"5:07:37.5491862 AM","svchost.exe","3264","Process Exit","","SUCCESS","Exit Status: -1073741790, User Time: 0.0156250 seconds, Kernel Time: 0.1093750 seconds, Private Bytes: 77,824, Peak Private Bytes: 81,920, Working Set: 77,824, Peak Working Set: 81,920"
"5:07:41.0214372 AM","Explorer.EXE","1956","Thread Exit","","SUCCESS","Thread ID: 4076, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:07:42.2678856 AM","procexp.exe","2688","Load Image","C:\Program Files\WIDCOMM\Bluetooth Software\BTKeyInd.dll","SUCCESS","Image Base: 0x10000000, Image Size: 0xf000"
"5:07:42.2700236 AM","procexp.exe","2688","Load Image","C:\WINDOWS\system32\hccutils.dll","SUCCESS","Image Base: 0x1bf0000, Image Size: 0x1a000"
"5:07:43.9567625 AM","winlogon.exe","748","Process Create","C:\WINDOWS\system32\taskmgr.exe","SUCCESS","PID: 3072, Command line: taskmgr.exe"
"5:07:43.9567687 AM","taskmgr.exe","3072","Process Start","","SUCCESS","Parent PID: 748"
"5:07:43.9567737 AM","taskmgr.exe","3072","Thread Create","","SUCCESS","Thread ID: 1196"
"5:07:43.9815813 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\taskmgr.exe","SUCCESS","Image Base: 0x1000000, Image Size: 0x24000"
"5:07:43.9819023 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"5:07:43.9838090 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"5:07:43.9855539 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"5:07:43.9860936 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"5:07:43.9867013 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"5:07:44.0136508 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"5:07:44.0155795 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"5:07:44.0178399 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\iphlpapi.dll","SUCCESS","Image Base: 0x76d60000, Image Size: 0x19000"
"5:07:44.0213423 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"5:07:44.0235811 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\ws2_32.dll","SUCCESS","Image Base: 0x71ab0000, Image Size: 0x17000"
"5:07:44.0250718 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\ws2help.dll","SUCCESS","Image Base: 0x71aa0000, Image Size: 0x8000"
"5:07:44.0271609 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll","SUCCESS","Image Base: 0x773d0000, Image Size: 0x103000"
"5:07:44.0277171 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\shlwapi.dll","SUCCESS","Image Base: 0x77f60000, Image Size: 0x76000"
"5:07:44.0283934 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\shell32.dll","SUCCESS","Image Base: 0x7c9c0000, Image Size: 0x817000"
"5:07:44.0330812 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\vdmdbg.dll","SUCCESS","Image Base: 0x5ad60000, Image Size: 0xa000"
"5:07:44.0498294 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\shimeng.dll","SUCCESS","Image Base: 0x5cb70000, Image Size: 0x26000"
"5:07:44.0559749 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\AppPatch\AcGenral.dll","SUCCESS","Image Base: 0x6f880000, Image Size: 0x1ca000"
"5:07:44.0574516 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\winmm.dll","SUCCESS","Image Base: 0x76b40000, Image Size: 0x2d000"
"5:07:44.0580581 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\ole32.dll","SUCCESS","Image Base: 0x774e0000, Image Size: 0x13e000"
"5:07:44.0589188 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\oleaut32.dll","SUCCESS","Image Base: 0x77120000, Image Size: 0x8b000"
"5:07:44.0626084 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\msacm32.dll","SUCCESS","Image Base: 0x77be0000, Image Size: 0x15000"
"5:07:44.0631073 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"5:07:44.0635487 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\userenv.dll","SUCCESS","Image Base: 0x769c0000, Image Size: 0xb4000"
"5:07:44.0673227 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\uxtheme.dll","SUCCESS","Image Base: 0x5ad70000, Image Size: 0x38000"
"5:07:44.0763093 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"5:07:44.1634743 AM","taskmgr.exe","3072","Thread Create","","SUCCESS","Thread ID: 1836"
"5:07:44.1714630 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\MSCTF.dll","SUCCESS","Image Base: 0x74720000, Image Size: 0x4c000"
"5:07:44.1820085 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\msctfime.ime","SUCCESS","Image Base: 0x755c0000, Image Size: 0x2e000"
"5:07:44.2060518 AM","taskmgr.exe","3072","Thread Create","","SUCCESS","Thread ID: 1012"
"5:07:44.2773371 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\winsta.dll","SUCCESS","Image Base: 0x76360000, Image Size: 0x10000"
"5:07:44.2781210 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\netapi32.dll","SUCCESS","Image Base: 0x5b860000, Image Size: 0x55000"
"5:07:44.3389153 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\utildll.dll","SUCCESS","Image Base: 0x5adb0000, Image Size: 0xa000"
"5:07:44.3403144 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\tapi32.dll","SUCCESS","Image Base: 0x76eb0000, Image Size: 0x2f000"
"5:07:44.3412064 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\rtutils.dll","SUCCESS","Image Base: 0x76e80000, Image Size: 0xe000"
"5:07:44.3558096 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\setupapi.dll","SUCCESS","Image Base: 0x77920000, Image Size: 0xf3000"
"5:07:44.4048248 AM","taskmgr.exe","3072","Load Image","C:\WINDOWS\system32\wtsapi32.dll","SUCCESS","Image Base: 0x76f50000, Image Size: 0x8000"
"5:07:44.5266034 AM","procexp.exe","2688","Thread Create","","SUCCESS","Thread ID: 1708"
"5:07:44.5275924 AM","procexp.exe","2688","Thread Create","","SUCCESS","Thread ID: 3820"
"5:07:44.5283601 AM","procexp.exe","2688","Thread Create","","SUCCESS","Thread ID: 652"
"5:07:45.0822665 AM","procexp.exe","2688","Thread Exit","","SUCCESS","Thread ID: 1708, User Time: 0.1250000, Kernel Time: 0.0781250"
"5:07:46.6893596 AM","svchost.exe","1112","Thread Exit","","SUCCESS","Thread ID: 3048, User Time: 0.0468750, Kernel Time: 0.0156250"
"5:07:46.6901694 AM","svchost.exe","1112","Thread Exit","","SUCCESS","Thread ID: 4072, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:07:46.6935188 AM","svchost.exe","1112","Thread Exit","","SUCCESS","Thread ID: 3216, User Time: 0.0312500, Kernel Time: 0.0156250"
"5:08:02.2563026 AM","qb64.exe","3480","Process Create","C:\WINDOWS\system32\cmd.exe","SUCCESS","PID: 4040, Command line: cmd.exe /c .\bin\g -w -Wall -I.\i -I..\..\ -L.\l qbx.cpp libqbx.o -mwindows .\i686-w64-mingw32\lib\libimm32.a -lwinspool -lmingw32 -ln -lmix -limg -lttf -lmn -lSDL -s -o ""..\..\untitled.exe"""
"5:08:02.2563082 AM","cmd.exe","4040","Process Start","","SUCCESS","Parent PID: 3480"
"5:08:02.2563129 AM","cmd.exe","4040","Thread Create","","SUCCESS","Thread ID: 608"
"5:08:02.2568982 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\cmd.exe","SUCCESS","Image Base: 0x4ad00000, Image Size: 0x61000"
"5:08:02.2571613 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"5:08:02.2608705 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"5:08:02.2692553 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"5:08:02.2706717 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"5:08:02.2713341 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"5:08:02.2737467 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\shimeng.dll","SUCCESS","Image Base: 0x5cb70000, Image Size: 0x26000"
"5:08:02.2810038 AM","cmd.exe","4040","Load Image","C:\WINDOWS\AppPatch\AcGenral.dll","SUCCESS","Image Base: 0x6f880000, Image Size: 0x1ca000"
"5:08:02.2814714 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"5:08:02.2819818 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"5:08:02.2824551 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"5:08:02.2842673 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\winmm.dll","SUCCESS","Image Base: 0x76b40000, Image Size: 0x2d000"
"5:08:02.2849137 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\ole32.dll","SUCCESS","Image Base: 0x774e0000, Image Size: 0x13e000"
"5:08:02.2855974 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\oleaut32.dll","SUCCESS","Image Base: 0x77120000, Image Size: 0x8b000"
"5:08:02.2876761 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\msacm32.dll","SUCCESS","Image Base: 0x77be0000, Image Size: 0x15000"
"5:08:02.2883846 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"5:08:02.2888103 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\shell32.dll","SUCCESS","Image Base: 0x7c9c0000, Image Size: 0x817000"
"5:08:02.2894207 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\shlwapi.dll","SUCCESS","Image Base: 0x77f60000, Image Size: 0x76000"
"5:08:02.2903790 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\userenv.dll","SUCCESS","Image Base: 0x769c0000, Image Size: 0xb4000"
"5:08:02.2923672 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\uxtheme.dll","SUCCESS","Image Base: 0x5ad70000, Image Size: 0x38000"
"5:08:02.2990801 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"5:08:02.3400316 AM","cmd.exe","4040","Load Image","C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll","SUCCESS","Image Base: 0x773d0000, Image Size: 0x103000"
"5:08:02.3604013 AM","cmd.exe","4040","Load Image","C:\WINDOWS\system32\comctl32.dll","SUCCESS","Image Base: 0x5d090000, Image Size: 0x9a000"
"5:08:02.5166910 AM","cmd.exe","4040","Process Create","C:\q\qb64\internal\c\bin\g.exe","SUCCESS","PID: 3408, Command line: .\bin\g -w -Wall -I.\i -I..\..\ -L.\l qbx.cpp libqbx.o -mwindows .\i686-w64-mingw32\lib\libimm32.a -lwinspool -lmingw32 -ln -lmix -limg -lttf -lmn -lSDL -s -o ""..\..\untitled.exe"""
"5:08:02.5166943 AM","g.exe","3408","Process Start","","SUCCESS","Parent PID: 4040"
"5:08:02.5166974 AM","g.exe","3408","Thread Create","","SUCCESS","Thread ID: 188"
"5:08:02.5176095 AM","g.exe","3408","Load Image","C:\q\qb64\internal\c\bin\g.exe","SUCCESS","Image Base: 0x400000, Image Size: 0x55000"
"5:08:02.5178470 AM","g.exe","3408","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"5:08:02.5730076 AM","g.exe","3408","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"5:08:02.5742352 AM","g.exe","3408","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"5:08:02.5746028 AM","g.exe","3408","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"5:08:02.5749791 AM","g.exe","3408","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"5:08:02.5788519 AM","g.exe","3408","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"5:08:02.5790260 AM","g.exe","3408","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"5:08:02.5796342 AM","g.exe","3408","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"5:08:02.5799990 AM","g.exe","3408","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"5:08:02.7437648 AM","procexp.exe","2688","Thread Create","","SUCCESS","Thread ID: 1568"
"5:08:02.9609983 AM","procexp.exe","2688","Thread Exit","","SUCCESS","Thread ID: 1568, User Time: 0.0625000, Kernel Time: 0.0937500"
"5:08:03.5490493 AM","g.exe","3408","Process Create","c:\q\qb64\internal\c\libexec\gcc\i686-w64-mingw32\4.6.1\cc1plus.exe","SUCCESS","PID: 3600, Command line: ""c:/q/qb64/internal/c/bin/../libexec/gcc/i686-w64-mingw32/4.6.1/cc1plus.exe"" ""-quiet"" ""-I"" "".\i"" ""-I"" ""..\..\\"" ""-iprefix"" ""c:\q\qb64\internal\c\bin\../lib/gcc/i686-w64-mingw32/4.6.1/"" ""qbx.cpp"" ""-quiet"" ""-dumpbase"" ""qbx.cpp"" ""-mwindows"" ""-mtune=generic"" ""-march=pentiumpro"" ""-auxbase"" ""qbx"" ""-Wall"" ""-w"" ""-o"" ""C:\DOCUME~1\Owner\LOCALS~1\Temp\ccAkdCSX.s"""
"5:08:03.5490532 AM","cc1plus.exe","3600","Process Start","","SUCCESS","Parent PID: 3408"
"5:08:03.5490565 AM","cc1plus.exe","3600","Thread Create","","SUCCESS","Thread ID: 3364"
"5:08:03.5495577 AM","cc1plus.exe","3600","Load Image","C:\q\qb64\internal\c\libexec\gcc\i686-w64-mingw32\4.6.1\cc1plus.exe","SUCCESS","Image Base: 0x400000, Image Size: 0xa9b000"
"5:08:03.5497033 AM","cc1plus.exe","3600","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"5:08:04.3197187 AM","cc1plus.exe","3600","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"5:08:04.3259022 AM","cc1plus.exe","3600","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"5:08:04.3262070 AM","cc1plus.exe","3600","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"5:08:04.3264238 AM","cc1plus.exe","3600","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"5:08:04.3304704 AM","cc1plus.exe","3600","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"5:08:04.3306341 AM","cc1plus.exe","3600","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"5:08:04.3311138 AM","cc1plus.exe","3600","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"5:08:04.3314479 AM","cc1plus.exe","3600","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"5:08:05.3650326 AM","svchost.exe","972","Thread Create","","SUCCESS","Thread ID: 4052"
"5:08:05.3651698 AM","svchost.exe","972","Thread Exit","","SUCCESS","Thread ID: 3980, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:08:06.1738248 AM","MsMpEng.exe","1076","Thread Create","","SUCCESS","Thread ID: 548"
"5:08:06.6092924 AM","MsMpEng.exe","1076","Load Image","C:\WINDOWS\system32\cryptnet.dll","SUCCESS","Image Base: 0x75e60000, Image Size: 0x13000"
"5:08:06.6169484 AM","MsMpEng.exe","1076","Load Image","C:\WINDOWS\system32\sensapi.dll","SUCCESS","Image Base: 0x722b0000, Image Size: 0x5000"
"5:08:06.6188475 AM","MsMpEng.exe","1076","Load Image","C:\WINDOWS\system32\winhttp.dll","SUCCESS","Image Base: 0x4d4f0000, Image Size: 0x59000"
"5:08:06.7344538 AM","MsMpEng.exe","1076","Load Image","C:\WINDOWS\system32\cabinet.dll","SUCCESS","Image Base: 0x75150000, Image Size: 0x13000"
"5:08:06.9568782 AM","lsass.exe","804","Thread Exit","","SUCCESS","Thread ID: 856, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:08:07.5927870 AM","cc1plus.exe","3600","Thread Exit","","SUCCESS","Thread ID: 3364, User Time: 1.1093750, Kernel Time: 0.7031250"
"5:08:07.5932580 AM","cc1plus.exe","3600","Process Exit","","SUCCESS","Exit Status: 0, User Time: 1.1250000 seconds, Kernel Time: 0.5625000 seconds, Private Bytes: 39,915,520, Peak Private Bytes: 40,763,392, Working Set: 43,642,880, Peak Working Set: 44,412,928"
"5:08:08.0233523 AM","g.exe","3408","Process Create","c:\q\qb64\internal\c\i686-w64-mingw32\bin\as.exe","SUCCESS","PID: 3012, Command line: ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/bin/as.exe"" ""-o"" ""C:\DOCUME~1\Owner\LOCALS~1\Temp\ccLAYcYF.o"" ""C:\DOCUME~1\Owner\LOCALS~1\Temp\ccAkdCSX.s"""
"5:08:08.0233562 AM","as.exe","3012","Process Start","","SUCCESS","Parent PID: 3408"
"5:08:08.0233596 AM","as.exe","3012","Thread Create","","SUCCESS","Thread ID: 3040"
"5:08:08.0239552 AM","as.exe","3012","Load Image","C:\q\qb64\internal\c\i686-w64-mingw32\bin\as.exe","SUCCESS","Image Base: 0x400000, Image Size: 0x11a000"
"5:08:08.0241150 AM","as.exe","3012","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"5:08:08.0646003 AM","as.exe","3012","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"5:08:08.0790597 AM","as.exe","3012","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"5:08:08.0794013 AM","as.exe","3012","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"5:08:08.0796310 AM","as.exe","3012","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"5:08:08.0838985 AM","as.exe","3012","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"5:08:08.0840810 AM","as.exe","3012","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"5:08:08.0844134 AM","as.exe","3012","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"5:08:08.0847188 AM","as.exe","3012","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"5:08:08.2069779 AM","as.exe","3012","Thread Exit","","SUCCESS","Thread ID: 3040, User Time: 0.0312500, Kernel Time: 0.0625000"
"5:08:08.2074433 AM","as.exe","3012","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0468750 seconds, Kernel Time: 0.0468750 seconds, Private Bytes: 3,358,720, Peak Private Bytes: 3,424,256, Working Set: 4,870,144, Peak Working Set: 4,874,240"
"5:08:08.3111065 AM","g.exe","3408","Process Create","c:\q\qb64\internal\c\libexec\gcc\i686-w64-mingw32\4.6.1\collect2.exe","SUCCESS","PID: 3936, Command line: ""c:/q/qb64/internal/c/bin/../libexec/gcc/i686-w64-mingw32/4.6.1/collect2.exe"" ""--sysroot=/home/drangon/work/mingw-w64-dgn_32/target"" ""-m"" ""i386pe"" ""--subsystem"" ""windows"" ""-Bdynamic"" ""-o"" ""..\..\untitled.exe"" ""-s"" ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/lib/../lib/crt2.o"" ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/crtbegin.o"" ""-L.\l"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/lib/../lib"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../lib"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/lib"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../.."" ""C:\DOCUME~1\Owner\LOCALS~1\Temp\ccLAYcYF.o"" ""libqbx.o"" "".\i686-w64-mingw32\lib\libimm32.a"" ""-lwinspool"" ""-lmingw32"" ""-ln"" ""-lmix"" ""-limg"" ""-lttf"" ""-lmn"" ""-lSDL"" ""-lstdc++"" ""-lmingw32"" ""-lgcc_s"" ""-lgcc"" ""-lmoldname"" ""-lmingwex"" ""-lmsvcrt"" ""-lgdi32"" ""-lcomdlg32"" ""-ladvapi32"" ""-lshell32"" ""-luser32"" ""-lkernel32"" ""-lmingw32"" ""-lgcc_s"" ""-lgcc"" ""-lmoldname"" ""-lmingwex"" ""-lmsvcrt"" ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/crtend.o"""
"5:08:08.3111120 AM","collect2.exe","3936","Process Start","","SUCCESS","Parent PID: 3408"
"5:08:08.3111151 AM","collect2.exe","3936","Thread Create","","SUCCESS","Thread ID: 2172"
"5:08:08.3116873 AM","collect2.exe","3936","Load Image","C:\q\qb64\internal\c\libexec\gcc\i686-w64-mingw32\4.6.1\collect2.exe","SUCCESS","Image Base: 0x400000, Image Size: 0x2b000"
"5:08:08.3118471 AM","collect2.exe","3936","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"5:08:08.3441766 AM","collect2.exe","3936","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"5:08:08.3454645 AM","collect2.exe","3936","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"5:08:08.5782963 AM","collect2.exe","3936","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"5:08:08.5785927 AM","collect2.exe","3936","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"5:08:08.5789321 AM","collect2.exe","3936","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"5:08:08.5850483 AM","collect2.exe","3936","Process Create","c:\q\qb64\internal\c\i686-w64-mingw32\bin\ld.exe","SUCCESS","PID: 3656, Command line: ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/bin/ld.exe"" ""--sysroot=/home/drangon/work/mingw-w64-dgn_32/target"" ""-m"" ""i386pe"" ""--subsystem"" ""windows"" ""-Bdynamic"" ""-o"" ""..\..\untitled.exe"" ""-s"" ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/lib/../lib/crt2.o"" ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/crtbegin.o"" ""-L.\l"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/lib/../lib"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../lib"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../../../i686-w64-mingw32/lib"" ""-Lc:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/../../.."" ""C:\DOCUME~1\Owner\LOCALS~1\Temp\ccLAYcYF.o"" ""libqbx.o"" "".\i686-w64-mingw32\lib\libimm32.a"" ""-lwinspool"" ""-lmingw32"" ""-ln"" ""-lmix"" ""-limg"" ""-lttf"" ""-lmn"" ""-lSDL"" ""-lstdc++"" ""-lmingw32"" ""-lgcc_s"" ""-lgcc"" ""-lmoldname"" ""-lmingwex"" ""-lmsvcrt"" ""-lgdi32"" ""-lcomdlg32"" ""-ladvapi32"" ""-lshell32"" ""-luser32"" ""-lkernel32"" ""-lmingw32"" ""-lgcc_s"" ""-lgcc"" ""-lmoldname"" ""-lmingwex"" ""-lmsvcrt"" ""c:/q/qb64/internal/c/bin/../lib/gcc/i686-w64-mingw32/4.6.1/crtend.o"""
"5:08:08.5850552 AM","ld.exe","3656","Process Start","","SUCCESS","Parent PID: 3936"
"5:08:08.5850589 AM","ld.exe","3656","Thread Create","","SUCCESS","Thread ID: 2492"
"5:08:08.5854899 AM","ld.exe","3656","Load Image","C:\q\qb64\internal\c\i686-w64-mingw32\bin\ld.exe","SUCCESS","Image Base: 0x400000, Image Size: 0xe1000"
"5:08:08.5856813 AM","ld.exe","3656","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"5:08:08.5999074 AM","MsMpEng.exe","1076","Thread Create","","SUCCESS","Thread ID: 2592"
"5:08:08.6007578 AM","MsMpEng.exe","1076","Thread Create","","SUCCESS","Thread ID: 2624"
"5:08:08.6008246 AM","MsMpEng.exe","1076","Thread Create","","SUCCESS","Thread ID: 3268"
"5:08:08.9717063 AM","ld.exe","3656","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"5:08:08.9817749 AM","ld.exe","3656","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"5:08:08.9820836 AM","ld.exe","3656","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"5:08:08.9823809 AM","ld.exe","3656","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"5:08:08.9859735 AM","ld.exe","3656","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"5:08:08.9861529 AM","ld.exe","3656","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"5:08:08.9864859 AM","ld.exe","3656","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"5:08:08.9867851 AM","ld.exe","3656","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"5:08:09.6980693 AM","ld.exe","3656","Thread Exit","","SUCCESS","Thread ID: 2492, User Time: 0.2500000, Kernel Time: 0.4218750"
"5:08:09.6985568 AM","ld.exe","3656","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.2656250 seconds, Kernel Time: 0.3750000 seconds, Private Bytes: 9,568,256, Peak Private Bytes: 10,969,088, Working Set: 10,981,376, Peak Working Set: 12,304,384"
"5:08:09.7068168 AM","collect2.exe","3936","Thread Exit","","SUCCESS","Thread ID: 2172, User Time: 0.0000000, Kernel Time: 0.0468750"
"5:08:09.7071294 AM","collect2.exe","3936","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0156250 seconds, Kernel Time: 0.0312500 seconds, Private Bytes: 352,256, Peak Private Bytes: 360,448, Working Set: 1,323,008, Peak Working Set: 1,327,104"
"5:08:09.7126541 AM","g.exe","3408","Thread Exit","","SUCCESS","Thread ID: 188, User Time: 0.0312500, Kernel Time: 0.0625000"
"5:08:09.7131486 AM","g.exe","3408","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0468750 seconds, Kernel Time: 0.0468750 seconds, Private Bytes: 421,888, Peak Private Bytes: 446,464, Working Set: 1,708,032, Peak Working Set: 1,712,128"
"5:08:09.7163384 AM","cmd.exe","4040","Thread Exit","","SUCCESS","Thread ID: 608, User Time: 0.0000000, Kernel Time: 0.0625000"
"5:08:09.7168594 AM","cmd.exe","4040","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0156250 seconds, Kernel Time: 0.0468750 seconds, Private Bytes: 2,002,944, Peak Private Bytes: 2,052,096, Working Set: 2,625,536, Peak Working Set: 2,641,920"
"5:08:09.7430239 AM","qb64.exe","3480","Process Create","C:\WINDOWS\system32\cmd.exe","SUCCESS","PID: 3324, Command line: cmd.exe /c """"untitled.exe"""""
"5:08:09.7430276 AM","cmd.exe","3324","Process Start","","SUCCESS","Parent PID: 3480"
"5:08:09.7430309 AM","cmd.exe","3324","Thread Create","","SUCCESS","Thread ID: 3260"
"5:08:09.7434838 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\cmd.exe","SUCCESS","Image Base: 0x4ad00000, Image Size: 0x61000"
"5:08:09.7437271 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"5:08:09.7463419 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"5:08:09.7493233 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"5:08:09.7496250 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"5:08:09.7498821 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"5:08:09.7521717 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\shimeng.dll","SUCCESS","Image Base: 0x5cb70000, Image Size: 0x26000"
"5:08:09.7568505 AM","cmd.exe","3324","Load Image","C:\WINDOWS\AppPatch\AcGenral.dll","SUCCESS","Image Base: 0x6f880000, Image Size: 0x1ca000"
"5:08:09.7572883 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"5:08:09.7576364 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"5:08:09.7580574 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"5:08:09.7590243 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\winmm.dll","SUCCESS","Image Base: 0x76b40000, Image Size: 0x2d000"
"5:08:09.7593106 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\ole32.dll","SUCCESS","Image Base: 0x774e0000, Image Size: 0x13e000"
"5:08:09.7599920 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\oleaut32.dll","SUCCESS","Image Base: 0x77120000, Image Size: 0x8b000"
"5:08:09.7610589 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\msacm32.dll","SUCCESS","Image Base: 0x77be0000, Image Size: 0x15000"
"5:08:09.7613371 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"5:08:09.7619909 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\shell32.dll","SUCCESS","Image Base: 0x7c9c0000, Image Size: 0x817000"
"5:08:09.7626692 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\shlwapi.dll","SUCCESS","Image Base: 0x77f60000, Image Size: 0x76000"
"5:08:09.7631209 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\userenv.dll","SUCCESS","Image Base: 0x769c0000, Image Size: 0xb4000"
"5:08:09.7646099 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\uxtheme.dll","SUCCESS","Image Base: 0x5ad70000, Image Size: 0x38000"
"5:08:09.7692312 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"5:08:09.7934443 AM","cmd.exe","3324","Load Image","C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll","SUCCESS","Image Base: 0x773d0000, Image Size: 0x103000"
"5:08:09.8043298 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\comctl32.dll","SUCCESS","Image Base: 0x5d090000, Image Size: 0x9a000"
"5:08:09.8205159 AM","cmd.exe","3324","Load Image","C:\WINDOWS\system32\apphelp.dll","SUCCESS","Image Base: 0x77b40000, Image Size: 0x22000"
"5:08:09.8274305 AM","cmd.exe","3324","Process Create","C:\q\qb64\untitled.exe","SUCCESS","PID: 2984, Command line: ""untitled.exe"""
"5:08:09.8274341 AM","untitled.exe","2984","Process Start","","SUCCESS","Parent PID: 3324"
"5:08:09.8274545 AM","untitled.exe","2984","Thread Create","","SUCCESS","Thread ID: 2860"
"5:08:09.8279867 AM","untitled.exe","2984","Load Image","C:\q\qb64\untitled.exe","SUCCESS","Image Base: 0x400000, Image Size: 0x63b000"
"5:08:09.8283884 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"5:08:09.8859264 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"5:08:09.8999715 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"5:08:09.9001760 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"5:08:09.9006085 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"5:08:09.9010504 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"5:08:09.9013873 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"5:08:09.9016354 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"5:08:09.9028727 AM","untitled.exe","2984","Load Image","C:\q\qb64\SDL_image.dll","SUCCESS","Image Base: 0x62e40000, Image Size: 0x20000"
"5:08:09.9041793 AM","untitled.exe","2984","Load Image","C:\q\qb64\SDL.dll","SUCCESS","Image Base: 0x68100000, Image Size: 0x5d000"
"5:08:09.9044425 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"5:08:09.9056966 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\winmm.dll","SUCCESS","Image Base: 0x76b40000, Image Size: 0x2d000"
"5:08:09.9065369 AM","untitled.exe","2984","Load Image","C:\q\qb64\SDL_mixer.dll","SUCCESS","Image Base: 0x61700000, Image Size: 0x74000"
"5:08:09.9073501 AM","untitled.exe","2984","Load Image","C:\q\qb64\SDL_net.dll","SUCCESS","Image Base: 0x67c00000, Image Size: 0xa000"
"5:08:09.9085553 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\wsock32.dll","SUCCESS","Image Base: 0x71ad0000, Image Size: 0x9000"
"5:08:09.9097267 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\ws2_32.dll","SUCCESS","Image Base: 0x71ab0000, Image Size: 0x17000"
"5:08:09.9108011 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\ws2help.dll","SUCCESS","Image Base: 0x71aa0000, Image Size: 0x8000"
"5:08:09.9123695 AM","untitled.exe","2984","Load Image","C:\q\qb64\SDL_ttf.dll","SUCCESS","Image Base: 0x6f4c0000, Image Size: 0xc000"
"5:08:09.9130101 AM","untitled.exe","2984","Load Image","C:\q\qb64\libfreetype-6.dll","SUCCESS","Image Base: 0x657c0000, Image Size: 0x73000"
"5:08:09.9142384 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\winspool.drv","SUCCESS","Image Base: 0x73000000, Image Size: 0x26000"
"5:08:09.9151399 AM","untitled.exe","2984","Load Image","C:\q\qb64\libgcc_s_sjlj-1.dll","SUCCESS","Image Base: 0x6cec0000, Image Size: 0x64000"
"5:08:09.9158780 AM","untitled.exe","2984","Load Image","C:\q\qb64\libstdc++-6.dll","SUCCESS","Image Base: 0x6fc40000, Image Size: 0x455000"
"5:08:09.9626750 AM","procexp.exe","2688","Thread Create","","SUCCESS","Thread ID: 1676"
"5:08:09.9630360 AM","procexp.exe","2688","Thread Exit","","SUCCESS","Thread ID: 1676, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:08:09.9832114 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\ddraw.dll","SUCCESS","Image Base: 0x73760000, Image Size: 0x4b000"
"5:08:09.9876626 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\dciman32.dll","SUCCESS","Image Base: 0x73bc0000, Image Size: 0x6000"
"5:08:10.0066049 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\MSCTF.dll","SUCCESS","Image Base: 0x74720000, Image Size: 0x4c000"
"5:08:10.0091480 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"5:08:10.0157133 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\msctfime.ime","SUCCESS","Image Base: 0x755c0000, Image Size: 0x2e000"
"5:08:10.0174652 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\ole32.dll","SUCCESS","Image Base: 0x774e0000, Image Size: 0x13e000"
"5:08:10.0414225 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\kbdus.dll","SUCCESS","Image Base: 0x5fff0000, Image Size: 0x4000"
"5:08:10.0526264 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\kbdus.dll","SUCCESS","Image Base: 0x5fff0000, Image Size: 0x4000"
"5:08:10.0553332 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\dsound.dll","SUCCESS","Image Base: 0x73f10000, Image Size: 0x5c000"
"5:08:10.0557450 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"5:08:10.0567789 AM","untitled.exe","2984","Thread Create","","SUCCESS","Thread ID: 2856"
"5:08:10.9961407 AM","untitled.exe","2984","Thread Create","","SUCCESS","Thread ID: 3032"
"5:08:10.9963167 AM","untitled.exe","2984","Thread Create","","SUCCESS","Thread ID: 2324"
"5:08:11.0660206 AM","Explorer.EXE","1956","Thread Create","","SUCCESS","Thread ID: 656"
"5:08:11.2022334 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\oleaut32.dll","SUCCESS","Image Base: 0x77120000, Image Size: 0x8b000"
"5:08:12.3554328 AM","Explorer.EXE","1956","Thread Exit","","SUCCESS","Thread ID: 2932, User Time: 0.0000000, Kernel Time: 0.0156250"
"5:08:12.3993839 AM","Explorer.EXE","1956","Thread Exit","","SUCCESS","Thread ID: 3576, User Time: 0.0625000, Kernel Time: 0.2031250"
"5:08:14.4324716 AM","lsass.exe","804","Thread Exit","","SUCCESS","Thread ID: 3496, User Time: 0.0000000, Kernel Time: 0.0156250"
"5:08:15.4023357 AM","lsass.exe","804","Thread Create","","SUCCESS","Thread ID: 660"
"5:08:17.5496960 AM","MsMpEng.exe","1076","Thread Exit","","SUCCESS","Thread ID: 3564, User Time: 0.2812500, Kernel Time: 0.5156250"
"5:08:24.5273535 AM","procexp.exe","2688","Thread Exit","","SUCCESS","Thread ID: 3820, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:08:29.5285520 AM","procexp.exe","2688","Thread Exit","","SUCCESS","Thread ID: 652, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:08:35.3651753 AM","svchost.exe","972","Thread Create","","SUCCESS","Thread ID: 2416"
"5:08:35.3653354 AM","svchost.exe","972","Thread Exit","","SUCCESS","Thread ID: 4052, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:08:36.1747841 AM","MsMpEng.exe","1076","Thread Exit","","SUCCESS","Thread ID: 548, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:08:45.4042750 AM","lsass.exe","804","Thread Exit","","SUCCESS","Thread ID: 660, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:08:48.6035570 AM","MsMpEng.exe","1076","Thread Exit","","SUCCESS","Thread ID: 3720, User Time: 0.0156250, Kernel Time: 0.0000000"
"5:08:48.6035623 AM","MsMpEng.exe","1076","Thread Exit","","SUCCESS","Thread ID: 2592, User Time: 0.0156250, Kernel Time: 0.0000000"
"5:08:48.6036492 AM","MsMpEng.exe","1076","Thread Exit","","SUCCESS","Thread ID: 3460, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:08:48.6036573 AM","MsMpEng.exe","1076","Thread Exit","","SUCCESS","Thread ID: 2624, User Time: 0.0000000, Kernel Time: 0.0156250"
"5:08:51.5599585 AM","untitled.exe","2984","Load Image","C:\Program Files\WIDCOMM\Bluetooth Software\BTKeyInd.dll","SUCCESS","Image Base: 0x10000000, Image Size: 0xf000"
"5:08:51.5615182 AM","untitled.exe","2984","Load Image","C:\WINDOWS\system32\hccutils.dll","SUCCESS","Image Base: 0x2270000, Image Size: 0x1a000"
"5:08:51.5827712 AM","untitled.exe","2984","Thread Exit","","SUCCESS","Thread ID: 2324, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:08:51.5969280 AM","untitled.exe","2984","Thread Exit","","SUCCESS","Thread ID: 3032, User Time: 19.0625000, Kernel Time: 20.8750000"
"5:08:51.6436616 AM","untitled.exe","2984","Thread Exit","","SUCCESS","Thread ID: 2856, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:08:51.6737604 AM","untitled.exe","2984","Thread Exit","","SUCCESS","Thread ID: 2860, User Time: 0.9531250, Kernel Time: 0.7812500"
"5:08:51.6743118 AM","untitled.exe","2984","Process Exit","","SUCCESS","Exit Status: 0, User Time: 20.0312500 seconds, Kernel Time: 21.6562500 seconds, Private Bytes: 15,704,064, Peak Private Bytes: 16,797,696, Working Set: 6,701,056, Peak Working Set: 7,778,304"
"5:08:51.6757659 AM","cmd.exe","3324","Thread Exit","","SUCCESS","Thread ID: 3260, User Time: 0.0000000, Kernel Time: 0.0468750"
"5:08:51.6762431 AM","cmd.exe","3324","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0156250 seconds, Kernel Time: 0.0468750 seconds, Private Bytes: 2,043,904, Peak Private Bytes: 2,093,056, Working Set: 2,764,800, Peak Working Set: 2,781,184"
"5:08:51.7359585 AM","Explorer.EXE","1956","Thread Exit","","SUCCESS","Thread ID: 656, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:09:03.7489453 AM","taskmgr.exe","3072","Thread Exit","","SUCCESS","Thread ID: 1012, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:09:03.8026175 AM","taskmgr.exe","3072","Thread Exit","","SUCCESS","Thread ID: 1836, User Time: 0.0000000, Kernel Time: 0.0156250"
"5:09:03.8065127 AM","taskmgr.exe","3072","Thread Exit","","SUCCESS","Thread ID: 1196, User Time: 0.0312500, Kernel Time: 0.2656250"
"5:09:03.8080302 AM","taskmgr.exe","3072","Process Exit","","SUCCESS","Exit Status: 1, User Time: 0.0468750 seconds, Kernel Time: 0.2656250 seconds, Private Bytes: 1,130,496, Peak Private Bytes: 1,454,080, Working Set: 2,592,768, Peak Working Set: 4,820,992"
"5:09:05.3674050 AM","svchost.exe","972","Thread Create","","SUCCESS","Thread ID: 3488"
"5:09:05.3674385 AM","svchost.exe","972","Thread Exit","","SUCCESS","Thread ID: 3312, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:09:06.7013840 AM","lsass.exe","804","Thread Exit","","SUCCESS","Thread ID: 2468, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:09:16.4068234 AM","lsass.exe","804","Thread Exit","","SUCCESS","Thread ID: 1352, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:09:25.7560530 AM","qb64.exe","3480","Process Create","C:\WINDOWS\system32\cmd.exe","SUCCESS","PID: 3592, Command line: cmd.exe /c """"untitled.exe"""""
"5:09:25.7560594 AM","cmd.exe","3592","Process Start","","SUCCESS","Parent PID: 3480"
"5:09:25.7560650 AM","cmd.exe","3592","Thread Create","","SUCCESS","Thread ID: 3404"
"5:09:25.7566592 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\cmd.exe","SUCCESS","Image Base: 0x4ad00000, Image Size: 0x61000"
"5:09:25.7569324 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"5:09:25.7570710 AM","MsMpEng.exe","1076","Thread Create","","SUCCESS","Thread ID: 1568"
"5:09:25.7578943 AM","lsass.exe","804","Thread Create","","SUCCESS","Thread ID: 1752"
"5:09:25.8040113 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"5:09:25.8058733 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"5:09:25.8065069 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"5:09:25.8068848 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"5:09:25.8089815 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\shimeng.dll","SUCCESS","Image Base: 0x5cb70000, Image Size: 0x26000"
"5:09:25.8160522 AM","cmd.exe","3592","Load Image","C:\WINDOWS\AppPatch\AcGenral.dll","SUCCESS","Image Base: 0x6f880000, Image Size: 0x1ca000"
"5:09:25.8165660 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"5:09:25.8170859 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"5:09:25.8177963 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"5:09:25.8199561 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\winmm.dll","SUCCESS","Image Base: 0x76b40000, Image Size: 0x2d000"
"5:09:25.8206103 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\ole32.dll","SUCCESS","Image Base: 0x774e0000, Image Size: 0x13e000"
"5:09:25.8212794 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\oleaut32.dll","SUCCESS","Image Base: 0x77120000, Image Size: 0x8b000"
"5:09:25.8230204 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\msacm32.dll","SUCCESS","Image Base: 0x77be0000, Image Size: 0x15000"
"5:09:25.8236400 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"5:09:25.8241834 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\shell32.dll","SUCCESS","Image Base: 0x7c9c0000, Image Size: 0x817000"
"5:09:25.8248374 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\shlwapi.dll","SUCCESS","Image Base: 0x77f60000, Image Size: 0x76000"
"5:09:25.8257269 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\userenv.dll","SUCCESS","Image Base: 0x769c0000, Image Size: 0xb4000"
"5:09:25.8280090 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\uxtheme.dll","SUCCESS","Image Base: 0x5ad70000, Image Size: 0x38000"
"5:09:25.8357860 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"5:09:25.8773279 AM","cmd.exe","3592","Load Image","C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll","SUCCESS","Image Base: 0x773d0000, Image Size: 0x103000"
"5:09:25.8921596 AM","cmd.exe","3592","Load Image","C:\WINDOWS\system32\comctl32.dll","SUCCESS","Image Base: 0x5d090000, Image Size: 0x9a000"
"5:09:25.9035298 AM","cmd.exe","3592","Process Create","C:\q\qb64\untitled.exe","SUCCESS","PID: 3532, Command line: ""untitled.exe"""
"5:09:25.9035337 AM","untitled.exe","3532","Process Start","","SUCCESS","Parent PID: 3592"
"5:09:25.9035368 AM","untitled.exe","3532","Thread Create","","SUCCESS","Thread ID: 1996"
"5:09:25.9040192 AM","untitled.exe","3532","Load Image","C:\q\qb64\untitled.exe","SUCCESS","Image Base: 0x400000, Image Size: 0x63b000"
"5:09:25.9043880 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\ntdll.dll","SUCCESS","Image Base: 0x7c900000, Image Size: 0xb2000"
"5:09:25.9058346 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\kernel32.dll","SUCCESS","Image Base: 0x7c800000, Image Size: 0xf6000"
"5:09:25.9077759 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\imm32.dll","SUCCESS","Image Base: 0x76390000, Image Size: 0x1d000"
"5:09:25.9079477 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\advapi32.dll","SUCCESS","Image Base: 0x77dd0000, Image Size: 0x9b000"
"5:09:25.9082567 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\rpcrt4.dll","SUCCESS","Image Base: 0x77e70000, Image Size: 0x93000"
"5:09:25.9086095 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\secur32.dll","SUCCESS","Image Base: 0x77fe0000, Image Size: 0x11000"
"5:09:25.9088883 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\gdi32.dll","SUCCESS","Image Base: 0x77f10000, Image Size: 0x49000"
"5:09:25.9091498 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\user32.dll","SUCCESS","Image Base: 0x7e410000, Image Size: 0x91000"
"5:09:25.9100105 AM","untitled.exe","3532","Load Image","C:\q\qb64\SDL_image.dll","SUCCESS","Image Base: 0x62e40000, Image Size: 0x20000"
"5:09:25.9109807 AM","untitled.exe","3532","Load Image","C:\q\qb64\SDL.dll","SUCCESS","Image Base: 0x68100000, Image Size: 0x5d000"
"5:09:25.9112590 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\msvcrt.dll","SUCCESS","Image Base: 0x77c10000, Image Size: 0x58000"
"5:09:25.9124879 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\winmm.dll","SUCCESS","Image Base: 0x76b40000, Image Size: 0x2d000"
"5:09:25.9134746 AM","untitled.exe","3532","Load Image","C:\q\qb64\SDL_mixer.dll","SUCCESS","Image Base: 0x61700000, Image Size: 0x74000"
"5:09:25.9144136 AM","untitled.exe","3532","Load Image","C:\q\qb64\SDL_net.dll","SUCCESS","Image Base: 0x67c00000, Image Size: 0xa000"
"5:09:25.9154984 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\wsock32.dll","SUCCESS","Image Base: 0x71ad0000, Image Size: 0x9000"
"5:09:25.9165412 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\ws2_32.dll","SUCCESS","Image Base: 0x71ab0000, Image Size: 0x17000"
"5:09:25.9175975 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\ws2help.dll","SUCCESS","Image Base: 0x71aa0000, Image Size: 0x8000"
"5:09:25.9188292 AM","untitled.exe","3532","Load Image","C:\q\qb64\SDL_ttf.dll","SUCCESS","Image Base: 0x6f4c0000, Image Size: 0xc000"
"5:09:25.9196346 AM","untitled.exe","3532","Load Image","C:\q\qb64\libfreetype-6.dll","SUCCESS","Image Base: 0x657c0000, Image Size: 0x73000"
"5:09:25.9207110 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\winspool.drv","SUCCESS","Image Base: 0x73000000, Image Size: 0x26000"
"5:09:25.9215354 AM","untitled.exe","3532","Load Image","C:\q\qb64\libgcc_s_sjlj-1.dll","SUCCESS","Image Base: 0x6cec0000, Image Size: 0x64000"
"5:09:25.9222428 AM","untitled.exe","3532","Load Image","C:\q\qb64\libstdc++-6.dll","SUCCESS","Image Base: 0x6fc40000, Image Size: 0x455000"
"5:09:25.9282036 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\ddraw.dll","SUCCESS","Image Base: 0x73760000, Image Size: 0x4b000"
"5:09:25.9295052 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\dciman32.dll","SUCCESS","Image Base: 0x73bc0000, Image Size: 0x6000"
"5:09:25.9350120 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\MSCTF.dll","SUCCESS","Image Base: 0x74720000, Image Size: 0x4c000"
"5:09:25.9372651 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"5:09:25.9413522 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\msctfime.ime","SUCCESS","Image Base: 0x755c0000, Image Size: 0x2e000"
"5:09:25.9429854 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\ole32.dll","SUCCESS","Image Base: 0x774e0000, Image Size: 0x13e000"
"5:09:25.9529590 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\kbdus.dll","SUCCESS","Image Base: 0x5fff0000, Image Size: 0x4000"
"5:09:25.9554621 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\kbdus.dll","SUCCESS","Image Base: 0x5fff0000, Image Size: 0x4000"
"5:09:25.9582784 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\dsound.dll","SUCCESS","Image Base: 0x73f10000, Image Size: 0x5c000"
"5:09:25.9586033 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\version.dll","SUCCESS","Image Base: 0x77c00000, Image Size: 0x8000"
"5:09:25.9595545 AM","untitled.exe","3532","Thread Create","","SUCCESS","Thread ID: 1476"
"5:09:25.9962340 AM","untitled.exe","3532","Thread Create","","SUCCESS","Thread ID: 3596"
"5:09:25.9965908 AM","untitled.exe","3532","Thread Create","","SUCCESS","Thread ID: 3296"
"5:09:26.1850281 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\oleaut32.dll","SUCCESS","Image Base: 0x77120000, Image Size: 0x8b000"
"5:09:26.5695622 AM","procexp.exe","2688","Thread Create","","SUCCESS","Thread ID: 2384"
"5:09:26.5698843 AM","procexp.exe","2688","Thread Exit","","SUCCESS","Thread ID: 2384, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:09:28.7210253 AM","procexp.exe","2688","Thread Exit","","SUCCESS","Thread ID: 3280, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:09:31.4947228 AM","Explorer.EXE","1956","Thread Create","","SUCCESS","Thread ID: 2172"
"5:09:33.0774583 AM","svchost.exe","1112","Thread Exit","","SUCCESS","Thread ID: 708, User Time: 0.0000000, Kernel Time: 0.0156250"
"5:09:33.7152475 AM","firefox.exe","3672","Thread Exit","","SUCCESS","Thread ID: 1252, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:09:34.7922640 AM","MsMpEng.exe","1076","Thread Exit","","SUCCESS","Thread ID: 3836, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:09:35.3674279 AM","svchost.exe","972","Thread Exit","","SUCCESS","Thread ID: 2416, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:09:37.9048540 AM","untitled.exe","3532","Load Image","C:\Program Files\WIDCOMM\Bluetooth Software\BTKeyInd.dll","SUCCESS","Image Base: 0x10000000, Image Size: 0xf000"
"5:09:37.9065056 AM","untitled.exe","3532","Load Image","C:\WINDOWS\system32\hccutils.dll","SUCCESS","Image Base: 0x2270000, Image Size: 0x1a000"
"5:09:37.9267073 AM","untitled.exe","3532","Thread Exit","","SUCCESS","Thread ID: 3296, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:09:37.9407228 AM","untitled.exe","3532","Thread Exit","","SUCCESS","Thread ID: 3596, User Time: 5.7187500, Kernel Time: 5.9687500"
"5:09:37.9477008 AM","untitled.exe","3532","Thread Exit","","SUCCESS","Thread ID: 1476, User Time: 0.0000000, Kernel Time: 0.0000000"
"5:09:37.9489473 AM","untitled.exe","3532","Thread Exit","","SUCCESS","Thread ID: 1996, User Time: 0.0781250, Kernel Time: 0.3437500"
"5:09:37.9498502 AM","untitled.exe","3532","Process Exit","","SUCCESS","Exit Status: 0, User Time: 5.8125000 seconds, Kernel Time: 6.2968750 seconds, Private Bytes: 15,704,064, Peak Private Bytes: 16,797,696, Working Set: 6,680,576, Peak Working Set: 7,761,920"
"5:09:37.9516074 AM","cmd.exe","3592","Thread Exit","","SUCCESS","Thread ID: 3404, User Time: 0.0000000, Kernel Time: 0.1093750"
"5:09:37.9520932 AM","cmd.exe","3592","Process Exit","","SUCCESS","Exit Status: 0, User Time: 0.0156250 seconds, Kernel Time: 0.1250000 seconds, Private Bytes: 2,035,712, Peak Private Bytes: 2,084,864, Working Set: 2,641,920, Peak Working Set: 2,658,304"
"5:09:37.9763229 AM","Explorer.EXE","1956","Thread Exit","","SUCCESS","Thread ID: 2172, User Time: 0.0156250, Kernel Time: 0.0000000"

Posted on Oct 6, 2011, 3:58 AM

Respond to this message   

Return to Index


Re: cmd terminates on my computer

by Docfxit (Login Docfxit)
R

That is really nice of you to test this out for me.

After your test I figured it had to be the way I am executing it. I found that to be true. It's the way I was calling it from a bat file.

It's totally my fault.

I'm very sorry I wasted your time.

Thank you very much for helping figure this out.

Docfxit

Posted on Oct 6, 2011, 6:05 PM

Respond to this message   

Return to Index


*yw. It wasn't a waste; I learned something about the QB64 SHELL statement.

by (Login MCalkins)
Moderator

Posted on Oct 6, 2011, 6:25 PM

Respond to this message   

Return to Index


* What exactly did you learn Michael?

by (Login burger2227)
R

Posted on Oct 6, 2011, 9:15 PM

Respond to this message   

Return to Index


Re: * What exactly did you learn Michael?

by (Login MCalkins)
Moderator

mainly that you're right about SHELL already including "cmd.exe /c". Also, it made the GCC compilation process a little clearer.

Regards,
Michael

Posted on Oct 6, 2011, 9:35 PM

Respond to this message   

Return to Index


* OK, I thought that I missed something perhaps.

by (Login burger2227)
R

Posted on Oct 6, 2011, 11:21 PM

Respond to this message   

Return to Index


Alzheimer

by (no login)

Actually i didn't program for one year, and now i cannot bring myself to optimize & rework my program.. seems all overwhelming, so easy but so hard too.

Posted on Oct 4, 2011, 1:35 PM

Respond to this message   

Return to Index


How to test com port is open in qb64

by Docfxit (no login)

I have some code in qb64.
wsFileNumb = 1

OPEN comPort$ + comMode$ FOR RANDOM AS #wsFileNum

I need to know if the open command was successful.

How can I test it?

Thanks,

Docfxit

Posted on Oct 2, 2011, 1:26 PM

Respond to this message   

Return to Index


You need something on it like a loopback plug

by (Login burger2227)
R

You'll need a DB9 female plug jumpered as shown below. It will loop back to the COM port so you can read what you send:


[linked image]

Posted on Oct 2, 2011, 5:12 PM

Respond to this message   

Return to Index


How to test com port is open in qb64

by Docfxit (no login)

Thanks for the information.

Sorry I wasn't clear enough.

When the code gets to the Open Com1: statement and fails, the On Error statement doesn't get triggered in qb64. So what I am looking for is a programmatic way to see if the the Open Com1: was successful or failed.

Thanks,

Docfxit

Posted on Oct 2, 2011, 10:31 PM

Respond to this message   

Return to Index


You can't test it with nothing on it

by (Login burger2227)
R

Here's the thread about COMs at QB64:

http://www.qb64.net/forum/index.php?topic=839.0

Posted on Oct 2, 2011, 10:55 PM

Respond to this message   

Return to Index


Re: How to test com port is open in qb64

by (Login MCalkins)
Moderator

DIM SHARED wsFileNum AS INTEGER

ON ERROR GOTO catch
wsFileNum = 1
comPort$ = "COM1:"
CONST comMode$ = "9600,N,8,1,CS6000,DS6000"
OPEN comPort$ + comMode$ FOR RANDOM AS #wsFileNum

END

catch:
PRINT "caught"
RESUME NEXT



    
This message has been edited by MCalkins on Oct 3, 2011 5:29 AM

Posted on Oct 3, 2011, 5:29 AM

Respond to this message   

Return to Index


What does that tell you?

by (Login burger2227)
R

I ran that in Qbasic and the program just hung until I hit Ctrl-Break. QB64 did not return an error, but how do you know it even tried to open it?

Posted on Oct 3, 2011, 8:39 AM

Respond to this message   

Return to Index


Re: What does that tell you?

by (Login MCalkins)
Moderator

>When the code gets to the Open Com1: statement and fails, the On Error statement doesn't get triggered in qb64. So what I am looking for is a programmatic way to see if the the Open Com1: was successful or failed.

My understanding is that Docfxit wanted to be able to trap OPEN COM errors in QB64. Doing so is straightforward, as I demonstrated. When I run that code in QB64, it immediately prints "caught".

I hadn't tested it in QBASIC, but it can be made to work in QBASIC by adding a low, nonzero OP value to comMode$:

CONST comMode$ = "9600,N,8,1,CS6000,DS6000,OP1"

My guess is that the default OP value is probably too high.

The first time you run it in QBASIC, you see:

--------

16 bit MS-DOS Subsystem
Command Prompt - qbasic
The system cannot open COM1 port requested by the application. Choose 'Close' to terminate the application.

--------

Choosing "Ignore" will allow you to see "caught".

Setting OP to 0 results in no runtime error in QBASIC, but still does in QB64.

Regards,
Michael

Posted on Oct 3, 2011, 4:17 PM

Respond to this message   

Return to Index


Well I got nothing in QB64 until I changed it to COM2

by (Login burger2227)
R

Then I got 'caught' because there is none. From that I can assume that it worked, but I can't send or receive without something on the port.

OP1 worked in Qbasic to display 'caught' without hanging though. COM2 caused a Windows error, and 'caught' after I hit Cancel in the error box. XP normally blocks port access to NTVDM.

At least that is a way to test for the existence, but not much else.

Posted on Oct 3, 2011, 7:04 PM

Respond to this message   

Return to Index


Re: How to test com port is open in qb64

by Docfxit (no login)

First I'd like to say it's really great of both of you to take the time to respond to my questions.

I'd like to thank you both very much.

You probably don't want or need to know all this but if someone else gets into the same situation they may like to see my solution.

I had this same code in the program. In the errorhandler I was printing out the error I received and it kept telling me there was a bad file name. I copied your code to a new bas file and ran it. I was amazed it worked and the program I am working on didn't. I came up with the idea that maybe the code I was showing was the last code produced and maybe there were other err codes that happened before the program stopped. So what I did was I created an array to save the error codes that come through the errorhandler and print them all when the program finished. I discovered there were over a hundred errors and I was only seeing the last error. When I printed the array I see the first error I get is: 68: "Device unavailable " Now that is exactly what I would expect when the com port doesn't open. This program looks at wsFileNum to know if the file is open. What was happening is wsFileNum was set to 1 before the open com port and when the com port didn't open and the program continued wsFileNum was still 1. The rest of the program though the com port was open and it went in many errors because of it. I have corrected in the errorhandler routine. This is my code.

ErrorHandler:
' We have to move the error code into a variable or we won't
' see it because ERR is set to zero after the handler is done.
ErrorCode = ERR
LOCATE 8, 1 ' start out below the header

SELECT CASE ERR
CASE 7: PRINT "Out of memory "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE 24: PRINT "Device timeout "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE 52: PRINT "Bad file name or number "; "Error code"; ErrorCode; "on line "; _ERRORLINE; " File number *"; fid; "*"; wsFileNum
CASE 53: PRINT "That file does not exist "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE 62: PRINT "Check for the end of file with EOF "; "Error code "; ErrorCode; " on line "; _ERRORLINE; ; " "
CASE 64: PRINT "Bad file name "; "Error code "; ErrorCode; " on line "; _ERRORLINE; ; " "
CASE 68: PRINT "Device unavailable "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE 71: PRINT "Disk is not ready "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE 76: PRINT "That path does not exist "; "Error code "; ErrorCode; " on line "; _ERRORLINE
CASE ELSE: Print "Error code "; ErrorCode; " on line "; _ERRORLINE
END
END SELECT
' This will remember multiple error codes in the array ErrorCodeHappened
ErrorIdx = ErrorIdx + 1
ErrorCodeHappened(ErrorIdx) = ERR
ErrorCodeLineHappened(ErrorIdx) = _ERRORLINE
IF ErrorIdx > 10 THEN
LOCATE 9, 1
FOR i = 1 TO ErrorIdx
PRINT "ErrorCodeHappened "; ErrorCodeHappened(i); "On Line "; ErrorCodeLineHappened(i)
NEXT i
END
END IF

IF ErrorCode = 68 THEN 'Device unavailable
ComPortOpen$ = "No " 'Show com port is not open for debugging
wsFileNum = 0 'Change file open status to closed
END IF
RESUME NEXT

Thank you both for the help in resolving this.

Docfxit

Posted on Oct 4, 2011, 2:48 PM

Respond to this message   

Return to Index


Try this:

by (Login burger2227)
R

This should work without an error in Qbasic and QB64 if you have the COM port:

DIM SHARED FileNum AS INTEGER

ON ERROR GOTO catch
FileNum = 1
comPort$ = "COM1:"
CONST comMode$ = "9600,N,8,1,CS0,DS0" 'Use 0 to avoid timeouts
OPEN comPort$ + comMode$ FOR RANDOM AS FileNum

K$ = INPUT$(1)
END

catch:
PRINT ERR, "caught"
RESUME NEXT

Try it on a COM number you don't have and Windows will give an error with Qbasic. QB64 will show error 68 only if the COM doesn't exist.



    
This message has been edited by burger2227 on Oct 4, 2011 3:26 PM
This message has been edited by burger2227 on Oct 4, 2011 3:17 PM

Posted on Oct 4, 2011, 3:16 PM

Respond to this message   

Return to Index


Thanks for the code

by Docfxit (no login)

I have the on error working in qb64.

Thanks,

Docfxit

Posted on Oct 4, 2011, 3:53 PM

Respond to this message   

Return to Index


Is the error coming up as 68 with QB64?

by (Login burger2227)
R

Then the COM doesn't exist or you have another problem/ It works without error on my XP in both.

Posted on Oct 4, 2011, 4:07 PM

Respond to this message   

Return to Index


Re: Is the error coming up as 68 with QB64?

by Docfxit (no login)

Yes. The error is 68 with QB64.
Yes the com port doesn't exist.

Thanks,

Docfxit

Posted on Oct 4, 2011, 8:02 PM

Respond to this message   

Return to Index


do...loop help needed

by (no login)

Is there anyway to write loop until dep% = a number in code?
That number can be any number, so what should I put.

Posted on Oct 2, 2011, 11:22 AM

Respond to this message   

Return to Index


EXIT DO

by (no login)

IF dep% = n THEN EXIT DO

Posted on Oct 2, 2011, 11:42 AM

Respond to this message   

Return to Index


Loop Until

by Solitaire (Login Solitaire1)
S

Assign the number in code to a variable.

Example:  numvar = 'whatever

Loop Until numvar = 'whatever else you need to stop

 

Posted on Oct 2, 2011, 2:51 PM

Respond to this message   

Return to Index


to build on what Lisztfr and Solitaire have posted...

by (Login MCalkins)
Moderator

Here is the syntax from QBASIC 1.1 Help:

--------------------------------

Repeats a block of statements while a condition is true or until a condition
becomes true.

DO [{WHILE | UNTIL} condition]
    [statementblock]
LOOP

DO
    [statementblock]
LOOP [{WHILE | UNTIL} condition]

    ■ condition    A numeric expression that Basic evaluates as true
                   (nonzero) or false (zero).

--------------------------------

Note that you can put a condition on either the DO or on the LOOP, but not both at the same time (unfortunately).

If the condition is on the DO, it is tested before the block executes the first time. If it is on the LOOP, the block executes at least once, then the condition is tested before the block is repeated. 0 is false. Any numeric value other than 0 is true.

do while 0
print "this will not execute."
loop

do
print "this will execute only once."
loop while 0

As Lisztfr pointed out, you can use EXIT DO to break out of a loop from inside it.

Regards,
Michael

Posted on Oct 2, 2011, 8:34 PM

Respond to this message   

Return to Index


ok thanks...

by ramen (no login)

Thanks for your help I had to use the do whil until condition.
So thanks for your contributions, helped. :D

Posted on Oct 3, 2011, 8:00 PM

Respond to this message   

Return to Index


Impossible

by Solitaire (Login Solitaire1)
S

DO is either WHILE or UNTIL, never both.

There are 4 varieties of DO loops --  2 While; 2 Until; 2 pretest; 2 posttest:

=============================

1) Pretest While:

-----------------------------------------

DO WHILE condition is true

 execute instructions

LOOP

=============================

2) Pretest Until:

-----------------------------------------

DO UNTIL condition becomes true

 execute instructions

LOOP

=======================

3) Posttest While:

-------------------------------------

DO

 execute instructions

LOOP WHILE condition is true

======================

4) Posttest Until:

---------------------------------------

DO

 execute instructions

LOOP UNTIL condition becomes true

=======================

It is also possible to have a DO loop without any condition.  In that case, it becomes an endless loop unless you use EXIT DO:

-------------------------------------

DO

 execute instructions

LOOP

 

Posted on Oct 3, 2011, 8:39 PM

Respond to this message   

Return to Index


Gosh... ! (XP)

by (no login)

I'm trying to migrate to XP, but experience many troubles.. :

1) QB path like "documents and setting" is not good for QB so i migrated to C:\

2) in my program Hreader witch uses a simple SELECT statement, now pressing UP Arraow once is same as pressing it... 4 times ! i get many screens back instead of 1. Only SPACE bar works correctly, forwarding 1 screen (IBM T43)

3) SLEEP statement will completely stop the program...

maybe i should go to emulation ? dosbox...

And, the computer runs hot !!! grrr. and the fan runs too... this is not bearable.

Any hint to fix that ?

thanks, L

Posted on Oct 2, 2011, 7:52 AM

Respond to this message   

Return to Index


Every thing okay under dosbox..

by (no login)

So i'm very glad this great emulator exist, and going to support them..

Posted on Oct 2, 2011, 8:21 AM

Respond to this message   

Return to Index


*Ok, all related to the video drivers :( videoprt

by (no login)

*

Posted on Oct 2, 2011, 12:16 PM

Respond to this message   

Return to Index


Is your XP 32 bit?

by (Login burger2227)
R

Try this fix if your XP is 32 bit only:

http://dl.dropbox.com/u/8440706/XPvideoFix.zip

Then Qbasic may run on it. If it is 64 bit, you would need 32 bit video drivers.

Posted on Oct 2, 2011, 1:01 PM

Respond to this message   

Return to Index


Yes

by (no login)

I found it and it worked :) also i set a 8.3 sort namefile and every thing is fine :) ready for coding.

Posted on Oct 2, 2011, 1:49 PM

Respond to this message   

Return to Index


Com port error 64

by Docfxit (Login Docfxit)
R

I'm getting an error 64 Bad file name

DIM SHARED wsFileNum AS INTEGER
comPort$ = "COM1:"
CONST comMode$ = "9600,N,8,1,CS6000,DS6000"
OPEN comPort$ + comMode$ FOR RANDOM AS #wsFileNum

This is a run time error compiled in QB64 running in XP Pro.

Does anyone have any suggestions on how to fix this?

Thank you,

Docfxit

Posted on Sep 30, 2011, 11:02 PM

Respond to this message   

Return to Index


* Where's the number? READ the error message! It TELLS you!

by (Login burger2227)
R

Posted on Sep 30, 2011, 11:18 PM

Respond to this message   

Return to Index


Where's the number

by Docfxit (Login Docfxit)
R

Since I mentioned the error number is 64 I'm guessing that's not the number you are looking for.
Where would I find the number you are looking for. I'm seeing this number in the field err.

ErrorHandler:
' We have to move the error code into a variable or we won't
' see it because ERR is set to zero after the handler is done.
ErrorCode = ERR
LOCATE 8, 1 ' start out below the header

SELECT CASE ERR
CASE 7: PRINT "Out of memory "; "Error code "; ErrorCode; " on line "; HappenedHere$
CASE 24: PRINT "Device timeout "; "Error code "; ErrorCode; " on line "; HappenedHere$
CASE 52: PRINT "Bad file name or number "; "Error code"; ErrorCode; "on line "; HappenedHere$; " File number *"; fid$; "*"
CASE 53: PRINT "That file does not exist "; "Error code "; ErrorCode; " on line "; HappenedHere$
CASE 64: PRINT "Bad file name "; "Error code "; ErrorCode; " on line "; HappenedHere$; " "
CASE 68: PRINT "Device unavailable "; "Error code "; ErrorCode; " on line "; HappenedHere$
CASE 71: PRINT "Disk is not ready "; "Error code "; ErrorCode; " on line "; HappenedHere$
CASE 76: PRINT "That path does not exist "; "Error code "; ErrorCode; " on line "; HappenedHere$
CASE ELSE: Print "Error code "; ErrorCode; " on line "; HappenedHere$
END
END SELECT
RESUME

Posted on Oct 1, 2011, 9:29 AM

Respond to this message   

Return to Index


* From the code you supplied there is no FILE number assigned.

by (Login burger2227)
R

Posted on Oct 1, 2011, 9:32 AM

Respond to this message   

Return to Index


Re: * From the code you supplied there is no FILE number assigned.

by Docfxit (Login Docfxit)
R

Thanks for the reply...

In this statement:
OPEN comPort$ + comMode$ FOR RANDOM AS #wsFileNum

If wsFileNum is equal to 1
wouldn't the file number be #1?

Could you please show me how to assign a file number?

Thanks,

Docfxit

Posted on Oct 1, 2011, 9:54 AM

Respond to this message   

Return to Index


wsFileNum can't be 0

by (Login MCalkins)
Moderator

insert:

wsFileNum = 1

after the DIM statement.

Regards,
Michael

Posted on Oct 1, 2011, 3:24 AM

Respond to this message   

Return to Index


wsFileNum now equals 1

by Docfxit (Login Docfxit)
R

Thanks,

I made sure wsFileNum is equal to one. I'm still getting the error.

I currently don't have anything connected to com1. With nothing connected I have no idea
what error I should get but I wouldn't expect an error that says "Bad file name ".

Thanks,

Docfxit

Posted on Oct 1, 2011, 9:33 AM

Respond to this message   

Return to Index


* You MUST have something on the port for it to work.

by (Login burger2227)
R

Posted on Oct 1, 2011, 10:26 AM

Respond to this message   

Return to Index


Re: wsFileNum now equals 1

by (Login MCalkins)
Moderator

My only COM port is COM3, which is the built in dial up modem.

With your initial code, I get:


Unhandled Error #52
Line:4
Bad file name or number


When I add wsFileNum = 1, I get:


unhandled error #68
Line:5
Device unavailable


Then, when I change comPort$ to "COM3:", with my dial up modem connected to the Internet, I get:


unhandled error #68
Line:5
Device unavailable


Then, when I disconnect the dial up modem from the internet, I no longer get any runtime error.

Regards,
Michael



    
This message has been edited by MCalkins on Oct 1, 2011 4:06 PM

Posted on Oct 1, 2011, 4:03 PM

Respond to this message   

Return to Index


Re: wsFileNum now equals 1

by Docfxit (no login)

That's really great of you to try this out for me.

Thank you,

Docfxit

Posted on Oct 2, 2011, 1:17 PM

Respond to this message   

Return to Index


File names with odd characters

by lawgin (no login)

I downloaded a lot of files that have the registered trade mark symbol ® in the file name. When the file names are viewed in a cmd window or, consequently with the qb SHELL, the symbol appears as "r". That's ok, but if you try to copy or delete the file, you get file not found. One way around this is to wild card the "r" but this seems impractical when handling a large number of files. Is there any way to perform DOS operations on these files short of renaming them?

Posted on Sep 30, 2011, 2:47 PM

Respond to this message   

Return to Index


Try CHR$(174)

by (Login burger2227)
R

That's how it showed up in VB6. Otherwise you may need to use Unicode. The ASCII character is the double left arrow.

Posted on Sep 30, 2011, 2:58 PM

Respond to this message   

Return to Index


NG

by lawgin (no login)

CHR$(174) doesn't work. Alt 0174 works but CHR$() only accepts 3 digits. Anyway, in an automated process, it would not be possible to tell the difference between legitimate r's and those representing ®.

Posted on Sep 30, 2011, 4:02 PM

Respond to this message   

Return to Index


* QB64 can do Unicode with Windows API library. Ask Michael

by (Login burger2227)
R



    
This message has been edited by burger2227 on Sep 30, 2011 5:26 PM

Posted on Sep 30, 2011, 5:09 PM

Respond to this message   

Return to Index


CHR$(174) works in QB64.

by (Login MCalkins)
Moderator

CHR$(174) seems to work just fine in QB64.

---------------- QB64:

SHELL "cmd /c copy c:\q\abc®123.txt c:\"
END

----------------

I can't find any easy way of making it work in QBASIC 1.1. When I use chcp 65001, cmd.exe completely ignores batch files. It refuses to even process a batch file.

Note that you can paste "®" directly into the cmd.exe command line. Even though it shows up as "r", it is still "®". But, as far as I can tell, it can't be made to work from either a .bat file, or a QBASIC 1.1 SHELL statement.

If you have Power Shell, you could probably write a Power Shell script, and run it from QBASIC 1.1, but it would probably be easier just to use QB64.

Regards,
Michael



    
This message has been edited by MCalkins on Oct 1, 2011 2:34 AM

Posted on Oct 1, 2011, 2:31 AM

Respond to this message   

Return to Index


QBASIC 1.1 using Windows PowerShell

by (Login MCalkins)
Moderator

SHELL "cmd /c powershell -Command set-executionpolicy remotesigned"
OPEN "delme.ps1" FOR OUTPUT AS 1
PRINT #1, "Copy-Item c:\q\abc®123.txt c:\"
CLOSE 1
SHELL "cmd /c powershell -File delme.ps1"
KILL "delme.ps1"
SHELL "cmd /c powershell -Command set-executionpolicy Restricted"
END



"" is the Byte Order Mark, at the start of the file, that indicates that the text file is UTF-8.

"┬«" is the UTF-8 encoding for "®".

For info on Copy-Item, see:

http://technet.microsoft.com/en-us/library/ee156818.aspx

Note that the execution policy is changed to "remotesigned" and then to "Restricted".

Regards,
Michael

P.S. Paste the above program directly into MS-DOS Editor or the QBASIC 1.1 editor.

If you paste it into Notepad and save it, the special characters will be messed up.



    
This message has been edited by MCalkins on Oct 1, 2011 5:04 PM
This message has been edited by MCalkins on Oct 1, 2011 3:12 AM

Posted on Oct 1, 2011, 3:07 AM

Respond to this message   

Return to Index


How do you get ® in the qb64 editor?

by lawgin (no login)

SHELL "cmd /c copy c:\q\abc®123.txt c:\"

When I do an alt174 I get this «

Posted on Oct 1, 2011, 9:36 AM

Respond to this message   

Return to Index


it shows up as « in the qb64 editor, but it works anyway. (edited.)

by (Login MCalkins)
Moderator

typing either alt+174 or alt+0174 in the QB64 editor results in chr$(174). It shows up as «, and is saved in the .bas file as «, but if you copy it directly out of the QB64 editor window, it becomes ®.

If you paste ® (Windows-1252 dec 174) directly into the QB64 editor, it becomes « (CP437 dec 174).
If you paste « (Windows-1252 dec 171) directly into the QB64 editor, it becomes ½ (CP437 dec 171).
In other words, the QB64 editor seems to be accepting Windows-1252 encodings as if they were CP437 encodings, when they are pasted into it. I don't know if this would be considered a bug or not.

You can do this at least 4 ways:

Paste this directly into the QB64 editor, or, paste this directly into Notepad, and save it as an ANSI bas file:
SHELL "cmd /c copy c:\q\abc®123.txt c:\"

Paste this directly into MS-DOS Editor, and save it as a .bas file:
SHELL "cmd /c copy c:\q\abc«123.txt c:\"

Just use chr$():
SHELL "cmd /c copy c:\q\abc" + CHR$(174) + "123.txt c:\"

Regards,
Michael

P.S. Before I edited the post at 4:22, my Notepad instructions were wrong.



    
This message has been edited by MCalkins on Oct 1, 2011 4:24 PM
This message has been edited by MCalkins on Oct 1, 2011 4:23 PM
This message has been edited by MCalkins on Oct 1, 2011 4:22 PM
This message has been edited by MCalkins on Oct 1, 2011 3:46 PM
This message has been edited by MCalkins on Oct 1, 2011 3:45 PM

Posted on Oct 1, 2011, 3:38 PM

Respond to this message   

Return to Index


*Got it!--thanks

by lawgin (no login)

Posted on Oct 1, 2011, 5:25 PM

Respond to this message   

Return to Index


* :-)

by (Login MCalkins)
Moderator

Posted on Oct 1, 2011, 6:27 PM

Respond to this message   

Return to Index


That seems strange

by (Login burger2227)
R

I tried it and got the same thing. I even changed the IDE to Code Page 1250 in the Options Language, but nothing changed. Not sure what is going on.

Posted in the QB64 Bugs section for Galleon to explain. He will be gone another week or so.

Ted

Posted on Oct 1, 2011, 7:11 PM

Respond to this message   

Return to Index


*Windows Western is 1252.

by (Login MCalkins)
Moderator

Posted on Oct 1, 2011, 7:34 PM

Respond to this message   

Return to Index

 Copyright © 1999-2014 Network54. All rights reserved.   Terms of Use   Privacy Statement