Displaying 9 results from an estimated 9 matches for "getmodulefilenam".
Did you mean:
getmodulefilename
2008 Jul 19
1
GetModuleFileName in winelib DLLs
Hi,
I have the following problem - when I compile a DLL using winegcc and
call GetModuleFileName on it I get a name in "c:\windows\system",
regardless of the DLLs actual location. I have googled for it, and found
this thread
http://www.winehq.org/pipermail/wine-devel/2003-December/023224.html
which says that this behavior is needed for built-in DLLs. My problem is
that I'm...
2002 Oct 31
1
header containing (PR#2003)
Ok, I try to explain the problem better:
getHome() uses now "GetModuleFileName()" to determine
the R home-directory. "GetModuleFileName()" doesn't check
the R_HOME environment setting, instead it returns the
path of the .EXE, that started R, which is usually located in
$R_HOME/bin. If R is invoked via Java, "GetModuleFileName()"
returns $JDK_HOME...
2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
...CtrlDispatcher( DispatchTable ))
+ {
+ SvcReportEvent(TEXT("StartServiceCtrlDispatcher"));
+ return EXIT_FAILURE;
+ }
+
+ return EXIT_SUCCESS;
+}
-VOID
+VOID
SvcInstall() {
- SC_HANDLE schSCManager;
- SC_HANDLE schService;
- TCHAR szPath[MAX_PATH];
-
- if (
- !GetModuleFileName(
- NULL,
- szPath,
- MAX_PATH
- )
- ) {
- printf("Cannot install service (%d)\n", (int) GetLastError());
- return;
- }
-
- schSCManager = OpenSCManager(
- NULL,
- NULL,
- SC_MANAGER_ALL_ACCESS
- );
-
+ SC_HANDLE schSCManager;
+ SC_HANDLE schService;
+...
2001 Oct 09
2
crash on priviledged instruction
Hello,
is it possible to make a work around for the crash ? The crashing program
is the installer of the T-Online software (CD from 29.04.1999).
Tsch?? Stefan
-------------- next part --------------
08243b48:Call KERNEL.49: GETMODULEFILENAME(0x09c6,09c7:89da,0x0104) ret=060f:10ae ds=09c7
08243b48:Ret KERNEL.49: GETMODULEFILENAME() retval=0x000f ret=060f:10ae ds=09c7
08243b48:Call KERNEL.127: GETPRIVATEPROFILEINT(0x09c70cbf "Palette",0x09bf4ac0 "Animation",0x0001,0x09c789da "H:\\t-online.INI") ret=063f:0b...
2013 Aug 21
2
[PATCH 1/3] Rationalise whitespace to 4 space indentation with no trailing spaces
...CtrlDispatcher( DispatchTable ))
+ {
+ SvcReportEvent(TEXT("StartServiceCtrlDispatcher"));
+ return EXIT_FAILURE;
+ }
+
+ return EXIT_SUCCESS;
+}
-VOID
+VOID
SvcInstall() {
- SC_HANDLE schSCManager;
- SC_HANDLE schService;
- TCHAR szPath[MAX_PATH];
-
- if (
- !GetModuleFileName(
- NULL,
- szPath,
- MAX_PATH
- )
- ) {
- printf("Cannot install service (%d)\n", (int) GetLastError());
- return;
- }
-
- schSCManager = OpenSCManager(
- NULL,
- NULL,
- SC_MANAGER_ALL_ACCESS
- );
-
+ SC_HANDLE schSCManager;
+ SC_HANDLE schService;
+...
2002 Jan 29
5
Still no luck on command line parse
Thanks, bjornr, however your suggestion to try:
wine "C:\Program Files\intuit\qbtimer\qbtimer.exe"
gave the same result as the other command lines I tried.
All invoke the qbtimer program and all get the same error from qbtimer:
Can't find timer file "Files/intuit/qbtimer.exe" ...
So wine properly finds the qbtimer.exe file. The error arises after
the program is
2011 Oct 10
0
Wine release 1.3.30
...forms we care about now.
tests: Remove unneeded assert.h includes.
Assorted spelling fixes & co.
po: Mark translations with mismatched printf format directives as fuzzy.
browseui/tests: Skip some tests if IEnumACString is not supported.
kernel32: Reset LastError if GetModuleFileName() succeeds.
kernel32/tests: Check what happens if QueryDosDeviceA() is given an insufficient buffer.
kernel32/tests: Test K32GetProcessImageFileNameA() and improve the QueryFullProcessImageNameA() tests.
kernel32/tests: Better check the NT path returned by QueryFullProcessImageNa...
2008 Jun 27
0
Wine release 1.1.0
...x is 0-based.
rpcrt4: Add a stub for I_RpcBindingInqTransportType.
Dmitry Timoshkov (29):
gdi32: Print the assigned world transform.
gdi32: Use 0xffff as a default character as Vista does.
user32: Add a test for MNS_NOTIFYBYPOS, make it pass under Wine.
kernel32: Make GetModuleFileName set ERROR_INSUFFICIENT_BUFFER like win2k3 and vista do.
winmm: Add the tests for mmioOpen and mmioSetBuffer, make them pass under Wine.
winmm: Clear the fccType in mmioDescend for a not RIFF/LIST case.
gdi32: Add a test for combined mapping mode/world transform changes.
win...
2009 Oct 09
0
Wine release 1.1.31
...nel16.c, it's not a toolhelp function.
kernel32: Moved GetThreadSelectorEntry to thread.c.
kernel32: Moved private function prototypes out of toolhelp.h.
kernel32: Make toolhelp.dll into a stand-alone 16-bit module.
winetest: Use the registry path for COM dlls instead of GetModuleFileName.
winetest: Don't run tests on native dlls when running under Wine.
ws2_32: Split the async function callback by type of query.
ws2_32: Define a common header struct for async queries, and switch to 32-bit types.
ws2_32: Define a specific structure for each query type....