Dear Neil,
Thanks for your help so far, but I still have problems with adding my component. I'll briefly describe my situation :
I build a component with visual studio which generated a few files, other I created myself. For now, I build my component and then copy a xpt and dll file (the latter is found in /debug of the component folder) to the \dist\bin\components folder of the compiled firefox and add these two lines to chrome.manifest :
binary-component components/MyInterceptComponent.dll
interfaces component/IMyInterceptComponent.xpt
Also added two header files too \js\xpconnect\src before compiling.
The files I have in my component are the following:
IMyInterceptComponent.h
IMyInterceptComponent.idl
IMyInterceptComponent.xpt
MyInterceptComponent.cpp
MyInterceptComponent.dll
MyInterceptComponentModule.cpp
MyPolicy\MyPolicy.h
MyPolicy\MyPolicy.cpp
In the extension folder of mozilla-release I made a folder (named kuleuven), which contains all the above mentioned files, and a
makefile.in which contains following code:
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/
autoconf.mk
MODULE = kuleuven
LIBRARY_NAME = kuleuven
SHORT_LIBNAME = nkgnomevfs
IS_COMPONENT = 1
CPPSRCS = \
MyInterceptComponentModule.cpp \
MyInterceptComponent.cpp \
$(NULL)
XPIDLSRCS = \
IMyInterceptComponent.idl \
$(NULL)
include $(topsrcdir)/config/
config.mk
include $(topsrcdir)/ipc/chromium/
chromium-config.mk
include $(topsrcdir)/config/
rules.mk
When I recompile, the compiled version gets a components\kuleuven folder with some obj files and a makefile, but the component doesn't work. Can you please help me with my problem?
Thank you in advance,
Jelle