2.0 Custom controls and API
i made a control library with some test controls. They work fine on my other project till i try to declare a function from "coredll" in one of my controls classes.
By placing any control on the form in designer, it morphs into a simple rectangle with full namespace name in the middle.
I tried also to import those function from user32.dll but it doesnt affect the strange behaviour. Everything goes fine by removing the declare or import statement.
Does API invoking not work when designing custom controls on CF 2.0?
Thanks.

