How to print in wince 6. R2? - windows-ce

msdn shows that OnPrint(CDC* pDC, CPrintInfo* pInfo) function is supported in wince 2.0 and above version but when i made the project then it showing that CPrintInof undecalare. i searched in msdn and found that for samrt device project CprintInfo can't be used
http://msdn.microsoft.com/en-us/library/w6afzd4h%28v=vs.80%29.aspx
So how to print in wince 6.0?is there any other way.

We use the now fairly antiquated but probably still the best, PrinterCE by FieldSoftware. Can't vouch for their CE6 support but probably worth downloading the trial and having a go.

Related

how good is monotouch and mono for android comparing with native code?

I make small investigation how good is monotouch and mono for android comparing with native code? What I need is numbers and maybe some other info about advantages and disadvantages of monotouch and mono for android...
Thank you!
I don't have comparison figures but I have used both MonoTouch and MonoDroid for an OpenGL application.
The type of application your making may make the difference to you.
If you want to create a cross platform application I personally would go with Mono as its probably going to be more productive in the end.
I have must say MonoTouch outperforms MonoDroid, probably because of the .NET to java interop that must take place on Android (and the Java on Android seams to be slow)[At least android 2.2+ devices].
There is also Mono.Simd if you need speed optimizations.
UPDATE: "Mono.Simd" is not available on MonoTouch or MonoDroid.
I know this is not a real answer, but in my opinion, it is the best. You can get both a native app as well as lots of code re-use. There are lots of things out there that could help you make a decision, but also look at the Xamarin blog.
here a link that may help you :
http://www.koushikdutta.com/2009/01/dalvik-vs-mono.html
based on that mono is way faster than java dalvik!

How can I use dockpanel in Linux/Mono with all its features?

I would like to use dockpanel suite in Linux or Mono platform. I heard that there is some methods to modify the source code of dockpanel so that it can be used in Linux platform with all its features like drag and drop and all.Can anyone guide me to achieve that?
Due to its close bindings to Win32 API/PInvoke, currently it is impossible to use full features on Mono. You probably misinterpreted others' words.
Edited: DockPanel Suite 2.6 and above contains Mono support that I developed, http://dockpanelsuite.com
Yes and No.. You can write a silverlight 4.0 program and run it in a browser window on linux you can use silverlight controls.
If you are feeling really brave you can use MoonLight (silverlight by mono) to write full desktop apps on linux. One helpful set of tools (shameless plug) for doing this is MoonBase
But.. Generally, No, if you mean the WPF DockPanel control, you can't use that on top of Mono.
I know you've used WPF tag, but what you heard indicates rather winforms. In such case you may be interested in this. If you really had WPF in mind, look at the IanNorton's answer.

Using c# library on IOS device using monotouch

We have an existing c# library that we would like to re-use in an IOS application. It looks like this is easily done using monotouch IF we are willing to use monotouch for the entire application. However, we would like to use xcode as the primary tool (and thereby obj-c) since we feel that it for our purposes is more 'clean'.
Looking at stackoverflow and xamarin.com, it looks like it was possible in 2009 using 'monotouch --xcode'. Later posts by Miguel indicates that this is no longer supported even though it is still available in monotouch.
I have tried to make a very simple c# assembly and run 'monotouch --xcode=/projectpath myassembly.dll. I can open the project in xcode 4.2, but any attempts to build it fails with 200+ errors "Apple LLVM compiler 3., Invalid instruction mnemonic 'bl'"
Has anyone made this work recently using xcode 4.* and monotouch 5.*?

.NET 4 Profiler?

Does anyone know of a profiler that works with .NET 4 (beta 2)? I normally use the EQATEC profiler but it doesn't seem to be working with .NET 4 executables.
EQATEC Profiler v3.0 has just been released today and it now supports .NET 4.0.
You can get it here: http://www.eqatec.com/tools/profiler
For what it's worth, I've found plenty of performance problems in our .NET app, using the non-profiler.
VS2010 Ultimate edition comes with a profiler. It is placed in the Analyze menu. I haven't used it for anything serious yet, but it appears to be an updated version of the one that comes with the TF editions of VS2008/2005.

Silverlight on Linux

did anyone try to view a Silverlight site on a Linux machine? afaik, there is something called mono on Linux which is a try to port .NET on Linux machines, but did one really try to use it? did it work?
Moonlight is the mono implementation of SilverLight. http://www.mono-project.com/Moonlight
In an interview, they said Microsoft gave them the same test suite they use on Silverlight, so the implementation is pretty good I would suppose for being a version behind http://www.hanselminutes.com/default.aspx?showID=157
Currently Moonlight, the implementation of Silverlight on Linux, is in Beta. According to their roadmap, the final version of Moonlight 1.0 should be out on January 20, 2009. As stated by MrChrister, they're a "release behind", because we already have Silverlight 2. However, according to the same roadmap, they plan to catch up sometime next year. Until then, I don't think Silverlight on Linux is an option to consider.

Resources