Can't start Windows Phone Emulator after installing Mango SDK - windows-phone-7

I've been working with the Windows Phone SDK 7.0 for a long time on my computer. Now I installed the SDK 7.1 (beta) and for some reason I can't start the emulator. I'm getting this error:
The program can't start because MFPlat.DLL is missing from your
computer. Try reinstalling the program to fix this problem.
I don't have that dll on my system, but I grabed it from another computer and put it in System32 and in the emulator directory, but still no luck. I tried reinstalling the SDK twice with no luck either.
Any ideas?
Thanks in advance

OK, I'll suggest first of all you need that files. In my system I found mfplat.dll in four different places. Also I found mfplat.dll.mui file (also in four different locations), which maybe also you need.
Here is links for that files (from my public dropbox folder). I make archives with different extensions.
There is a txt file with path in it in each folder, try copy to the same folder and give feedback.
7z archive
RAR archive
ZIP archive

I had the same issue. I tried this solution despite the possible dangers and it still did not work for me. The reason is that the dlls posted by Arterius are for the 64 bit version of Windows. I am on a 32 bit Win 7 OS.
I tried installing the WP7 SDK on another PC using the same installer and surprisingly, it worked perfectly. The only difference between these two machines was that on my work laptop(where I had the issue), The version of the OS was Windows 7N(This version does not have media player bundled). And on my other computer(where the installer worked perfectly), the version was one which had Windows media player installed. I found the media update to get Windows media player installed, downloaded and installed it and then restarted and tried the emulator. Not Surprisingly, it worked perfectly.
Microsoft works in mysterious ways!!!

Related

opengl with windows 8

I just installed windows 8 and microsoft visual studio 2012. The problem comes when I try to run a program, it tells me:
the program can't start because glu32.dll is missing from your computer. try reinstalling the program to fix this problem
But I have already placed the glu32.dll in the locations that it should.
The graphics drivers shipping with Windows 8 lack proper OpenGL support. You must download the drivers from your GPU vendors website directly and install those.
Also when manually adding missing DLLs you should not add them to system directories, but into right into the directory of the application's .exe files.

Object Library Not Registered When Adding Windows Common Controls 6.0

I am trying to install Visual Studio 6 on a Windows 7 32bit machine.
The OS intall was from bare metal.
I followed the instructions mentioned here (which I have used before)
The install went fine with no errors reported but when I try to add the Microsoft Windows Common Controls 6.0 to the toolbox I get the "Object Library Not Registered" Error.
I tried doing a manual uninstall and reinstall of the OCX which both succeeded but I still have the same error.
I tried installing SP6 and that installed without error (and updated the OCX to a newer version) but I still have the same problem.
EDIT:
As mentioned below on further investigation it seems that the IE10 update breaks the MSCOMCTL.ocx. However I also think this is something to do with the order because I have another Windows 7 machine with IE10 that works fine.
On 32-bit machines:
cd C:\Windows\System32
regsvr32 mscomctl.ocx
regtlib msdatsrc.tlb
or on 64 bit machines:
cd C:\Windows\SysWOW64
regsvr32 mscomctl.ocx
regtlib msdatsrc.tlb
These need to be run as administrator.
I can confirm that this is not fixable by unregistering and registering the MSCOMCTRL.OCX like before. I have been trying to pin down which update is the source of the problem and it looks like it's either IE10 or IE10 in combination with some other update that's causing the problem. If I can get more time to invest in this I'll update my post but in the meantime uninstalling IE10 resolves the issue.
...and on my 64 bit W7 machine, with VB6 installed... in DOS, as Admin, this worked to solve an OCX problem I was having with a VB6 App:
cd C:\Windows\SysWOW64
regsvr32 mscomctl.ocx
regtlib msdatsrc.tlb
YES! This solution solved the problem I had using MSCAL.OCX (The Microsoft Calendar Control) in VB6.
Thank you guys! :-)
You Just execute the following commands in your command prompt,
For 32 bit machine,
cd C:\Windows\System32
regsvr32 mscomctl.ocx
regtlib msdatsrc.tlb
For 64 bit machine,
cd C:\Windows\SysWOW64
regsvr32 mscomctl.ocx
regtlib msdatsrc.tlb
I have been having the same problem. VB6 Win7 64 bit and have come across a very simple solution, so I figured it would be a good idea to share it here in case it helps anyone else.
First I have tried the following with no success:
unregistered and re-registering MSCOMCTL, MSCOMCTL2 and the barcode active X controls in every directory I could think of trying (VB98, system 32, sysWOW64, project folder.)
Deleting working folder and getting everything again. (through source safe)
Copying the OCX files from a machine with no problems and registering those.
Installing service pack 6
Installing MZ tools - it was worth a try
Installing the distributable version of the project.
Manually editing the vbp file (after making it writeable) to amend/remove the references and generally fiddling.
Un-Installing VB6 and re-Installing (this I thought was a last resort) The problem was occurring on a new project and not just existing ones.
NONE of the above worked but the following did
Open VB6
New project
>Project
>Components
Tick the following:
Microsoft flexigrid control 6.0 (sp6)
Microsoft MAPI controls 6.0
Microsoft Masked Edit Control 6.0 (sp3)
Microsoft Tabbed Dialog Control 6.0 (sp6)
>Apply
After this I could still not tick the Barcode Active X or the windows common contols 6.0 and windows common controls 2 6.0, but when I clicked apply, the message changed from unregistered, to that it was already in the project.
>exit the components dialog and then load project.
This time it worked.
Tried the components dialog again and the missing three were now ticked. Everything seems fine now.
You can run the tool from Microsoft in this KB http://support.microsoft.com/default.aspx?scid=kb;en-us;Q195353 to fix the licensing issues for earlier ActiveX controls. This worked for me.
To overcome the issue of Win7 32bit VB6, try copying from Windows Server 2003 C:\Windows\system32\ the files mscomctl.ocx and mscomcctl.oba.

