RAS.h
Hi, I want to complete the rasapi32.dll, but the header file RAS.h of wine is incomplete. It hasn't been changed since 1998. >From where may I copy the missing parts? >From the Windows SDK documentation? I think I may not be allowed to directly copy it from Windows' ras.h Best Regards Gerold
Re: W and A functions in wine DLLs
Gerold Jens Wucherpfennig wrote: > I just want to know how to implement functions > in a DLL. If I remember correctly I should > implement the W function and call it in the > implementation of the A function. > > Do I have to do some string manipulation functions > in the A function? > > I'm looking forward to reading from you. You should be able to figure that out on your own. Have a look at any existing API implemenation. This is a developers list, not a programming support forum. -- Dmitry.
W and A functions in wine DLLs
Hi, I just want to know how to implement functions in a DLL. If I remember correctly I should implement the W function and call it in the implementation of the A function. Do I have to do some string manipulation functions in the A function? I'm looking forward to reading from you. Best Regards, Gerold
Re: Windres and wine
On 4/15/11 10:38 PM, Gerold Jens Wucherpfennig wrote: > Hi, > > I have created GUI dialog with ResEdit. > That rc-file shall be used in wine. > The problem is that wine doesn't have > a Windres.exe. Is it possible to make > a c-file from the rc-file? No. But you don't need windres. Wine has its own resource compiler (wrc). Chip
Windres and wine
Hi, I have created GUI dialog with ResEdit. That rc-file shall be used in wine. The problem is that wine doesn't have a Windres.exe. Is it possible to make a c-file from the rc-file? Best Regards Gerold /* (C) 2010 by Gerold Jens Wucherpfennig */ /* licensed under the LGPLv2 and later */ #include #include #include #include "resource.h" // // Dialog resources // IDD_MAIN DIALOG 0, 0, 260, 80 CAPTION "Network Connections" BEGIN LTEXT "Use this network connection:", IDC_STATIC, 10, 10, 93, 8, SS_LEFT COMBOBOXIDD_COMBO, 10, 25, 240, 65, WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_HASSTRINGS | CBS_SORT DEFPUSHBUTTON "&Connect", IDD_CONNECT, 10, 50, 46, 14 PUSHBUTTON "&Properties", IDC_PROPERTIES, 70, 50, 60, 15 PUSHBUTTON "&New", IDD_NEW, 140, 50, 50, 15 PUSHBUTTON "Close", IDCANCEL, 200, 50, 50, 15 END IDD_CONNECT_DIALOG DIALOG 0, 0, 260, 105 CAPTION "Connect..." BEGIN PUSHBUTTON "Dial", IDOK, 117, 80, 50, 14 PUSHBUTTON "Cancel", IDCANCEL, 196, 80, 50, 14 LTEXT "User name:", IDC_STATIC, 14, 29, 38, 8, SS_LEFT LTEXT "Password:", IDC_STATIC, 14, 50, 38, 8, SS_LEFT EDITTEXTIDC_USERNAME, 111, 26, 140, 14, ES_AUTOHSCROLL EDITTEXTIDC_PASSWORD, 111, 46, 140, 14, ES_AUTOHSCROLL END IDD_NEW_DIAL_UP DIALOG 0, 0, 235, 142 CAPTION "Set up a new connection" BEGIN DEFPUSHBUTTON "OK", IDOK, 113, 119, 50, 14 PUSHBUTTON "Cancel", IDCANCEL, 174, 119, 50, 14 LTEXT "Type the phone number to connect to", IDC_STATIC, 12, 10, 122, 8, SS_LEFT LTEXT "Telephone number:", IDC_STATIC, 13, 33, 63, 8, SS_LEFT LTEXT "Connection name:", IDC_STATIC, 15, 64, 59, 8, SS_LEFT EDITTEXTIDC_PHONENUMBER, 95, 31, 125, 14, ES_AUTOHSCROLL EDITTEXTIDC_CONNECTIONNAME, 95, 60, 125, 14, ES_AUTOHSCROLL END IDD_PROPERTY_DIALOG DIALOG 0, 0, 311, 171 CAPTION "Property" BEGIN PUSHBUTTON "OK", IDOK, 127, 143, 50, 14 PUSHBUTTON "Cancel", IDCANCEL, 206, 142, 50, 14 LTEXT "Modem:", IDC_STATIC, 20, 19, 26, 8, SS_LEFT EDITTEXTIDC_MODEMDEVICE, 20, 38, 239, 14, ES_AUTOHSCROLL LTEXT "Max. connection speed:", IDC_STATIC, 20, 65, 93, 8, SS_LEFT COMBOBOXIDD_COMBO, 120, 65, 140, 65, WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_HASSTRINGS LTEXT "Phone number:", IDC_STATIC, 20, 90, 49, 8, SS_LEFT EDITTEXTIDC_PHONENUMBER, 89, 88, 170, 14, ES_AUTOHSCROLL END
Re: inetcpl: Update French translation
2011/4/15 Frédéric Delanoy : > Well, didn't like to use choses/trucs/machins/bidules word; thought > "informations" would be more useful/appropriate, although I agree > there's a repetition of "informations" word. > Maybe "Cookies\nFichiers enregistrés sur votre ordinateur par des > sites web, qui y stockent des données comme des préférences > utilisateur et des informations de connexion" would be OK? > > A translation doesn't have to follow word-by-word the original: the > meaning has to be preserved IMHO. To be honest the English wording is terrible in the first place. How about something like "Données enregistrées sur votre ordinateur par des sites web, telles que certaines préférences et sessions." Jerome Leclanche
Re: winedevice: eliminate some globals
On Fri, Apr 15, 2011 at 3:43 PM, Alexandre Julliard wrote: > Damjan Jovanovic writes: > >> Changelog: >> * winedevice: eliminate some globals >> >> The long term goal of this patch is to make the driver loading code >> reusable for loading drivers outside winedevice, for use with USB >> drivers etc. > > It doesn't work here: > > ../../../tools/runtest -q -P wine -M kernel32.dll -T ../../.. -p > kernel32_test.exe.so file.c && touch file.ok > file.c:931: Tests skipped: Either no authority to volume, or is todo_wine for > C:\users\julliard\Temp\ err=5 should be 3 > file.c:931: Tests skipped: Either no authority to volume, or is todo_wine for > C:\users\julliard\Temp\removeme\ err=5 should be 3 > file.c:931: Tests skipped: Either no authority to volume, or is todo_wine for > C:\ err=5 should be 3 > file.c:944: Test failed: CreateFileA failed on \\?\C:, hFile 0x, > err=2, should be 0 > file.c:931: Tests skipped: Either no authority to volume, or is todo_wine for > \\?\C:\ err=5 should be 3 > file.c:1000: Test failed: CreateFileA did not open \\?\C:, last error=2 > file.c:1059: Test failed: CreateFileA did not open \\.\C:, last error=2 > file.c:1078: Test failed: GetVolumeNameForVolumeMountPointA failed, for C:\, > last error=2 > file.c:1157: Test failed: GetVolumeNameForVolumeMountPointA not functioning > make: *** [file.ok] Error 5 > > -- > Alexandre Julliard > julli...@winehq.org > On latest git that test passes for me: ../../../tools/runtest -q -P wine -M kernel32.dll -T ../../.. -p kernel32_test.exe.so file.c && touch file.ok file.c:931: Tests skipped: Either no authority to volume, or is todo_wine for C:\users\dacha\Temp\ err=5 should be 3 file.c:931: Tests skipped: Either no authority to volume, or is todo_wine for C:\users\dacha\Temp\removeme\ err=5 should be 3 file.c:931: Tests skipped: Either no authority to volume, or is todo_wine for C:\ err=5 should be 3 file.c:931: Tests skipped: Either no authority to volume, or is todo_wine for \\?\C:\ err=5 should be 3 fixme:ntdll:NtLockFile I/O completion on lock not implemented yet and I get the same output without my patch. Damjan Jovanovic
Re: winedevice: eliminate some globals
Damjan Jovanovic writes: > Changelog: > * winedevice: eliminate some globals > > The long term goal of this patch is to make the driver loading code > reusable for loading drivers outside winedevice, for use with USB > drivers etc. It doesn't work here: ../../../tools/runtest -q -P wine -M kernel32.dll -T ../../.. -p kernel32_test.exe.so file.c && touch file.ok file.c:931: Tests skipped: Either no authority to volume, or is todo_wine for C:\users\julliard\Temp\ err=5 should be 3 file.c:931: Tests skipped: Either no authority to volume, or is todo_wine for C:\users\julliard\Temp\removeme\ err=5 should be 3 file.c:931: Tests skipped: Either no authority to volume, or is todo_wine for C:\ err=5 should be 3 file.c:944: Test failed: CreateFileA failed on \\?\C:, hFile 0x, err=2, should be 0 file.c:931: Tests skipped: Either no authority to volume, or is todo_wine for \\?\C:\ err=5 should be 3 file.c:1000: Test failed: CreateFileA did not open \\?\C:, last error=2 file.c:1059: Test failed: CreateFileA did not open \\.\C:, last error=2 file.c:1078: Test failed: GetVolumeNameForVolumeMountPointA failed, for C:\, last error=2 file.c:1157: Test failed: GetVolumeNameForVolumeMountPointA not functioning make: *** [file.ok] Error 5 -- Alexandre Julliard julli...@winehq.org
Re: ntdll: Add Windows XP x64
Ken Sharp writes: > Windows XP x64 has an updated kernel to XP, so just setting XP in > winecfg will still cause apps to fail. IE8 for XP x64 is an example. This should most likely be done automatically on 64-bit. -- Alexandre Julliard julli...@winehq.org
Re: Try to implement my first stub function - AbortPrinter() - (try 4)
Hello Maarten, On Fri, Apr 15, 2011 at 12:05 PM, Maarten Lankhorst wrote: > Hello, > > Op 14-04-11 10:37, Loďc Maury schreef: > > Hello, >> >> From what was said from the last comments, I have modified the code and >> I have added the test patch. >> >> What do you think ? >> > You're doing all the HeapFrees manually, is there a destruction function > you can use? > In fact I saw the other Wine code, and I'm doing in the same way. I don't know if a destruction function exist. Thank you, Loic > > Cheers, > Maarten >
Re: Try to implement my first stub function - AbortPrinter() - (try 4)
Hello, Op 14-04-11 10:37, Loïc Maury schreef: Hello, From what was said from the last comments, I have modified the code and I have added the test patch. What do you think ? You're doing all the HeapFrees manually, is there a destruction function you can use? Cheers, Maarten
Re: inetcpl: Update French translation
2011/4/14 Nicolas Le Cam : > Hi Frédéric, > > Le 13 avril 2011 23:16, Frédéric Delanoy a > écrit : >> >> --- >> dlls/inetcpl.cpl/cpl_Fr.rc | 42 >> +- >> 1 files changed, 41 insertions(+), 1 deletions(-) >> >> diff --git a/dlls/inetcpl.cpl/cpl_Fr.rc b/dlls/inetcpl.cpl/cpl_Fr.rc >> index 1244ff6..432a8c3 100644 >> --- a/dlls/inetcpl.cpl/cpl_Fr.rc >> +++ b/dlls/inetcpl.cpl/cpl_Fr.rc >> ... >> BS_MULTILINE >> + AUTOCHECKBOX "Cookies\nFichiers sauvés sur votre ordinateur par des >> sites web, qui y stockent des informations comme des préférences utilisateur >> et des informations de connexion", > > You should use sauvegardés instead of sauvés which doesn't apply to > computers. Actually, "sauvegardé" has more the sense of "backup" IMO. "enregistrés" would probably fit better. >I would also use "qui y stockent des choses comme les préférences > utilisateurs et les informations de connexion". It better follows the Note "utilisateurs" doesn't need a 's' here. > original text and avoid a repetition. Well, didn't like to use choses/trucs/machins/bidules word; thought "informations" would be more useful/appropriate, although I agree there's a repetition of "informations" word. Maybe "Cookies\nFichiers enregistrés sur votre ordinateur par des sites web, qui y stockent des données comme des préférences utilisateur et des informations de connexion" would be OK? A translation doesn't have to follow word-by-word the original: the meaning has to be preserved IMHO. Frédéric
Re: winex11: Retrieve raw mouse events through XInput2 while the cursor is clipped.
Vitaliy Margolen writes: > It's great to see so much progress in this area! Great gob so far. However > this isn't enough. > > Cursor doesn't have to be clipped to receive mouse event's. As far as > dinput goes, it will read mouse events regardless where the pointer is if > device is acquired in background mode. Or this isn't the final commit yet? It doesn't really make sense to use relative mouse events without clipping the mouse, since it will eventually move out of the window. What's not done yet is a way to clip the mouse to the desktop window, which would enable relative mouse events in fullscreen mode too. -- Alexandre Julliard julli...@winehq.org