* fix importprocname for cdecl

git-svn-id: trunk@3636 -
This commit is contained in:
peter 2006-05-23 07:59:36 +00:00
parent 7c29068ae3
commit 50ee3a96ad

View File

@ -1515,7 +1515,7 @@ implementation
end;
if assigned(pd.import_name) then
importlib.importprocedure(pd,pd.import_dll^,pd.import_nr,pd.import_name^)
importlib.importprocedure(pd,pd.import_dll^,pd.import_nr,proc_get_importname(pd))
else
importlib.importprocedure(pd,pd.import_dll^,pd.import_nr,'');
end