Hi people,
I have a slite problem with the x, y co-ordiantes of my lotto ticket place, what i'am making, and it is that when i build the square. When i go in the middle it shows the message i want it to show. Right i'all get to the point... first of all i created the x, y co-ordiante code for the lotto ticket place
if ((MCI.Info[0].X / 196608 >= 46176313) && (MCI.Info[0].Y / 196608 >= 15915129))
above that i have
if (MCI.Info[0].X = 3) & (MCI.Info[0].Y = 3);
and its saying that i have n error with the MCI method i used.
Errors:
Error 1 Cannot implicitly convert type 'int' to 'bool' C:\Documents and Settings\Owen\Desktop\Cruise Tutorial\LFS_External_Client\LFS_External_Client\Form1.cs 557 17 LFS_External_Client
Error 2 Only assignment, call, increment, decrement, and new object expressions can be used as a statement C:\Documents and Settings\Owen\Desktop\Cruise Tutorial\LFS_External_Client\LFS_External_Client\Form1.cs 557 36 LFS_External_Client
Error 3 Pointers and fixed size buffers may only be used in an unsafe context C:\Documents and Settings\Owen\Desktop\Cruise Tutorial\LFS_External_Client\LFS_External_Client\Form1.cs 557 36 LFS_External_Client
Error 4 Cannot take the address of the given expression C:\Documents and Settings\Owen\Desktop\Cruise Tutorial\LFS_External_Client\LFS_External_Client\Form1.cs 557 36 LFS_External_Client
Big error really, but i'am trying to figure it out for my self. Just thought if you guys could point me in the right direction of what i've done wrong
Thanks...
Regards
Owen.
I have a slite problem with the x, y co-ordiantes of my lotto ticket place, what i'am making, and it is that when i build the square. When i go in the middle it shows the message i want it to show. Right i'all get to the point... first of all i created the x, y co-ordiante code for the lotto ticket place
if ((MCI.Info[0].X / 196608 >= 46176313) && (MCI.Info[0].Y / 196608 >= 15915129))
above that i have
if (MCI.Info[0].X = 3) & (MCI.Info[0].Y = 3);
and its saying that i have n error with the MCI method i used.
Errors:
Error 1 Cannot implicitly convert type 'int' to 'bool' C:\Documents and Settings\Owen\Desktop\Cruise Tutorial\LFS_External_Client\LFS_External_Client\Form1.cs 557 17 LFS_External_Client
Error 2 Only assignment, call, increment, decrement, and new object expressions can be used as a statement C:\Documents and Settings\Owen\Desktop\Cruise Tutorial\LFS_External_Client\LFS_External_Client\Form1.cs 557 36 LFS_External_Client
Error 3 Pointers and fixed size buffers may only be used in an unsafe context C:\Documents and Settings\Owen\Desktop\Cruise Tutorial\LFS_External_Client\LFS_External_Client\Form1.cs 557 36 LFS_External_Client
Error 4 Cannot take the address of the given expression C:\Documents and Settings\Owen\Desktop\Cruise Tutorial\LFS_External_Client\LFS_External_Client\Form1.cs 557 36 LFS_External_Client
Big error really, but i'am trying to figure it out for my self. Just thought if you guys could point me in the right direction of what i've done wrong
Thanks...
Regards
Owen.