Search found 5 matches

by PicardDontoro
Fri Aug 13, 2004 1:43 am
Forum: Coding Questions
Topic: How intercept shutdown or logoff ?
Replies: 4
Views: 2669

How intercept shutdown or logoff ?

Hi,

how I can intercept from my application when Windows shutdown or logoff ?

And if it's possible, Windows can wait that my application makes various operations before it shutdown/logoff ?

TIA
by PicardDontoro
Fri Aug 06, 2004 4:19 pm
Forum: Coding Questions
Topic: IF condition with hex values
Replies: 8
Views: 1618

Thanks freedimension,

I understand perfectly that you say, so how I can do it ?

(read my previuous reply)
by PicardDontoro
Fri Aug 06, 2004 4:13 pm
Forum: Coding Questions
Topic: IF condition with hex values
Replies: 8
Views: 1618

The value you're putting into the variable is bigger than that type of variable can hold. Look under 'Variables, Types and Operators' in the manual

OK, thanks for your reply.

I know that you say, but I work on memory raw data.

Here a simply example:



If PeekW(?mydata) = $FFFF
Debug ...
by PicardDontoro
Fri Aug 06, 2004 3:18 pm
Forum: Coding Questions
Topic: IF condition with hex values
Replies: 8
Views: 1618

IF condition with hex values

Hi,

I've this code:



test1.w = $FFFF
If test1 = $FFFF
Debug "test1 = $ffff"
Else
Debug "test1 <> $ffff"
EndIf

test2.b = $FF
If test2 = $FF
Debug "test2 = $ff"
Else
Debug "test2 <> $ff"
EndIf

test3.l = $FFFFFFFF
If test3 = $FFFFFFFF
Debug "test3 = $ffffffff"
Else
Debug "test3 <> $ffffffff ...
by PicardDontoro
Fri Aug 06, 2004 3:06 pm
Forum: Coding Questions
Topic: Problem with constants string in DataSection
Replies: 1
Views: 793

Problem with constants string in DataSection

Hi,

I've this code:



#test_const1 = $FFFF
#test_const2 = "my string constant"

Read test1.w
Read test2.s

Debug test1
Debug test2

DataSection

Data.w #test_const1
Data.s #test_const2

EndDataSection



#test_const1 is corretly putted in data section, while #test_const2 not :cry: .

Why?

TIA