Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0df03040
Commit
0df03040
authored
Jan 21, 2003
by
Marcus Meissner
Committed by
Alexandre Julliard
Jan 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Print a large failure message if we try to load stdole32.tlb and
fail.
parent
91d4f41e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
2 deletions
+23
-2
typelib.c
dlls/oleaut32/typelib.c
+23
-2
No files found.
dlls/oleaut32/typelib.c
View file @
0df03040
...
...
@@ -284,8 +284,8 @@ HRESULT WINAPI LoadTypeLibEx(
WCHAR
*
pIndexStr
;
HRESULT
res
;
INT
index
=
1
;
TRACE
(
"(%s,%d,%p)
\n
"
,
debugstr_w
(
szFile
),
regkind
,
pptLib
);
TRACE
(
"(%s,%d,%p)
\n
"
,
debugstr_w
(
szFile
),
regkind
,
pptLib
);
if
(
!
SearchPathW
(
NULL
,
szFile
,
NULL
,
sizeof
(
szPath
)
/
sizeof
(
WCHAR
),
szPath
,
NULL
))
{
...
...
@@ -301,8 +301,29 @@ HRESULT WINAPI LoadTypeLibEx(
return
TYPE_E_CANTLOADLIBRARY
;
if
(
GetFileAttributesW
(
szFileCopy
)
&
FILE_ATTRIBUTE_DIRECTORY
)
return
TYPE_E_CANTLOADLIBRARY
;
}
else
}
else
{
WCHAR
tstpath
[
260
];
WCHAR
stdole32tlb
[]
=
{
's'
,
't'
,
'd'
,
'o'
,
'l'
,
'e'
,
'3'
,
'2'
,
'.'
,
't'
,
'l'
,
'b'
,
0
};
int
i
;
lstrcpyW
(
tstpath
,
szFile
);
CharLowerW
(
tstpath
);
for
(
i
=
0
;
i
<
strlenW
(
tstpath
);
i
++
)
{
if
(
tstpath
[
i
]
==
's'
)
{
if
(
!
strcmpW
(
tstpath
+
i
,
stdole32tlb
))
{
MESSAGE
(
"
\n
"
);
MESSAGE
(
"**************************************************************************
\n
"
);
MESSAGE
(
"You must copy a 'stdole32.tlb' file to your Windows
\\
System directory!
\n
"
);
MESSAGE
(
"You can get one from a Windows installation, or look for the DCOM95 package
\n
"
);
MESSAGE
(
"on the Microsoft Download Pages.
\n
"
);
MESSAGE
(
"**************************************************************************
\n
"
);
break
;
}
}
}
FIXME
(
"Wanted to load %s as typelib, but file was not found.
\n
"
,
debugstr_w
(
szFile
));
return
TYPE_E_CANTLOADLIBRARY
;
}
}
TRACE
(
"File %s index %d
\n
"
,
debugstr_w
(
szPath
),
index
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment