Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: remove unneed dll in ActiveX automation Server


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0
chen zero

Posts: 30
Registered: 5/26/00
remove unneed dll in ActiveX automation Server  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 16, 2014 6:51 AM
Hello,
I posted a simple ActiveX automation server on page:
https://forums.embarcadero.com/thread.jspa?threadID=108280&tstart=0

it only has 1 method, show(), However, after examing by "Dependency Walker",
I found the dll is linked with some uneeded DLLs ---- DWMAPI.DLL, UXTHEME.DLL ,
and perhaps the server dll calls some unbound functions, e.g:
kernel32.dll GetTimeZoneInformationForYear
user32.dll CloseGestureInfoHandle
...
please note my OS is winxp, there is not DWMAPI.dll, and kernel32.dll doesn't has GetTimeZoneInformationForYear

I suspect that this is the reason
why some script(e.g: javascript) failed to create ActiveX Object ( the returned error number is 0x800A01AD )

Could you help how to fix these problems ?

Thanks !
chenzero

Edited by: chen zero on Sep 16, 2014 7:09 AM
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02