mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 06:30:26 +02:00
* load procedure variables in comobj unit with proper names, partly resolves #10615
git-svn-id: trunk@9738 -
This commit is contained in:
parent
e14cd726b4
commit
a681a3b3c8
@ -1035,12 +1035,12 @@ initialization
|
|||||||
Ole32Dll:=GetModuleHandle('ole32.dll');
|
Ole32Dll:=GetModuleHandle('ole32.dll');
|
||||||
if Ole32Dll<>0 then
|
if Ole32Dll<>0 then
|
||||||
begin
|
begin
|
||||||
Pointer(CoCreateInstanceEx):=GetProcAddress(Ole32Dll,'CoCreateInstanceExProc');
|
Pointer(CoCreateInstanceEx):=GetProcAddress(Ole32Dll,'CoCreateInstanceEx');
|
||||||
Pointer(CoInitializeEx):=GetProcAddress(Ole32Dll,'CoInitializeExProc');
|
Pointer(CoInitializeEx):=GetProcAddress(Ole32Dll,'CoInitializeEx');
|
||||||
Pointer(CoAddRefServerProcess):=GetProcAddress(Ole32Dll,'CoAddRefServerProcessProc');
|
Pointer(CoAddRefServerProcess):=GetProcAddress(Ole32Dll,'CoAddRefServerProcess');
|
||||||
Pointer(CoReleaseServerProcess):=GetProcAddress(Ole32Dll,'CoReleaseServerProcessProc');
|
Pointer(CoReleaseServerProcess):=GetProcAddress(Ole32Dll,'CoReleaseServerProcess');
|
||||||
Pointer(CoResumeClassObjects):=GetProcAddress(Ole32Dll,'CoResumeClassObjectsProc');
|
Pointer(CoResumeClassObjects):=GetProcAddress(Ole32Dll,'CoResumeClassObjects');
|
||||||
Pointer(CoSuspendClassObjects):=GetProcAddress(Ole32Dll,'CoSuspendClassObjectsProc');
|
Pointer(CoSuspendClassObjects):=GetProcAddress(Ole32Dll,'CoSuspendClassObjects');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if not(IsLibrary) then
|
if not(IsLibrary) then
|
||||||
|
Loading…
Reference in New Issue
Block a user