RAS.h

2011-04-16 Thread Gerold Jens Wucherpfennig
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: ntdll: Add Windows XP x64

2011-04-16 Thread Ken Sharp

Yep.  That makes more sense.  It's certainly beyond my capability.

The only problem then is people wanting to run 32-bit apps with 16-bit 
code on a 64-bit system in XP mode might have all kinds of problems if 
the app first checks which kernel is in use - MS in their obvious wisdom 
have removed the 16-bit VM from XP x64, so there probably still needs to 
be an option to choose the kernel version.


AFAIK it's only XP that has this problem, other 32/64 versions use the 
same build numbers.  Hurray for Windows.


On 15/04/11 14:19, Alexandre Julliard wrote:

Ken Sharpkennyb...@o2.co.uk  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.







Windres and wine

2011-04-16 Thread Gerold Jens Wucherpfennig
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 gjwucherpfen...@gmx.net */
/* licensed under the LGPLv2 and later */

#include windows.h
#include commctrl.h
#include richedit.h
#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




W and A functions in wine DLLs

2011-04-16 Thread Gerold Jens Wucherpfennig
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: ntdll: Add Windows XP x64

2011-04-16 Thread André Hentschel
Am 15.04.2011 16:07, schrieb Ken Sharp:
 The only problem then is people wanting to run 32-bit apps with 16-bit code 
 on a 64-bit system in XP mode might have all kinds of problems if the app 
 first checks which kernel is in use - MS in their obvious wisdom have removed 
 the 16-bit VM from XP x64, so there probably still needs to be an option to 
 choose the kernel version.

in 64-bit processor mode you can't use vm86 for 16-bit apps, so you need to use 
dosbox on Windows an Wine does that automaticly (but needs some more love).
So 16-bit vs. kernel-versoin on 64-bit is no problem.


-- 

Best Regards, André Hentschel




Re: RAS.h

2011-04-16 Thread Vitaliy Margolen

On 04/16/2011 12:54 AM, Gerold Jens Wucherpfennig wrote:

 From where may I copy the missing parts?
I may not be allowed to directly copy it from Windows' ras.h


You answered your own question. You can only re-type SDK headers but never 
directly copy.


Vitaliy




Re: crypt32: Fix length-handling of 'decodeBase64Block'

2011-04-16 Thread Marvin
Hi,

While running your changed tests on Windows, I think I found new failures.
Being a bot and all I'm not very good at pattern recognition, so I might be
wrong, but could you please double-check?
Full results can be found at
http://testbot.winehq.org/JobDetails.pl?Key=10497

Your paranoid android.


=== WINEBUILD (build) ===
Patch failed to apply