|
Hi All,
currently i am developing an application for audio playback, including local and online resources. I planned to use WMP SDK to help, however, one of my function needs me to be able to select/change the default audio device, however, it is not support by the SDK. I would like to know is there any other method to do so?
thanks a lot
|
|
|
|
|
StarMeteor,
Change the registry settings in:
HKCU\Software\Microsoft\Multimedia\Sound Mapper
To the other device by "Name" in the keys - Playback and Record.
hope that helps..
progload
|
|
|
|
|
Thanks for you reply
however, I found a problem ... I use regedit to look into registy but fail to locate the key you mention.... any suggestion?
Thanks
|
|
|
|
|
StarMeteor,
Yes, my mistake, apparently that only works with a soundblaster or compatable card installed.
Sorry, I'm no expert with the MP9 sdk and I don't have two audio devices installed so I've got no way to test this but in the IWMEncDeviceControl.GetInput and IWMEncDeviceControl.SetInput functions it looks like this is where microsoft is doing that (IWMEncDeviceControl Object).
Sorry I can't help you more, Take a look and see if this is what your looking for. (Notice the audio devices.. not the video devices)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmencode/htm/iwmencdevicecontrolobject.asp?frame=true[^]
progload
|
|
|
|
|
Really thanks for your help ^^
|
|
|
|
|
Hi all:
I'm setting up a IPv6 environment and in which I can reach to a computer by pinging it from a XP host using "ping/ping6 fe80::e0:4cff:fe62:b619%5"(ping Link Local Address including the scope id), but when I changed the pinging source from XP to Win 2003 server the "destination host unreachable" was displayed. Is there any obvious answers as to how this could happened, or any references are available?
|
|
|
|
|
The only obvious answer is that there is no route between the 2003 machine and the ping target machine. Exactly what's causing that can't be determined from the error message.
You'll have to make sure the IP config on the 2003 machine is good and make sure that any switch/router devices between the two machines are configured properly. What that entails is up to each device you have in the LAN/WAN path.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
The role of the subsystem DLLs is to translate a documented function into the appropriate internal (and generally undocumented) Windows system service calls. This translation might or might not involve sending a message to the environment subsystem process that is serving the user application.
I thought it means "an application doesn't to do harm to the OS" !!
thanks
|
|
|
|
|
This doesn't make any sense without some kind of context. What are you reading that says this???
"subsystem DLLs" can mean anything. There's nothing special about a "subsystem DLL" from any other .DLL.
None of this does any "harm" to the OS...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
Hello
One of my friends has got a problem in his PC. He says,
"I have to start up a pc I don't know what type of hardware it is. But it is Compaq. When I start it, Windows 98 begins to load up but nothing happens. When I reboot it and press F10 MS Dos starts and a utility appears to check up the hardware with different options. But upon selecting any one options nothing happens. It just holds on. What may be the problem and how can I solve it."
Can you please tell me how can we fix it.
Thank you.
We Believe in Excellence
|
|
|
|
|
Aqueel wrote: One of my friends has got a problem in his PC
Ask your friend, did he install any hardware or application before this problem occure? Is it possible to load into safemode environment?
|
|
|
|
|
3 possibilities:
1) A software installation gone bad has corrupted Windows. You MIGHT be able to recover it by uninstalling the last software that was installed, if you can get Windows started in Safe Mode.
2) Spyware/Virus has corrupted Windows. Good Luck, at this point, your better off reformatting the drive and starting over.
3) Hardware problems. Either bad RAM or a bad motherboard.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello All,
Today in a computer system, which is having MSSQL-Server in it, its MSSQLSERVER and SQLSERVERAGENT services stopped.
On starting SQLServerAgent service, this message comes:
error 1068: The depending service for group failed to start.
So can anybody tell me how to start this SQLServerAgent and MSSQLSERVER services as on manually starting these services these services are not starting.
Thanks in advance,
misecprj
misecprj
|
|
|
|
|
Hi, we're using Disk Space Inspector from Avexsoft (http://www.advexsoft.com/?source=g_dsi) for disk space allocation monitoring and management. It's cool and all. Just wondering though, is there any Open Source/Free equivalent?
|
|
|
|
|
Okay, I've been looking at a few articles on the network stack buffer sizes, and for the life of me can't see where to set the default value for UDP, though I can see it for TCP.
http://www.enterprisenetworkingplanet.com/nethub/article.php/3485486[^]
I can set it in Winsock in code for a new socket (SO_RCVBUF), but not as a default in the registry from what I can tell.
Anyone know how to do this for UDP, so the network stack uses a larger buffer for datagrams?
"Je pense, donc je mange." - Rene Descartes 1689 - Just before his mother put his tea on the table.
Shameless Plug - Distributed Database Transactions in .NET using COM+
|
|
|
|
|
Hi all I am using the MSPLOT driver as a model to build a monolithic printer
driver, what I am trying to do is have the driver create a engine managed
bitmap and hook some functions to it, when the driver cannot process the
drawing instruction it must punt to the GDI using ENGxxx function.
The code is something like this at DrvEnablePDEV:
SurfSize.cx = pPDev->HorzRes;
SurfSize.cy = pPDev->VertRes;
hHeap = GetProcessHeap();
pPDev->pbBitmap = (LPBYTE)HeapAlloc(hHeap, HEAP_ZERO_MEMORY,
(SIZE_T)(pPDev->HorzRes * pPDev->VertRes));
if (pPDev->pbBitmap == NULL)
{
TRACE_WARN("WARNING - BITMAP buffer not allocated reverting to Kernel
buffer",0);
// Should this be NULL GDI will allocate a buffer in kernel mode for the
bits
}
(HBITMAP)pPDev->hSurf = (HBITMAP)EngCreateBitmap( SurfSize, SurfSize.cx,
BMF_1BPP, BMF_TOPDOWN | BMF_NOZEROINIT, pPDev->pbBitmap );
// GDI punting, we shall call for a an engine managed bitmap to be called to
if (!EngAssociateSurface(pPDev->hSurf, (HDEV)pPDev->hpdev, HOOK_BITBLT |
HOOK_STRETCHBLT | HOOK_COPYBITS | HOOK_STROKEPATH | HOOK_FILLPATH |
HOOK_STROKEANDFILLPATH | HOOK_TEXTOUT))
{
TRACE_ERR(("DrvEnableSurface: UNable to associate surface"));
DrvDisableSurface((DHPDEV)pPDev->hpdev);
EngDeleteSurface(pPDev->hsurf);
return(NULL);
}
return((HSURF)pPDev->hsurf);
And at the drawing functions (sample DrvTextOut) :
// Punt call to GDI if no special rendering can be done
pso->iType = STYPE_BITMAP;
if (EngTextOut(pso, pstro, pfo, pco, prclExtra, prclOpaque, pboFore,
pboOpaque,
pptlBrushOrg, mix ) == DDI_ERROR)
{
return DDI_ERROR;
}
But when I punt to the GDI the Bitmap returned has its bits all 0, meaning
no drawing is done and I cannot understand why. Could any one help or maybe
hint me in whats missing in my code.
Thanks alot
|
|
|
|
|
I don't think many driver developers hang out here. You may get better answers on the NTDEV mailing list[^].
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Why are we not using Virtual Server 2005 or VMWare for everything...? I love being able to restore snapshots at any one point with Snapshot Manager with VMWare.
|
|
|
|
|
Because of the cost of the licensing...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I actually use VMWare a lot for app testing and Hotfix prototyping. But as posted, there are licensing concerns. Though MS seems to be warming a little to he idea.
http://www.gartner.com/DisplayDocument?doc_cd=132810
One thing I noticed was that my copy of Windows 2003 Standard Edition that was bundled with my VS 2003 doesn't seem to complain if i use multiple instances on my test system (VMWare 5.5.1). Depends on what you're testing. The bundled Virtual PC in Vista also seems to allow 1 VM to be created without requiring an additional license.
|
|
|
|
|
Hi, when i browse code project forum, i usually found the following page occure:
ASP Engine error<br />
The ASP engine on this server (IIS 5) is prone to crashing under high load. No specific error has occurred - it's simply that the server has collapsed and will be restarted within the minute by our health monitoring systems. <br />
<br />
Please try again and you will hopefully be routed to a different, healthier server. <br />
<br />
Click here to try again.<br />
<br />
<br />
--------------------------------------------------------------------------------<br />
<br />
Error Type:<br />
(0x0)<br />
<br />
<br />
<br />
Page:<br />
GET /info/error500.asp
Is it become from the server of code project error or my computer error?
|
|
|
|
|
This is a server-side error. There's nothing on your machine that would cause this error.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Dave, Thank you very much for your information.
|
|
|
|
|
I have Windows XP with all latest updates installed.
I have MS Office 2003 installed.
When I start Access .mdb fail, I get:
"Security Warnings: Unsafe expressions are not blocked"
"Microsoft Jet 4.0 Service Pack 8 or later must be installed to block unsafe expressions ..."
When I start to install Jet 4.0 SP8 Update (for Windows XP) , I get:
"Setup has detected that the Service Pack version of this system is newer than the update you are applying"
what newer updates should I apply to block unsafe expresions?
-- modified at 13:25 Saturday 18th February, 2006
|
|
|
|