From 03951c212bc3054a6b89a9fff9a125bace52224d Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 3 Aug 2010 14:21:59 +0300 Subject: modified: core/Makefile modified: core/main.cpp modified: modules/example/Makefile modified: modules/example/main.cpp --- modules/example/Makefile | 2 +- modules/example/main.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/example') diff --git a/modules/example/Makefile b/modules/example/Makefile index 451583e..3686d9c 100644 --- a/modules/example/Makefile +++ b/modules/example/Makefile @@ -1,6 +1,6 @@ CFLAGS=-g -mdll -mwindows -I../../api/ -D DEBUG CXXFLAGS=${CFLAGS} -LDFLAGS=-Wl,-O1 -shared -static-libgcc +LDFLAGS=-static-libgcc -Wl,-O1 -shared CPPFLAGS = CC=i686-pc-mingw32-gcc CXX=i686-pc-mingw32-g++ diff --git a/modules/example/main.cpp b/modules/example/main.cpp index 2e15520..647654e 100644 --- a/modules/example/main.cpp +++ b/modules/example/main.cpp @@ -40,6 +40,5 @@ extern "C" int __declspec(dllexport) OnModulesLoaded() //load main code from her { MessageBoxA(0, "Advanced plugin features needed services from other plugins are working from now", "INFO", MB_OK); CallService("Test", 0, 0); //usage example of service registered in core - std::list *pluglist = (std::list*)CallService("GetPluginInfoList", 0, 0); //get list with info for all plugins return 0; } -- cgit v1.2.3