Commit Graph

185 Commits

Author SHA1 Message Date
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrick Haller
0e3c9d454b Fix crash in VariantTimeToDosDateTime. 2002-02-19 18:23:09 +00:00
Marcus Meissner
0749fc2034 Implemented Local Server COM.
Implemented the Typelib based Marshaler.
2002-02-05 18:11:17 +00:00
Malte Starostik
4062cd924f Do not destroy ITypeLib held by ITypeInfo before the latter is freed. 2002-02-04 18:32:20 +00:00
Marcus Meissner
a79dcc46eb VT_EMPTY can be coerced to VT_I4, value 0. 2002-02-04 18:31:53 +00:00
Huw D M Davies
eb16e1b055 Weird thing with lcid of library is that if sublang is neutral then we
return the primary lang else we return 0.
2002-01-29 17:05:11 +00:00
Dimitrie O. Paun
693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Patrik Stridvall
74e4d21ebe Avoid wildcards in .cvsignore. 2002-01-29 03:05:12 +00:00
Bill Medland
a51ff76b86 A couple of additions. 2002-01-29 02:44:44 +00:00
Marcus Meissner
de46c22917 The \\<nr> magic in LoadTypeLibEx found directories, which was not
intended. Return error in that case.
2002-01-22 18:28:51 +00:00
Bill Medland
e0939a4995 Leave IID check to the OleCreateFontIndirect, so that SFCF will handle
all the interfaces that OleCreate.. will.
2002-01-15 20:23:57 +00:00
Bill Medland
dce7e5cf8e Comment only; error in Microsoft documentation. 2002-01-10 18:19:29 +00:00
Bill Medland
064972768d Fixed GetDocumentation a little. When called from RegisterTypeLib it
was leaving the Doc entry uninitialised, leading to page fault when
measuring it. Also ensure correct freeing of resources on failure.
2002-01-09 19:10:59 +00:00
Ove Kaaven
fbdfef73f6 If SafeArrayGetElement is called on a variant array, initialize
destination variant before copying the array element to it, some badly
behaved apps don't seem to do it themselves.
2002-01-02 21:44:49 +00:00
Ove Kaaven
a0da66945f Fixed a looks-like-nobody-ever-tested-this-function kind of bug in
VariantCopyInd.
2002-01-02 21:44:30 +00:00
Alexandre Julliard
193cf50a09 Removed some of the calls to HEAP_strdup* functions. 2002-01-01 00:24:30 +00:00
Alexandre Julliard
966121ccd8 Removed the SEGPTR_* macros. 2001-12-26 20:47:33 +00:00
Alexandre Julliard
d7b76822ef Use MapLS/UnMapLS instead of SEGPTR_* macros. 2001-12-20 00:19:40 +00:00
Andreas Mohr
9cef2d0b1d - fix wrong hexadecimal GetLastError() output
- misc fixes
- changed my email address
2001-11-19 02:30:01 +00:00
Huw D M Davies
c10d17dee9 Fixes stupid bug with typelib filenames. 2001-11-12 15:50:01 +00:00
Francois Gouget
070e749cfb Don't prefix %p with 0x.
Various English fixes.
2001-11-06 21:01:32 +00:00
Hidenori Takeshima
2843934af5 Implemented OleCreatePropertyFrame and
OleCreatePropertyFrameIndirect.
2001-10-23 19:59:24 +00:00
Andreas Mohr
e15badb478 Cosmetics. 2001-10-21 15:18:15 +00:00
Ove Kaaven
27e179794d Fixed bugs with propget methods with input arguments.
Improved variant debug dumps.
2001-10-14 16:07:49 +00:00
Ove Kaaven
d63cf5f846 Fixed bugs in safe arrays.
- enlarging a safe array didn't clear the new entries
- element access only validated the first dimension
- the validation always failed when the array contained 1 element
2001-10-14 16:07:36 +00:00
Ove Kaaven
d418682da7 Fix a UINT16 redefinition problem. 2001-10-14 16:07:23 +00:00
Francois Gouget
141039a54c Move the RT_XXX macros to winuser.h.
winuser.h: Add support for NOGDI.
winuser.h: Modify to allow compilation without wingdi.h.
2001-10-10 02:51:24 +00:00
Huw D M Davies
e2a9e49349 Remove some unnecessary AddRef's. 2001-10-05 19:37:44 +00:00
Ove Kaaven
f26d2522af The DISPPARAMS parameter array is a reverse-order array. 2001-10-04 18:11:11 +00:00
Ove Kaaven
54c8fee942 Implement coercion to VT_UNKNOWN from VT_DISPATCH. 2001-10-04 16:14:24 +00:00
Ove Kaaven
77f8e5fef2 ITypeInfo::Invoke should also search inherited interfaces for the
method to invoke.
ITypeInfo::GetIDsOfNames needs to do case-insensitive string
compares.
2001-10-04 16:14:08 +00:00
Ove Kaaven
e35f4ee144 Don't ignore DISPATCH_METHOD in ITypeInfo::Invoke. 2001-10-03 18:42:54 +00:00
Huw D M Davies
58aa0a12b9 Looks like the SLTG_ImplInfo struct isn't a fixed size. 2001-10-03 18:41:26 +00:00
Andreas Mohr
2718c895d1 Make OaBuildVersion() return the highest version value possible.
Some cleanups.
2001-10-02 18:28:31 +00:00
Huw D M Davies
04f90ca78a Long nameless args in SLTG apparently get denoted by 0xfffe. 2001-10-02 17:25:55 +00:00
Ove Kaaven
aacac86ada Implemented DispGetParam. 2001-10-01 20:53:11 +00:00
Huw D M Davies
899861d130 Better handling of typelibs loaded with a trailing resource number.
The logic for determining whether an SLTG typelib has a function param
as a 'short' or 'long' type has been 'refined'.
2001-09-26 23:05:35 +00:00
Ove Kaaven
9f6d5a068b Variants and safe arrays is now able to copy BSTR swith embedded null
characters. Safe arrays now handle BSTRs and variants.
2001-09-21 21:01:31 +00:00
Ove Kaaven
eebbeef944 Register typelib marshaling for OLE Automation-compatible interfaces. 2001-09-21 21:00:37 +00:00
Patrik Stridvall
72d41524c8 Documentation fixes. 2001-09-10 23:16:31 +00:00
Huw D M Davies
3db218a2a1 Load some useful TYPEATTR elements from v1 typelibs. 2001-09-10 23:13:28 +00:00
Huw D M Davies
0d969c7043 Add reader for v1 (SLTG) typelibs.
Fix a few problems with v2 (MSFT) typelibs.
LoadTypeLibEx should do a SearchPath to locate typelib.
2001-09-07 15:27:16 +00:00
Francois Gouget
9947b68c3e Add the decVal field to VARIANT.
Fix the VARIANT C layout, i.e. the union/struct names/nesting.
Encapsulate all accesses to VARIANT types with the V_VT and V_UNION
macros.
2001-08-21 17:03:10 +00:00
Marcus Meissner
f158f541dd Use GetDC(0) instead of CreateCompatibleDC(0). 2001-08-20 18:00:10 +00:00
Marcus Meissner
872097ccd4 We need to make a copy of the fontname and the HFONT handle in
IFont_Clone, otherwise we get memory corruption and bad GDI handles.
2001-08-20 17:59:10 +00:00
Marcus Meissner
d23f0dbea2 Do not pass the high level wFlags from VariantChangeType* down to low
level Variant conversion functions.
2001-08-18 18:00:50 +00:00
Mike McCormack
8fef006fd2 Implemented oleaut32.VarBstrCat. 2001-08-18 16:06:30 +00:00
Mike McCormack
06abe79037 Partially implement oleaut32.VarBstrCmp. 2001-08-16 18:01:41 +00:00
Marcus Meissner
4736cc8cd5 Implemented VarParseNumFromStr, VarNumFromParseNum. 2001-08-15 18:47:28 +00:00
Marcus Meissner
542f775343 DateTimeStringToTm and DateToTm must use dwFlags instead of lcid. 2001-08-15 17:39:24 +00:00