Vista an getting MousePosition (crashes) (Solved)

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Edwart
Posts: 46
Joined: Fri Dec 30, 2005 12:29 pm

Vista an getting MousePosition (crashes) (Solved)

Post by Edwart »

hi,

i am using vista and my code is crashing on this code-line:

core::position2d<s32> mouse_pos=device->getCursorControl()->getPosition();

on my XP PC it is working fine.
has anyone an idea?

thank you
Best Regards
Edwart

----
Solved:
in the event-receiver it isnt working ;-)
i made a checku for the event during the game_loop and now it works fine.
christianclavet
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA
Contact:

Post by christianclavet »

Ok. If it's solved can you post the code changes you made, so it will help other if they encounter it?
Post Reply