I've created an ActiveX Control with visual studio in an ATL project.
The wizard created two html pages.
In the first one the ActiveX Control gets included with OBJECT tags.
The second one contains the web frontend with buttons and so on.
So far everything is ok, since I can call methods of the ActiveX
Control.
But if I want to include a stylesheet or javascript file, they are
only found if I give the absolute path on the local file system.
What I would like to know, is there no possibility to give paths
relative to the location of the projects dll?
Or is there another way to include javascript and stylesheet files?
Thanks in advance.
P.S. If I call "alert(window.location.href);" in the web frontend it
says something like
res://C:\path\to\dll\myDll.dll/104