vb 6.0 program on windows 7

I have been trying to install and run a program written in vb 6.0 on windows 7. It was working fine installing and running in windows xp. The error message after installing and running it say that
Run-time error 339" : Component voice.ocx or one of its dependencies not correctly registered: a file is missing or invalid.
This program has voice recording things.
I manually register that ocx component but still error that shown like
The module "voice.ocx" failed to load.
And I try to install VB run-time and still shows the same error. I believe that Windows 7 support vb 6.0 programs.
One thing here I am not sure of is that the ocx component I have is whether 16 or 32 bit version. I don't think we cannot register 16 bit version ocx in windows 7.
And I also try to install and run in compatibility mode or even as administrator. I think it is a platform related issue? And it might be some other work-around. So, I appreciate your hints or clues on this program runnable in windows 7.
Thanks in advance.
Regards,
SEE
Just encase anyone else sees this.. here is what I did
I knew the program was running on Windows XP, with visual basic installed. I had only been given the exe and the MDB. So I created a virtual machine (stick with me) of Windows XP, installed visual basic and test the app. It was fine. Then I downloaded a dependency tool called Dependency Walker from http://www.dependencywalker.com/. I installed this in the virtual machine and asked it to open my exe.
Once this was loaded I ignored the warnings and asked it to start profiling. I ran the app, stepped through everything I could see, then exited the application. This left me with a log of the DLLs that had been accessed. Slowly I went through these checking if they existed on my windows 7 setup, when one was missing I copied it to my application directory and then from an elevated command prompt run "regsrv32 [missing_name.dll]" until there were no files which my windows 7 desktop didn't have.
the application then worked fine! This may not work all the time, because of the way third party OCX's or DLLs have been written. But it may help someone out.
Few of old Win32 components are not supported in Windows 7. There are possibilities of failure of a VB Program in Windows 7.
But there are some possible ways to fix those.
Check the following links to avail the same.
http://www.personalcomputerfixes.com/general-errors/how-to-successfully-fix-the-339-runtime-error/
http://social.msdn.microsoft.com/Forums/en-US/vbpowerpacks/thread/8cb5ab97-8407-4e49-8db6-30dcef87cbd1/
http://yang.articlesbase.com/operating-systems-articles/simple-solutions-on-how-to-fix-runtime-error-339-1830111.html
I have developed several programs with VB5 on a WinXP32 machines and then installed them on Windows 7 (32 and 64) PCs without problems.
This applications use different OCXs (16 and 32 bit version) and till now I never get problem with them. Thus I do not think that the VB5 or Vb6 could have any issue on Windows 7 machines.
On the other hand I would point out the module "voice.ocx" and investigate if it can run on a windows 7 pc, because as Katturaja sais some old ocx have problem on win7. To do that, I would create a simply VB6 project that uses voice.ocx (just an Hallo-World"), then create the installation pack and finally try to install on a clean win7 machine (for example a virtual machine). In this way you could isolate the problem.
I hope this could help you.

Error launching emulator of the windows phone 7 Mango RC

I've been working with the Windows Phone SDK 7.0 for a long time on my computer. Now I installed the SDK 7.1 (RC) and for some reason I can't start the emulator. I'm getting this error:
Error: The saved-state file C:\ProgramData\Microsoft\XDE{4321-43-432-432-432343234}.dess is corrupt. Please delete the corrupted saved state file and then retry.
I tried suggestions from this article. But they didn't help. Also I tried reinstalling Windows Phone SDK.
Any thoughts how to fix it?
What I'd try:
Open a Windows Explorer window with the file shown.
Delete the file.
Launch the emulator.
Wait for the error message. If there is no error message and the emulator is working, congratulations!
Refresh the Windows Explorer window.
Is the appropriate .dess file restored into the folder? If so, then the file that is restoring the .dess file is corrupt. Reinstall the SDK until it works.
If this doesn't work, do this:
Figure out how your computer is different from the average developer's computer. Did you install some funky customization software? Did you mess up your registry?
Eliminate the differences that you can eliminate - e.g. undo any changes to the WP7 related area of your registry, find and eliminate any viruses {duh!}, kill any nonnecessary background apps like volume managers or printer software, and redownload the installer for the SDK {sometimes the installers are corrupt.}
Install it as a different user. This is the simple equivalent of some of the above steps.
Remember:
The SDK is still RC, so there may be some bugs.
After installing the SDK for the 500th time, it may be time to try something different.
Always install the x64 version on an x64 PC and the x86 version on an x86 PC.

VB6 WIA Module-Automation Error

I'm trying to use WIA in an older VB6 program running in Windows 7 and when I run from source everything works great and I can import images. When I run from the compiled version I get the following error:
Automation error. The specified module could not be found.
(Error number 2147024770)
I found the wiaaut.dll in both system32 and SysWOW64 so I don't know if that is potentially causing a problem. I tried unregistering and registering both to no avail. Any help would be much appreciate.
As far as I know wiaaut.dll is preinstalled in Vista and Windows 7, but this is not the redist version for XP that comes in the downloadable SDK, and it should not be deployed to those newer OSs. perhaps somebody tried to run some application installer on your machine that forced the XP version into place blindly?
Perhaps try How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7 to see if it can restore the original Win7 version?

Resources