Click here to Skip to main content
15,890,947 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a WPF/C# app that calls a DLL method that never returns. Basically, this method I call creates a connection with ArcNet protocol and returns a memory address on a board.

Problem is when there is no ArcNet, my calling method just sits there and I'm stuck.

What I want to do, is call the method and if I don't get something back within 500ms, I continue on, or in this case, throw an error and continue on.

Thanks,
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900