Displaying 19 results from an estimated 19 matches for "setev".
Did you mean:
setenv
2006 Dec 07
0
Fwd: win32-service problems with patch
...BJECT_0)
- break;
-
- SetTheServiceStatus(SERVICE_START_PENDING, 0, i, 1000);
+ // no service to stop, no service handle to notify,
+ // nothing to do but exit
+ return;
}
// The service has started.
SetTheServiceStatus(SERVICE_RUNNING, NO_ERROR, 0, 0);
+ SetEvent(hStartEvent);
+
// Main loop for the service.
while(WaitForSingleObject(hStopEvent, 1000) != WAIT_OBJECT_0)
{
}
+ // Main loop for the service.
+ while(WaitForSingleObject(hStopCompletedEvent, 1000) != WAIT_OBJECT_0)
+ {
+ OutputDebugString(TEXT("service_main: wa...
2005 Sep 08
11
Stopping services
I''m back to getting stuff to run as a Windows service, and am running
in to a problem. My service (a Daemon ruby class) installs and starts
fine, but when I try to stop it, I get:
C:\workspaces\default\tahoe>ruby script\service stop
script/service:77:in `stop'': An exception occurred in the service
when handling
the control request. (Win32::ServiceError)
from
2009 Jun 25
1
Compiling and linking QT project with Wine libraries
Hi!
Sorry if my question very nooby, but I couldn't find answer in others posts. I'm trying to compile QT project which using some functions from kernel32.dll (SetEvent, Sleep, ExitThread etc.). I include Wine lib in my QT project file:
Code:
LIBS += /usr/lib/wine/kernel32.dll.so
When I linking my project I have errors such as:
Code:
undefined reference to 'SetEvent'
undefined reference to 'Sleep'
undefined reference to 'ExitThread'...
2005 Nov 26
1
Another patch of win32-service for nice startup.
...ad == INVALID_HANDLE_VALUE){
+ strcpy(error,ErrorDescription(GetLastError()));
+ ErrorStopService();
+ rb_raise(cDaemonError,error);
+ }
+
+ if(rb_respond_to(self,rb_intern("service_init"))){
+ rb_funcall(self,rb_intern("service_init"),0);
}
+ SetEvent(hStartEvent);
+
// Call service_main method
if(rb_respond_to(self,rb_intern("service_main"))){
rb_funcall(self,rb_intern("service_main"),0);
========================================================
I tested with the code of 400 seconds initialization and wo...
2009 Apr 22
0
ActiveX error when running an application(VB6 based)
...KERNEL32.CloseHandle() retval=00000001 ret=70101cc2
0009:Ret PE DLL (proc=0x70101ba1,module=0x70100000
L"RPCRT4.DLL",reason=PROCESS_DETACH,res=0x1) retval=1
0009:Call PE DLL (proc=0x66001ad8,module=0x66000000
L"MSVBVM60.DLL",reason=PROCESS_DETACH,res=0x1)
0009:Call KERNEL32.ResetEvent(00000050) ret=6600dddd
0009:Ret KERNEL32.ResetEvent() retval=00000001 ret=6600dddd
0009:Call KERNEL32.SetEvent(00000050) ret=6600de18
0009:Ret KERNEL32.SetEvent() retval=00000001 ret=6600de18
0009:Call KERNEL32.TlsGetValue(00000006) ret=6600371e
0009:Ret KERNEL32.TlsGetValue() retval=00000000...
2001 Sep 04
0
AOL/Jr Monopoly game installer. Crash on exit
...el32.WriteFile(00000008,405228e0,00000014,00000000,00000000)
ret=404f94ce
08074390:Ret kernel32.WriteFile() retval=00000001 ret=404f94ce
08074390:Call kernel32.DebugActiveProcess(08068680) ret=404fa047
08074390:Ret kernel32.DebugActiveProcess() retval=00000001 ret=404fa047
08074390:Call kernel32.SetEvent(00000094) ret=404fb1dc
08074390:Ret kernel32.SetEvent() retval=00000001 ret=404fb1dc
08074390:Call kernel32.CloseHandle(00000094) ret=404fb1f6
08074390:Ret kernel32.CloseHandle() retval=00000001 ret=404fb1f6
08074390:Call kernel32.GetStdHandle(fffffff5) ret=404f94c8
08074390:Ret kernel32.GetS...
2009 Apr 22
0
wine-users Digest, Vol 45, Issue 102
...KERNEL32.CloseHandle() retval=00000001 ret=70101cc2
0009:Ret PE DLL (proc=0x70101ba1,module=0x70100000
L"RPCRT4.DLL",reason=PROCESS_DETACH,res=0x1) retval=1
0009:Call PE DLL (proc=0x66001ad8,module=0x66000000
L"MSVBVM60.DLL",reason=PROCESS_DETACH,res=0x1)
0009:Call KERNEL32.ResetEvent(00000050) ret=6600dddd
0009:Ret KERNEL32.ResetEvent() retval=00000001 ret=6600dddd
0009:Call KERNEL32.SetEvent(00000050) ret=6600de18
0009:Ret KERNEL32.SetEvent() retval=00000001 ret=6600de18
0009:Call KERNEL32.TlsGetValue(00000006) ret=6600371e
0009:Ret KERNEL32.TlsGetValue() retval=00000000...
2006 May 11
9
world of warcraft doesnÄt work (sorry if double post)
if this is a doublepost please sorry bur the first post was blocked by
spamfilter because of wrong timesettings on my local computer. i reaplyed
to my original post and now im not shure if the mailserver thinks the
message is corrupt because of reply to a non existing message. here is the
originalmessage (again?)
Hi everyone,
thirst of all please forgive my bad english :)
i have installed wine
2012 Jul 11
1
Decoding a continues stream
Hi,
I've trying to decode a FLAC audio stream. I have a reader which sends
raw byte data to my FLAC wrapper class. Only once the decode function
below returns, the reader will send new data.
Hence I want to decode until the stream is empty, but I will add new
data to the stream once it is empty.
*void **MyFlacCoder::**decode(char *data, int bytes)
{
mBuffer = input;
2017 Jun 28
0
Missing dependencies in pkg installs SOLVED
...e is mounted with a noexec flag so no files in that directory are allowed to be executed. The solution is to set an environment variable TMPDIR=some new directory I created (eg. /home/myusername/tmp) Then R uses that directory for the installs. The easiest method then is to use do
sudo R
Sys.setev(TMPDIR="/home/myusername/tmp")
install.packages(pkglist)
the sudo R part just ensures I am installing into the global library and not a user specific library
--
W. Michael Conklin
EVP Marketing & Data Sciences
GfK
T +1 763 417 4545 | M +1 612 567 8287
-----Original Message-----...
2008 May 20
10
Asynchronous Pipe::Server problems
Hi all,
I''ve been working on the win32-pipe library (again) and I''ve reworked
the interface. Instead of Pipe.new_server or Pipe.new_client, there''s
now a base Pipe class, with Pipe::Server and Pipe::Client subclasses.
You can find the latest code in the CVS repo.
Oh, and you''ll need to update your windows-pr library with the latest
from CVS if you want to
2003 Mar 03
3
Problem of access samba from rh8
Hello,
I already setup a samba server as PDC for windows client to logon and
working fine now with the following config:
- redhat 7.3
- samba 2.2.7a
Then I try to access the samba share from Redhat 8, I can use smbclient to
access the share without problem but I can't access the share with "KDE's
Konqueror" (smb://NetbiosName/), it can show all shares, when I double one
of
2012 Jan 09
4
"timeGetTime“ function in winmm.dll
Dear Forum,
I installed MetaTrader 4 with wine it is up and running everything works well, the best performers is with the new wine 1.3.
BUT if I run some EA Experts Advisors I get on two of it problems and the application crashes.
The EA`s with crashes have custom .dll (FCS300.dll) and I try to debug this errors.
Code:
0028:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7d7984a2
0028:Ret
2013 Aug 21
2
[PATCH 1/3] Rationalise whitespace to 4 space indentation with no trailing spaces
...VOID
+WINAPI
SvcCtrlHandler (
- DWORD dwCtrl
+ DWORD dwCtrl
) {
- switch(dwCtrl) {
- case SERVICE_CONTROL_STOP:
+ switch(dwCtrl) {
+ case SERVICE_CONTROL_STOP:
ReportSvcStatus(SERVICE_STOP_PENDING, NO_ERROR, 0);
/* Signal the service to stop. */
SetEvent(ghSvcStopEvent);
-
+
return;
-
- case SERVICE_CONTROL_INTERROGATE:
+
+ case SERVICE_CONTROL_INTERROGATE:
/* Fall through to send current status. */
- break;
-
- default:
break;
- }
+
+ default:
+ break;
+ }...
2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
...VOID
+WINAPI
SvcCtrlHandler (
- DWORD dwCtrl
+ DWORD dwCtrl
) {
- switch(dwCtrl) {
- case SERVICE_CONTROL_STOP:
+ switch(dwCtrl) {
+ case SERVICE_CONTROL_STOP:
ReportSvcStatus(SERVICE_STOP_PENDING, NO_ERROR, 0);
/* Signal the service to stop. */
SetEvent(ghSvcStopEvent);
-
+
return;
-
- case SERVICE_CONTROL_INTERROGATE:
+
+ case SERVICE_CONTROL_INTERROGATE:
/* Fall through to send current status. */
- break;
-
- default:
break;
- }
+
+ default:
+ break;
+ }...
2012 Dec 21
0
Wine release 1.5.20
...on Edmeades (2):
cmd: Convert the set /a tests to validate better.
cmd: Add more tests for set /a.
Jiang Yike (1):
wined3d: Add recognition for NVIDIA GeForce GTX 660 Ti, 660, 650 Ti and 650.
Julian R?ger (1):
po: Update German translation.
J?rg H?hle (3):
mmdevapi: SetEventHandle is allowed only once.
winealsa: Separate read and write pointers.
mmdevapi: Avoid lock contention after SetEvent.
Ken Thomases (6):
winspool: Close read end of pipe in parent so we can detect child termination.
servicemodelreg: Keep debug channel name to 14 charact...
2008 Apr 14
10
wine asio
Does wine asio still work with the current version of WINE?
I tried installing it per the instructions and it didn't want to make.
2020 Aug 18
15
[PATCH nbdkit 0/9] Port to Windows.
Also available here:
https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw
This is the port to Windows using native Windows APIs (not MSYS or
Cygwin).
This patch series is at the point where it basically now works. I can
run the server with the memory plugin, and access it remotely using
guestfish, creating filesystems and so on without any apparent
problems.
Nevertheless there are many
2020 Aug 20
15
[PATCH nbdkit 0/13] Port to Windows without using a separate library.
Also available here:
https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw-nolib
After a lot of work I have made the port to Windows work without using
a separate library. Instead, on Windows only, we build an "import
library" (library of stubs) which resolves references to nbdkit_*
functions in the main program and fixes up the plugin, basically the
first technique outlined in