mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 18:19:54 +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');
|
||||
if Ole32Dll<>0 then
|
||||
begin
|
||||
Pointer(CoCreateInstanceEx):=GetProcAddress(Ole32Dll,'CoCreateInstanceExProc');
|
||||
Pointer(CoInitializeEx):=GetProcAddress(Ole32Dll,'CoInitializeExProc');
|
||||
Pointer(CoAddRefServerProcess):=GetProcAddress(Ole32Dll,'CoAddRefServerProcessProc');
|
||||
Pointer(CoReleaseServerProcess):=GetProcAddress(Ole32Dll,'CoReleaseServerProcessProc');
|
||||
Pointer(CoResumeClassObjects):=GetProcAddress(Ole32Dll,'CoResumeClassObjectsProc');
|
||||
Pointer(CoSuspendClassObjects):=GetProcAddress(Ole32Dll,'CoSuspendClassObjectsProc');
|
||||
Pointer(CoCreateInstanceEx):=GetProcAddress(Ole32Dll,'CoCreateInstanceEx');
|
||||
Pointer(CoInitializeEx):=GetProcAddress(Ole32Dll,'CoInitializeEx');
|
||||
Pointer(CoAddRefServerProcess):=GetProcAddress(Ole32Dll,'CoAddRefServerProcess');
|
||||
Pointer(CoReleaseServerProcess):=GetProcAddress(Ole32Dll,'CoReleaseServerProcess');
|
||||
Pointer(CoResumeClassObjects):=GetProcAddress(Ole32Dll,'CoResumeClassObjects');
|
||||
Pointer(CoSuspendClassObjects):=GetProcAddress(Ole32Dll,'CoSuspendClassObjects');
|
||||
end;
|
||||
|
||||
if not(IsLibrary) then
|
||||
|
Loading…
Reference in New Issue
Block a user