Hi,
I'm using an Edit Control
MyValue for inputting a numeric value. Depending on the input mask (here it is "999999"), the Edit Control will automatically return an int or a ?-byte real. However, directly calling a procedure like
MyProcedure(MyValue as 4-byte unsigned int, ....
will fail! The procedure does not automatically convert integer (= int) to 4-byte unsigned int !!! You have to invent a new variable
NewMyValue is 4-byte unsigned int = MyValue
here, the auto-conversion feature of WINDEV works. Now, calling the procedure like
MyProcedure(NewMyValue as 4-byte unsigned int, ....
will work flawlessly.
Kind regards,
Guenter Predl
office@windev.at