|
So why don't you write a nice CP article about how it's done, how to use it and post some code instead of spamming here?
|
|
|
|
|
When try to test the connection to Windows CE device in the Platform Manager of embedded Vc environment, it gives the following error message:
Unable to connect to the device. Please make sure you have installed the underlying transport (e.g., ActiveSync) and have a device connected.
This problem may even occur when Microsoft ActiveSync already has a connection established to the Windows CE device at the same time.
How to solve this.
|
|
|
|
|
Hi
Have you tried to upgrade to ActiveSync 3.5?
I had similar issues with 3.1.
Cheers
Mike
|
|
|
|
|
I have something interesting going on...
Operating System: Windows 2000 (SP2)
Whenever I use Start>Run (or Windows + R) to run an app (usually "regedit", but it does the same with notepad or any application) it correctly launches the application but also displays the error message "Cannot find the file 'regedit' (or one of its components). Make sure the path and filename are correct and that all required libraries are available." After I press "OK" on this messagebox the "Run" dialog re-appears. The application IS running and IS useable.
I've searched high and low on the internet (including Microsoft's site) to no avail. Apparently I'm the only person on the planet that this happens to. It is consistent (happens every time). If I use "Run" with a URL it works OK, it only does this with applications.
This isn't a "show stopper" but it certainly is annoying. Any ideas??
Mike Mullikin - Sonork 100.10096
"Oh, you hate your job? Why didn't you say so? There's a support group for that. It's called EVERYBODY, and they meet at the bar." - Drew Carey
|
|
|
|
|
really just ideas:
what when you run dos-box? (cmd or command; i have no w2000 here)
no strange default path?
all ok when you run from dos-box?
makes any delay?
what is your %path%?
the same with "c:\bootlog.txt"? (sorry, you already said no)
the same with "start command"?
t!
|
|
|
|
|
real name wrote:
what when you run dos-box? (cmd or command; i have no w2000 here)
From "Command Prompt" it runs OK.
real name wrote:
no strange default path?
My current PATH variable is: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
real name wrote:
makes any delay?
No delay
real name wrote:
the same with "start command"?
Same error about "command" and Dos box opens
Mike Mullikin - Sonork 100.10096
"Oh, you hate your job? Why didn't you say so? There's a support group for that. It's called EVERYBODY, and they meet at the bar." - Drew Carey
|
|
|
|
|
yeah: and the same with "c:\path\exename.exe"?
t!
|
|
|
|
|
real name wrote:
the same with "c:\path\exename.exe"?
Same error.
Mike Mullikin - Sonork 100.10096
"Oh, you hate your job? Why didn't you say so? There's a support group for that. It's called EVERYBODY, and they meet at the bar." - Drew Carey
|
|
|
|
|
Could be a virus, or the remains of a virus that incompletely removed. Some Windows viruses associate themselves with .EXE files. Look in HKCR\.exe and HKCR\exefile and see if there's anything suspicious-looking there.
--Mike--
http://home.inreach.com/mdunn/
"Not our fault we are intellectually superior to the rest of the office." -- Paul Watson in the Lounge, 12/12/2001
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan.
|
|
|
|
|
Nothing "suspicious-looking"...
...but then again, I have no idea what I'm looking at in this area of the registry.
One thing that strikes me as odd, is that I can't find any hint of this issue anywhere on the internet. It's kinda tricky to search for, but I haven't found a thing. I had also considered the possiblity of virii, but I would have thought somebody else would have noticed/reported it. Oh well, maybe it's a really, REALLY bad virus writer and I was his/her first victim and the virus died.
Mike Mullikin - Sonork 100.10096
"Oh, you hate your job? Why didn't you say so? There's a support group for that. It's called EVERYBODY, and they meet at the bar." - Drew Carey
|
|
|
|
|
Anything suspicious would be under HKCR\exefile\shell, especially shell\open\command. The default value of the command key should be "%1" %* . If there's an .exe name there, instead of %1, then it's likely a virus.
--Mike--
My really out-of-date homepage
"Not our fault we are intellectually superior to the rest of the office." -- Paul Watson in the Lounge, 12/12/2001
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan.
|
|
|
|
|
Michael Dunn wrote:
Anything suspicious would be under HKCR\exefile\shell, especially shell\open\command. The default value of the command key should be "%1" %*. If there's an .exe name there, instead of %1, then it's likely a virus.
Nope, everything seems to look like it should. Any idea what executable is run when I use Start/Run? Nothing new gets added to the Applications or Processes in Task Manager. Is it part of explorer.exe??
Mike Mullikin - Sonork 100.10096
"Oh, you hate your job? Why didn't you say so? There's a support group for that. It's called EVERYBODY, and they meet at the bar." - Drew Carey
|
|
|
|
|
Mike Mullikin wrote:
Any idea what executable is run when I use Start/Run?
That's part of Explorer (it's just a modeless dialog), not a separate EXE.
--Mike--
My really out-of-date homepage
"Why does anyone have a web page? Too much free time... not enough friends... justifying owning a computer." -- Noel Crane on Felicity
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan.
|
|
|
|
|
Somehow, some way, it has healed itself...
This weekend after uninstalling a few un-needed apps (mostly shareware), accidentally un-installing MS Office and re-installing and patching MS Office my Start->Run sequence works properly again. I guess I'll never know EXACTLY what was wrong.
Oh well...
Mike Mullikin - Sonork 100.10096
"Oh, you hate your job? Why didn't you say so? There's a support group for that. It's called EVERYBODY, and they meet at the bar." - Drew Carey
|
|
|
|
|
My fixit to general problems like this -- it to run Norton's WinDoctor (part of Norton Utilities). It seems to just run thru and make sure things are "right".
I strongly recommend it...
|
|
|
|
|
Hi All,
I'm writing a service, that spawns several new processes. These new procs can either be gui apps or console apps. I redirect the std handles (stdout/stderr/stdin) via anonymous pipes as seen in well known msdn articles. After creating the new processes I wait for all my pipe-handles to become signaled. So far so good. Everything works fine with console apps, but if I start a gui app (e.g. notepad.exe), the pipe handle (stdout) gets signaled and a following ReadFile() blocks forever!.
Okay, I tried to check for available data with PeekNamedPipe(). It's return value is always 0 (zero), so I skip the ReadFile(). But now the pipe handle becomes signaled ever and ever again and my cpu is at 100% with peeking the stdout pipe...
I'm lost. What does Notepad.exe do with the std - handles?
Any hints would be very appreciated!!!
Frozen greetings from Germany,
Jens
|
|
|
|
|
Maybe the problem is that you try to talk with GUI applications by the same way as with console applications. They should be handled by the other way. After creating the process use WaitForInputIdle() to wait for it's initialization. FindWindow, EnumWindows etc. allow to get window handle, after this talk with this window using PostMessage. Check out also windows hooks (SetWindowsHookEx). There is nothing to do with pipes here.
|
|
|
|
|
...sure, but my problem is the strange behavior. I don't know whether I start a gui- or console application, so I can't differentiate between them. If a gui applicaton doesn't touch the std-handles, why do they behave in such a strange fashion?
|
|
|
|
|
Maybe function IsGUIThread may help you.
|
|
|
|
|
What about CreateProcess and waiting on the process handle?
Actually, from your description I'm not entirely sure what you really want to do.
/Mike
|
|
|
|
|
I want to use CButtonST but as they say in the discussing board on the CButtonST page there is a bug with the transparency function. It looks corrupted sometimes and I don't like it! It's a bug according to the author and I ask you now if you know another class that can make hover event and transparent....???
------------------------------
©0d3 ©®4©k3® - That's me!
------------------------------
|
|
|
|
|
Why don't you have a look at it and fix it then ?
Christian
After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
I don't know if can so much to see the errors.. but I will try!
------------------------------
©0d3 ©®4©k3® - That's me!
------------------------------
|
|
|
|
|
Is there any API that can increase the volume?
------------------------------
©0d3 ©®4©k3® - That's me!
------------------------------
|
|
|
|
|
What volume? What do you want to do? Is this related to sound, and in that case are you using DirectSound? I don't know much about DirectX, but I guess someone here could help you if you provided more info..
/moliate
/moliate
|
|
|
|