Notifications
Clear all

[Closed] 2 WPF Examples

This is weird… I have Windows XP SP2 64 bit… Haven’t tried this on Vista. Well, it seems I have developed something that only I can run lol Any insight on why this is happening would be appreciated. Cheers guys.

the only possibly relevant bit I can find is…

Window needs UnmanagedCode security permission to be instantiated. This has the following consequences:
[ul]
[li] ClickOnce-deployed standalone applications will request permission elevation when launched from either the Internet or Local Intranet zones.[/li]
[li] XBAPs that request anything less than full permissions will not be able to instantiate windows or dialog boxes.[/li]
[/ul]

Does 2009 officially support .net 3.5?

1 Reply
(@kameleon)
Joined: 11 months ago

Posts: 0

I have no ideia!

But have any of you guys tried this on 64 bit? I ran into this today: “running 32-bit code which tries to call 64-bit one and vice versa (this appears on 64bit machines, i.e. 64-bit CPU, Windows or .NET 2.0 version”

no 64bit here, but the objects you’re creating certainly aren’t 64bit-only objects… it’s just a Window ;\

I know that feeling! you tend to forget things you install on the development computer until you deploy!

works fine for me, Artur on XP 64bit, but crashes Vista 32bit.

forgot to say before i’m on XP 64bit. Also i checked my windows automatic update message today and .NET 3.5 service pack 1 was one of the updates so we’ll see how i go once i get around to installing the update…

Tha last thing I tried in this direction was hosting a wpf user control in a .net 2 window using elementHost. It worked outside 3ds, but not inside. Management not working, as far as I could see, access violations.

Im seeing similar errors when i try to use lockbits from the bitmapdata class – it is using unmanaged resources to enhance speed but It gives me protected memory issues. Is WPF using unmanaged resources to do all the directx stuff?

I just did a fresh install of Windows Vista Ultimate 64 SP1 and did all the updates via Windows Update (including the .Net 3.5 SP1), installed Max 2009 64 bit and executed both script examples with no problem (They look so pretty in Vista!)

I’m researching on the problem you guys are having but with no avail yet :\

Everything seems to work perfectly here.

(XPx64)

Page 2 / 3