Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy.
The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct and please don't post ads.

Technical discussions are welcome, but if you need specific help please use the programming forums.


 
GeneralRe: KABOOM (XKCDOTD) PinmemberClark Kent1231-Feb-13 4:10 
GeneralRe: KABOOM (XKCDOTD) PinmemberBobJanova1-Feb-13 4:16 
GeneralPermalink PinprotectorAspDotNetDev1-Feb-13 6:36 
GeneralRe: Permalink PinmemberNueman1-Feb-13 6:58 
GeneralRe: Permalink PinmemberColin Mullikin1-Feb-13 7:51 
GeneralRe: Permalink PinmemberNueman1-Feb-13 8:20 
GeneralRe: Permalink PinmemberColin Mullikin1-Feb-13 8:22 
GeneralThere is something with Visual Studio these days that I fail to understand! PingroupGrasshopper.iics1-Feb-13 0:42 
I thought a while about the most appropriate forum to discuss this problem, then decided to throw it here in lounge. If not answered, at least it gives some thing to chill about.
 
Prolog
 
Ok, I am developing App using Perceptual Computing SDK and did work with Visual Studio 2012 in Windows 7 in c#, WinForm and WPF. No hassles. In the mean time I keep seeing people posting several questions about programs not working in VS 2012. Duh Poke tongue | ;-P
 
So finally I decided, lets add some spice by using the SDK in Ultrabook and develop a cool concept. To be true, I wanted to get GPS data, adjust map's center point through it and start zooming, pinning, sliding everything with hand movement. I had already tested my wpf app in Ultrabook. So It was supposed to be easy.
 
Story:
 
1. Started New application. Integrated Bing map, Got gps data. Adjusted map. Put some cool things with acceleration, compass and gyro. A Cup of tea.
 
2. Now referenced Perceptual Computing SDK C# library. And Debug and the famous and brutal exception " Memory you are using is corrupt.......". So ok, a managed code problem. So I opened SDK folder to compile some of the samples. None of them ( Yes none) got compiled. I thought why not give it a shot with VS-2010.
 
3. I installed VS 2010 in Ultrabook. But forgot to open the sample with it and opened a smaple with VS 2012. Guess what? Success! Wink | ;)
 
4. Damm I was happy. I thought so that is the case, both VS 2010 and 2012 must be installed for SDK to succeed in Ultrabook. I opened C# samples and all were running like a charm.
 

5. Going back to my program , compile. Same error. "Attempted to read and write memory.." So I concluded, it must have something to do with SDK running with WinRT.
 
6. I copied the code from Ultrabook to my Dev laptop, i.e. Sony Vaio( Win 7 64 bit). Plan was to change target platform to 7.0 and remove all WinRT references and check only map with Gesture. But as being habituated on double clicking on solution file, to my surprised the solution opened ( yes targetPlatform 8.0) got opened in Win7. Then I just pressed F5. And? It got compiled. And? It got run from debug mode. ( Ok GPS data did not arrive, but it was running).
 
7. So I thought surely it is a problem with WinRT+ SDK. I copied the same project in Ultrabook. I was cautious. No compiling. It is compiled in Win7. I will only run exe from debug folder.
 
I double clicked the exe. Crashed. So I ran in compatibility mode ( win 7 compatibility) . What you expect? It ran but without Camera part.
 
8. Final Try, I added the reference through VAIO using Network Sharing. Only Camera ran, map was no where there.
 

Epilogue
 
Win8 target runs on Win7. Win RT and Intel seems to hate each other. A logical brain can not identify VS 2012 way of working.
 
I strongly believe, the pressure of doing something new and publishing new software is resulting in many buggy commits. Sorry for such a huge message.
GeneralRe: There is something with Visual Studio these days that I fail to understand! PinmemberMatthew Faithfull1-Feb-13 0:56 
GeneralRe: There is something with Visual Studio these days that I fail to understand! [modified] PinprotectorPete O'Hanlon1-Feb-13 0:57 
GeneralRe: There is something with Visual Studio these days that I fail to understand! PinmembercptKoala1-Feb-13 1:03 
GeneralRe: There is something with Visual Studio these days that I fail to understand! PinmvpOriginalGriff1-Feb-13 1:06 
GeneralRe: There is something with Visual Studio these days that I fail to understand! Pinmemberc24231-Feb-13 3:13 
GeneralRe: There is something with Visual Studio these days that I fail to understand! PinmemberMatthew Faithfull1-Feb-13 1:07 
GeneralRe: There is something with Visual Studio these days that I fail to understand! PingroupGrasshopper.iics1-Feb-13 1:10 
GeneralRe: There is something with Visual Studio these days that I fail to understand! PingroupGrasshopper.iics1-Feb-13 1:09 
GeneralRe: There is something with Visual Studio these days that I fail to understand! PinprotectorPete O'Hanlon1-Feb-13 1:15 
GeneralRe: There is something with Visual Studio these days that I fail to understand! PinmvpOriginalGriff1-Feb-13 1:11 
JokeRe: There is something with Visual Studio these days that I fail to understand! PinmemberMatthew Faithfull1-Feb-13 1:47 
JokeRe: There is something with Visual Studio these days that I fail to understand! PinmemberS Houghtelin1-Feb-13 1:49 
GeneralRe: There is something with Visual Studio these days that I fail to understand! PinmemberBrisingr Aerowing1-Feb-13 4:01 
GeneralRe: There is something with Visual Studio these days that I fail to understand! PingroupGrasshopper.iics1-Feb-13 4:46 
GeneralWork Weirdo's PinmemberJimmy Savile1-Feb-13 0:18 
GeneralRe: Work Weirdo's PinprotectorPete O'Hanlon1-Feb-13 0:21 
GeneralRe: Work Weirdo's PinmemberDalek Dave1-Feb-13 0:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140922.1 | Last Updated 23 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid