S60 3rd ed Emulator terminates as soon as started in windows 7 - c++

I have installed carbide c++ 2.7 , S60 3rd edition FP2, activePerl on Drive C. carbide c++ detects that the sdk is installed and I can create Symbian OS C++ projects too. When I build the projects, all the executables are created and when I run the emulator debug, the emulator starts and then after few seconds it terminates. I followed the instruction come with sdk on how to install the sdk on vista( well same should apply for win 7 ryt?).. please help me.. Even I cannot run Hello world program.. :D

I've had the same problem on Windows 7 using SDK Emulators, the issue was that my sound chip was Realtek. If you disable all sound outputs via Sound option from Control Panel and start the Emulator then it will work. After it loads fully just re-enable your sound devices.
That's at least how it worked in my case.

Related

Program compiled on Win7 crashes in XP (Visual C++ 6)

I have a rather large codebase that I've inherited and I'm kind of stuck in the past for the moment. I'm working in Visual C++ 6 in Windows 7 (32-bit), however, I'm targeting an XP machine (Service Pack 2). Corporate doesn't see the ROI of upgrading it to .NET and I've got about as much pull as a Mini Cooper towing a train.
With that said, I did seemingly successfully install VC++6 (without XP compatibility) on my Win7 machine and I can compile and run fine. However, when I try to deploy my release build to my XP machine, it crashes (while it does not crash on Win7). If, however, I build the same code on the XP machine directly, it'll work fine. Running VC++6 on my Win7 machine in XP compatibility mode crashes the IDE upon opening of my workspace.
The only thing I can possibly think of is that the code makes extensive use of ActiveX controls and the registry. I'm not sure if maybe there's some Win7 specific registry modifications that are being made or vice-versa. Then again, I know very little about the registry; I'm definitely much more comfortable working in a Unix environment when coding for pleasure, especially when I code in C/C++.
Here's a screenshot of the error I'm getting when it crashes. I'm imaging it's got something to do with ActiveX registration.
No, this isn't ActiveX related at all. This is you bog-standard, 1980's type assert. As you would have noticed, had you looked at winocc.cpp line 279.

Programming for Windows Phone 8 (and beyond) on GNU/ Linux

Since the VideoLAN programmers do write Windows 8/RT/Phone apps using Linux based operating systems and GCC I was wondering, whether there is some progress in regard to how to program for Windows in a Linux environment, where Windows is used only for testing. How easy/ hard is it, to program a Windows RT (modern UI whatever)/ Windows Phone 8 application on Linux?
I imagine a situation, where you use tools such as Git, Emacs/ VIM, GCC, Mono etc. to do the job. How about submitting the app without Visual Studio?
I ask, because Microsoft open-sourced so much stuff now, using Linux based OS for development could (should?) become feasible while developing apps for their systems. Does anybody have some behind the scenes information on this? It is very hard to find some relevant info.
Note I edited this question to be more "straight to the point"
Links:
This is the VLC Kickstarter page: https://www.kickstarter.com/projects/1061646928/vlc-for-the-new-windows-8-user-experience-metro
I'm a software engineer at Microsoft so I think I could give you some insights on this.
From a testing perspective, you should definitely have a Windows machine to test against. You can install Windows 8 as a VM using Virtual Box or something similar. You could also remote into a Windows machine if you have access to one.
Visual Studio can't be installed in Linux, as you know, but there are other C#/ASP.NET/etc. IDE's that you can use natively on Linux. Look into Wine for Linux: http://www.winehq.org/about/. It may help you somewhat.
As an aside, developing applications for Windows will be getting easier in the coming months. As was announce at MS Build, Microsoft is moving towards a universal app store that will make your app run on all Windows devices: PC, tablet, phone, and Xbox. This doesn't help with developing apps on Linux, but if you're a Windows developer, you might want to keep your eyes open about the new universal-style apps.

Run software from USB device

I am developing a desktop based application using VC++.
I have stuck on one problem that the application should run through USB too.
I have searched for the answer I get to know that I can do it by changing installation path to USB device from this Link.
But my application needs some supporting platform like .Net Framework 4.0 Client Profile, and some redistributables for running application.
So, Can anyone tell me how can I make my application running through USB?
Thanks in advance.
regarding .Net Framework 4.0 Client Profile
As far as i know the .Net runtime can not be included in an Application.
The PC you want to execute your Application on needs to have the proper Runtime Version installed, it doesn't matter if its running from USB or not.
Here is a good article about the topic:
http://johnhaller.com/useful-stuff/dot-net-portable-apps
it basically concludes that you have to chose the .Net version depending on your target OS.
for Windows Vista and Windows 7 it would be .Net 2.0,
for Windows 8 it would be .Net 4.0
There might be a solution using Portable.Net or Mono but thats a bit above my developer skills :)
regarding redistributables
it really depends on what kind of redists you mean, if its the visual c++ redist you only need to include the right DLL, for other redists im not sure.
Btw Apps running from USB Sticks are usually called 'portable app', if you search for dotnet portable apps you can find quite some information.

Programming on an ARM tablet

Not sure whether to ask this here or on SuperUser... so please migrate it if required.
I was recently gifted an Asus Vivo WinRT tablet by my boss and I was looking forward to having a little portable testing environment.
Unfortunately, it contains an ARM processor and, as far as I can see, there are no development tools that will run on it. Everything is x86/x64.
Is there anything I can use to develop on the actual tablet itself? If not .NET, then perhaps a C and/or C++ compiler? SQL even? Anything? I'm having heaps of trouble finding anything myself.
No, there is not. You'll need to use visual studio 2012 and create a windows store application. From there you can build your app and side load it to the tablet. There is a component you can install on rt that will enable you to debug the app as it runs on the tablet however, this comes with vs.
Most apps for any tablet are developed this way, as tablets usually less than ideal development machines.
The only way at the moment is to use remote desktop. use the RDP client on the RT slate to connect to a PC with visual studio installed.

Symbian C++ Development Under Mac OS X

I've been developing for Symbian S60 3rd Edition since last year using Carbide.c++ under Windows. THe problem is that I moved to Mac OS X this year(bought a Macbook Pro) and when I was going to download Carbide.c++, I saw that it's Windows-only, because of the Requirements:
Microsoft Windows XP Professional Service Pack 2 or Microsoft Windows Vista (32-bit).
1 GB of RAM.
700 MB of free disk space for Carbide.c++.
1.8-GHz processor; x86 architecture.
ActiveState ActivePerl-5.6.1.635.
At least one Symbian OS platform SDK.
1,024 x 768-pixel screen capable of displaying 16-bit colour.
But there are any alternatives for Mac OS X?
As of now, Mac is not officially supported if you want to develop apps for Symbian (either using QT or without QT). The problem is that all the tools needed to create the final binary run only on Windows (abld).
This page on Forum Nokia makes it pretty clear:
Qt for Symbian development requirements
In order to develop Qt applications for Symbian devices you'll need the following setup:
Development PC.
You need a Windows PC. At present, Symbian development is best supported on Windows XP and Windows Vista.
You can use remote compiler from mac via qt.
http://labs.qt.nokia.com/2011/01/20/qt-sdk-1-1-technology-preview-released/
But there are any alternatives for Mac OS X?
One alternative is to use QT Creator on Mac to develop your Symbian app. You can develop and debug it for SImulator versions only on Mac, so once you're done developing/testing it on Mac, you can transfer your project/synch with your s/w versioning tool on Windows for actual on-target debugging.
You can download Qt for MacOs from http://qt.nokia.com/downloads/sdk-mac-os-cpp. Nokia is strongly urging (standardizing on) Qt for new development. Stay tuned for the Nokia Investor Strategy and Financial Briefing on Feb. 11.
running Symbian emulator in VMWare never worked 100% for me... If the Qt is enough for you you can use QtCreator - it is available also for MAC OS.
BR
STeN