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
Ove Kaaven
27e179794d
Fixed bugs with propget methods with input arguments.
...
Improved variant debug dumps.
2001-10-14 16:07:49 +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
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
Huw D M Davies
04f90ca78a
Long nameless args in SLTG apparently get denoted by 0xfffe.
2001-10-02 17:25:55 +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
eebbeef944
Register typelib marshaling for OLE Automation-compatible interfaces.
2001-09-21 21:00:37 +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
f7c69ede9e
First (partial) implementation of ITypeInfo::Invoke.
...
Fixed buffer len passing to snprintf().
2001-08-06 17:46:18 +00:00
Malte Starostik
b91c3ca7d1
Implemented RegisterTypeLib.
2001-08-03 18:13:24 +00:00
Patrik Stridvall
4b1574577d
- Made sure that the files that contains the declarations
...
of the implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-23 23:50:18 +00:00
Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Patrik Stridvall
3ca9823941
Documentation ordinal fixes.
2001-06-20 23:03:14 +00:00
Francois Gouget
ee285b7ac8
Remove unnecessary single quoting of debugstr_xxx strings.
2001-05-11 20:03:40 +00:00
Francois Gouget
e76218dd61
Add '\n' at the end of traces.
2001-05-09 17:31:31 +00:00
Andreas Mohr
b6474aebd4
The for loop in ITypeLib2_fnFindName was wrong (extra ';').
2001-03-05 19:32:50 +00:00
Francois Gouget
282f7270c1
Small 'typos in comments' fixes.
2001-02-28 05:31:02 +00:00
François Gouget
da2b6a9f26
Fixed some HFILE vs. HANDLE mismatches.
...
If not used the last parameter of CreateFile must be 0, not -1.
2001-01-06 01:29:18 +00:00
Francois Jacques
11ed84009e
- TLB_DoFuncs: code cleanup and elemdescFunc read correctly from TLB.
...
- TLB_LoadTypeLib: ref count problem.
- ITypeLib::GetTypeInfoOfGuid: safer implementation (pointer testing).
- ITypeInfo::GetRefTypeOfImplType: safer implementation (pointer testing).
- ITypeInfo2::GetDocumentationL return errors if SysAllocString failed.
- TLB loader functions now trace in "typelib" channel.
- Improved traces in AddRef/Release and improved dump_* functions for
debugging.
2000-12-21 20:20:12 +00:00
Gerard Patel
53d198cc00
Misc fixes for QueryPathOfRegTypeLib, TLB_ReadTypeLib,
...
ITypeInfo_fnGetContainingTypeLib.
2000-12-19 03:37:44 +00:00
Alexandre Julliard
f6168db690
Fixed some warnings.
2000-12-13 20:03:53 +00:00
Patrik Stridvall
2b3aa616e8
Added/modified documentation for function arguments.
2000-12-01 23:58:28 +00:00
Andreas Mohr
cb45438be2
- added winver settings nt2k, win30 and win20 (yes, some rare programs need this)
...
and *document* it (win98 was not documented previously)
- OaBuildVersion: add value for NT4 SP6
- spelling fixes
2000-11-27 01:39:05 +00:00
Francois Jacques
7163957908
- support for arguments with referenced types
...
- imported type libraries
- dispinterfaces
- dual interfaces
- ref count problems
- memory leaks fixed
2000-11-25 23:51:30 +00:00
Francois Jacques
e21864225a
Updated the load process so that all typelibs (and not just the first
...
one, as it used to) stored in a DLL can be loaded.
2000-10-26 19:29:09 +00:00
Francois Jacques
d1082dcaa1
Updated typelib loader. Typelib contents can be stored as multibyte
...
strings. However, they are always returned to the application as BSTR,
e.g. UNICODE strings. All strings are now stored as BSTR instead of
ASCII strings.
2000-10-25 21:24:53 +00:00
Francois Gouget
9046658f06
Fixed some prototypes.
2000-10-03 04:09:17 +00:00
Alexandre Julliard
83f52d11c1
Moved all Win16 definitions out of the standard Windows headers.
2000-09-26 22:20:14 +00:00
Alexandre Julliard
072dfb57e3
Removed inclusion of wine/winestring.h from winbase.h and added it to
...
the C files that need it.
2000-09-25 23:30:56 +00:00
Gerard Patel
9005713d39
Avoid infinite loop if QueryPathOfRegTypeLib is called with lcid=0.
2000-09-19 02:37:07 +00:00
Francois Jacques
133d70788a
- removed unnecessary recursion
...
- upon query failure on main primary lcid and secondary lcid,
attempts a query on system lcid (0)
2000-08-22 20:51:55 +00:00
Alexandre Julliard
d586dc99be
Replaced VERSION_* calls by exported API equivalents.
2000-08-14 14:35:01 +00:00
James Hatheway
044d251980
- Avoid null-pointer exceptions by testing listnodes validity before doing
...
any work with those.
- TLB_ReadTypeLib now retrieves the length of the TLB and passes it to
the TLB constructor which initializes TLBContext::length to that
value.
- For non-standard pointed types, td[3] is always 0. I observed that
the type is stored at td[2]/8 and not td[3]/8.
- Null-pointer exception occurs when GetRefTypeOfImplType is called on a
type with no inherited interfaces. If the implemented types linked list
is empty, set pRefType as 0 and return S_OK.
2000-08-09 22:24:04 +00:00
Alexandre Julliard
691171b8e6
Small dll interfaces cleanups.
2000-08-08 20:49:16 +00:00
Marcus Meissner
e5c1b9dded
Added CreateTypeLib,LHashValOfNameSys stubs.
...
Check for correct struct magic before reading out of it.
2000-07-29 21:54:58 +00:00
Juergen Schmied
e3b8640c77
- better loading of *.tlb files
...
- seperated code for loading tlb resource into memory from code for
parsing the tlb resource.
2000-07-10 10:57:28 +00:00
Huw D M Davies
2cbda2ef92
Stub implementation of LHashValOfNameSysA.
...
Don't crash if we encounter a BSTR with length <= 0.
Fix typos in ITypeLib::GetDocumentation.
2000-07-09 12:17:52 +00:00
Huw D M Davies
cd136c1256
Fix typo in ITypeLib::IsName.
2000-07-08 11:46:33 +00:00
Juergen Schmied
07b143ed4d
- removed hack to find the right resource
...
- updated to use the ICOM macros
- cleaned up use typelib and typelib2 (was mixed up)
2000-06-24 13:50:52 +00:00
Alexandre Julliard
917910324f
Cleaned up a few inter-dll dependencies.
2000-06-23 16:13:33 +00:00
Patrik Stridvall
0ee98cc39f
Fixed ANSI C violations.
2000-02-26 13:17:55 +00:00
Alexandre Julliard
d65198c6b3
Changed the loading of typelib files to use a memory mapping instead
...
of reading the file bit by bit.
2000-02-18 19:08:40 +00:00
Alexandre Julliard
383da68cf9
Optimized debugging API to reduce code size.
2000-02-10 22:15:21 +00:00