C
Carsten Unterberg
Hey everybody,
I'm using VS2008 for developing application in ppc2003 and the .netcf 2.0.
at the moment I've got some problems while I'm creating some customcontrols,
which should be available at designtime as well. Most of the work seems to be
ok, the controls works fine at runtime. Only at designtime, in VS2008 I've
got some *** problems.
the controls, or the one controls with the problems uses some api-calls via
[DllImport("...")].
I declared a compilation directive call NETCFDESIGNTIME in the
configuration-manager and when I got the declaration of the imported
function, i I have a 'switch' with
#if NETCFDESIGNTIME
[DllImport("coredll.dll")]
#else
[DllImport("user32.dll")]
#endif
static extern int xyz....
that works fine, at runtime, not at designtime.
Could anyone help me please?
Thanks
Carsten Unterberg
I'm using VS2008 for developing application in ppc2003 and the .netcf 2.0.
at the moment I've got some problems while I'm creating some customcontrols,
which should be available at designtime as well. Most of the work seems to be
ok, the controls works fine at runtime. Only at designtime, in VS2008 I've
got some *** problems.
the controls, or the one controls with the problems uses some api-calls via
[DllImport("...")].
I declared a compilation directive call NETCFDESIGNTIME in the
configuration-manager and when I got the declaration of the imported
function, i I have a 'switch' with
#if NETCFDESIGNTIME
[DllImport("coredll.dll")]
#else
[DllImport("user32.dll")]
#endif
static extern int xyz....
that works fine, at runtime, not at designtime.
Could anyone help me please?
Thanks
Carsten Unterberg