471,310 Members | 1,177 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,310 software developers and data experts.

Single source for Full and Compact framework

How can I have one source that also uses methods from Full framework to
compile also for Compact Framework or in other words how to write in C# the
following:

#ifndef _WINCE_
// code only for compilation on Win32
#endif
// common code (Win32 and WinCE)

Thanks,
Bostjan
Jul 21 '05 #1
2 1192
Bostan,

Not that you are not welcome here, however probably the best information
about the compact framework you get in the newsgroup.

microsoft.public.dotnet.framework.compactframework

I hope this helps?

Cor
Jul 21 '05 #2
C# supports those same preprocessor directives. I'm not sure which
constants to use. Perhaps you can set up separate Debug/Release build
configurations. One for Win32, and the other for WinCE

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Earle Oxner | last post: by
1 post views Thread by Asad Khan | last post: by
reply views Thread by Roland Rosier | last post: by
2 posts views Thread by Bostjan Erzen | last post: by
7 posts views Thread by =?Utf-8?B?U2ltb24gVGFtbWFu?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.