diff options
author | Juergen Schmidt <jsc@openoffice.org> | 2009-11-06 08:19:13 +0000 |
---|---|---|
committer | Juergen Schmidt <jsc@openoffice.org> | 2009-11-06 08:19:13 +0000 |
commit | d7a296cdc07bdf14d4b77863f4a9cc2ade9106f7 (patch) | |
tree | 5e795944842f13816aac7c1ec73518e8c7b5f4ab /odk | |
parent | 40487924f7f7e60fdc353b0cffd9178155387831 (diff) |
#i106664# minor changes for building the sample
Diffstat (limited to 'odk')
-rw-r--r-- | odk/examples/OLE/activex/Makefile | 1 | ||||
-rw-r--r-- | odk/examples/OLE/activex/example.html | 4 | ||||
-rw-r--r-- | odk/examples/OLE/activex/so_activex.def | 12 | ||||
-rw-r--r-- | odk/util/makefile.mk | 2 |
4 files changed, 8 insertions, 11 deletions
diff --git a/odk/examples/OLE/activex/Makefile b/odk/examples/OLE/activex/Makefile index 8887ab2f1b50..5cb0813d38e8 100644 --- a/odk/examples/OLE/activex/Makefile +++ b/odk/examples/OLE/activex/Makefile @@ -104,6 +104,7 @@ $(SHAREDLIB_OUT)/$(SHAREDLIB_PRE)%.$(SHAREDLIB_EXT) : $(SLOFILES) $(OUT_COMP_GEN /DEF:so_activex.def /IMPLIB:$(OUT_LIB)/iso_activex.lib $(SLOFILES) \ msvcrt.lib kernel32.lib user32.lib uuid.lib advapi32.lib ole32.lib oleaut32.lib gdi32.lib \ urlmon.lib Shlwapi.lib oldnames.lib $(CL_NEW_LIB) $(OUT_COMP_GEN)/so_activex.res + $(LINK_MANIFEST) ifeq "$(OS)" "WIN" OleActvieXComponentExample : $(COMPONENT_IMPL) diff --git a/odk/examples/OLE/activex/example.html b/odk/examples/OLE/activex/example.html index 3efee1f75a03..fd5876a6f212 100644 --- a/odk/examples/OLE/activex/example.html +++ b/odk/examples/OLE/activex/example.html @@ -11,9 +11,9 @@ First you should edit the example.html file!!! <!-- Please edit CODEBASE parameter --> <!-- In case ActiveX control is already registered the parameter can be removed --> <OBJECT CLASSID="clsid:67F2A879-82D5-4A6D-8CC5-FFB3C114B69D" width="500" height="500" - CODEBASE="..\..\..\WINexample.out\bin\so_activex.dll"> + CODEBASE="<path_to_the_sdk_sample_output_dir>\bin\so_activex.dll"> <!-- Full URL to a document - <PARAM NAME="src" VALUE="file:///d:/example.sxw"> + <PARAM NAME="src" VALUE="file:///d:/tmp/test.odt"> --> <!-- Just view the document, do not edit <PARAM NAME="readonly" VALUE="true"> diff --git a/odk/examples/OLE/activex/so_activex.def b/odk/examples/OLE/activex/so_activex.def index 88ba88d1ba51..68939efa1fe2 100644 --- a/odk/examples/OLE/activex/so_activex.def +++ b/odk/examples/OLE/activex/so_activex.def @@ -1,9 +1,5 @@ -; iervp.def : Declares the module parameters.
-
-LIBRARY "so_activex.dll"
-
EXPORTS
- DllCanUnloadNow @1 PRIVATE
- DllGetClassObject @2 PRIVATE
- DllRegisterServer @3 PRIVATE
- DllUnregisterServer @4 PRIVATE
+ DllCanUnloadNow PRIVATE
+ DllGetClassObject PRIVATE
+ DllRegisterServer PRIVATE
+ DllUnregisterServer PRIVATE
diff --git a/odk/util/makefile.mk b/odk/util/makefile.mk index 33f918b4bb4f..1143d719138e 100644 --- a/odk/util/makefile.mk +++ b/odk/util/makefile.mk @@ -11,7 +11,7 @@ TARGET=odk ZIP1TARGET=odkexamples ZIP1FLAGS=-u -r ZIP1DIR=$(PRJ) -ZIP1LIST=examples -x "*.svn*" -x "*CVS*" -x "*makefile.mk" -x "*Inspector*" -x "*Container1*" -x "*Storage*" -x "*register_component*" -x "*examples.html" -x "*ConverterServlet*" -x "*NotesAccess*" +ZIP1LIST=examples -x "*.svn*" -x "*CVS*" -x "*makefile.mk" -x "*Inspector*" -x "*Container1*" -x "*Storage*" -x "*register_component*" -x "*examples.html" -x "*ConverterServlet*" -x "*NotesAccess*" -x "*delphi" .ENDIF |