Strict Standards: Non-static method serendipity_plugin_api::hook_event() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/functions_smarty.inc.php on line
496
Strict Standards: Non-static method serendipity_plugin_api::get_event_plugins() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
989
That's easy with some knowledge of the Win32 API
In the header file:
WXLRESULT MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam);
In the cpp:
#ifdef _WIN32
#include <windows.h>
WXLRESULT Frame::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam)
{
// Catch the message
if (message == WM_DEVICECHANGE)
{
// and handle the Event
if (wParam == DBT_DEVICEARRIVAL)
{
//...
}
}
return wxFrame::MSWWindowProc(message,wParam,lParam);
}
#endif
If you include the wx.rc file - which you should -, you will get an error when you compile your project with VC 8.0: invalid COFF or something. The new 8.0 linker has the ability to generate a manifest file on the fly and the .dsp/.sln conversion wizard enables this by default. So now your application has two manifest files, one included via wx.rc and the new one generated by the linker. The linker does not like this. You have two options.
- Define wxUSE_NO_MANIFEST to stop using the wxWidgets manifest file. You must change the file settings for your .rc file and include this define there. Using the precompiled header file as mentioned above won't work.
- Disable the linker|manifest option: Open the properties for your project. Select 'all configurations', open the linker settings, manifest file and set 'generate manifest' to no.
I recommend the first option as it lets the linker create a manifest with all the correct DLL side-by-side information. If you disable the linker|manifest option, a debug build may not find the
MSVCP80D.DLL for example and you have to copy the DLL into your path. If the linker creates the manifest file, all the correct DLL paths are being used.
Via
Litwindow blog
Deprecated: Assigning the return value of new by reference is deprecated in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
558
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in
/www/htdocs/v155711/codeandcoffee/include/db/mysql.inc.php on line
263
Strict Standards: Non-static method serendipity_plugin_api::hook_event() should not be called statically in
/www/htdocs/v155711/codeandcoffee/serendipity_config.inc.php on line
382
Strict Standards: Non-static method serendipity_plugin_api::get_event_plugins() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
989
Strict Standards: Non-static method serendipity_plugin_api::enum_plugins() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
934
Strict Standards: Non-static method serendipity_plugin_api::load_plugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
941
Strict Standards: Non-static method serendipity_plugin_api::probePlugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
539
Strict Standards: Non-static method serendipity_plugin_api::getClassByInstanceID() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
491
Strict Standards: Non-static method serendipity_plugin_api::includePlugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
496
Strict Standards: Declaration of serendipity_event_s9ymarkup::event_hook() should be compatible with serendipity_event::event_hook($event, &$bag, &$eventData, $addData = NULL) in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_s9ymarkup/serendipity_event_s9ymarkup.php on line
146
Strict Standards: Declaration of serendipity_event_s9ymarkup::uninstall() should be compatible with serendipity_plugin::uninstall(&$propbag) in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_s9ymarkup/serendipity_event_s9ymarkup.php on line
146
Strict Standards: Non-static method serendipity_plugin_api::get_plugin_title() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
945
Strict Standards: Non-static method serendipity_plugin_api::load_plugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
941
Strict Standards: Non-static method serendipity_plugin_api::probePlugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
539
Strict Standards: Non-static method serendipity_plugin_api::getClassByInstanceID() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
491
Strict Standards: Non-static method serendipity_plugin_api::includePlugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
496
Strict Standards: Declaration of serendipity_event_emoticate::event_hook() should be compatible with serendipity_event::event_hook($event, &$bag, &$eventData, $addData = NULL) in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_emoticate/serendipity_event_emoticate.php on line
204
Strict Standards: Declaration of serendipity_event_emoticate::uninstall() should be compatible with serendipity_plugin::uninstall(&$propbag) in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_emoticate/serendipity_event_emoticate.php on line
204
Strict Standards: Non-static method serendipity_plugin_api::get_plugin_title() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
945
Strict Standards: Non-static method serendipity_plugin_api::load_plugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
941
Strict Standards: Non-static method serendipity_plugin_api::probePlugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
539
Strict Standards: Non-static method serendipity_plugin_api::getClassByInstanceID() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
491
Strict Standards: Non-static method serendipity_plugin_api::includePlugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
496
Strict Standards: Declaration of serendipity_event_geshi::event_hook() should be compatible with serendipity_event::event_hook($event, &$bag, &$eventData, $addData = NULL) in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_geshi/serendipity_event_geshi.php on line
199
Strict Standards: Non-static method serendipity_plugin_api::get_plugin_title() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
945
Strict Standards: Non-static method serendipity_plugin_api::load_plugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
941
Strict Standards: Non-static method serendipity_plugin_api::probePlugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
539
Strict Standards: Non-static method serendipity_plugin_api::getClassByInstanceID() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
491
Strict Standards: Non-static method serendipity_plugin_api::includePlugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
496
Strict Standards: Declaration of serendipity_event_nl2br::event_hook() should be compatible with serendipity_event::event_hook($event, &$bag, &$eventData, $addData = NULL) in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_nl2br/serendipity_event_nl2br.php on line
162
Strict Standards: Declaration of serendipity_event_nl2br::uninstall() should be compatible with serendipity_plugin::uninstall(&$propbag) in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_nl2br/serendipity_event_nl2br.php on line
162
Strict Standards: Non-static method serendipity_plugin_api::get_plugin_title() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
945
Strict Standards: Non-static method serendipity_plugin_api::load_plugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
941
Strict Standards: Non-static method serendipity_plugin_api::probePlugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
539
Strict Standards: Non-static method serendipity_plugin_api::getClassByInstanceID() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
491
Strict Standards: Non-static method serendipity_plugin_api::includePlugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
496
Strict Standards: Declaration of serendipity_event_browsercompatibility::event_hook() should be compatible with serendipity_event::event_hook($event, &$bag, &$eventData, $addData = NULL) in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_browsercompatibility/serendipity_event_browsercompatibility.php on line
80
Strict Standards: Non-static method serendipity_plugin_api::get_plugin_title() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
945
Strict Standards: Non-static method serendipity_plugin_api::load_plugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
941
Strict Standards: Non-static method serendipity_plugin_api::probePlugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
539
Strict Standards: Non-static method serendipity_plugin_api::getClassByInstanceID() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
491
Strict Standards: Non-static method serendipity_plugin_api::includePlugin() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
496
Deprecated: Assigning the return value of new by reference is deprecated in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line
398
Deprecated: Assigning the return value of new by reference is deprecated in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line
423
Deprecated: Assigning the return value of new by reference is deprecated in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line
466
Deprecated: Assigning the return value of new by reference is deprecated in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line
697
Strict Standards: Non-static method serendipity_plugin_api::get_plugin_title() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
945
Strict Standards: Non-static method serendipity_plugin_api::hook_event() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/genpage.inc.php on line
31
Strict Standards: Non-static method serendipity_plugin_api::get_event_plugins() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
989
Strict Standards: Non-static method serendipity_plugin_api::count_plugins() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/genpage.inc.php on line
34
Strict Standards: Non-static method serendipity_plugin_api::count_plugins() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/genpage.inc.php on line
35
Strict Standards: Non-static method serendipity_plugin_api::hook_event() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/functions_entries.inc.php on line
328
Strict Standards: Non-static method serendipity_plugin_api::get_event_plugins() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
989
Strict Standards: Non-static method serendipity_plugin_api::hook_event() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/functions_entries.inc.php on line
434
Strict Standards: Non-static method serendipity_plugin_api::get_event_plugins() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
989
Strict Standards: Non-static method serendipity_plugin_api::hook_event() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/functions_entries.inc.php on line
877
Strict Standards: Non-static method serendipity_plugin_api::get_event_plugins() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
989
Strict Standards: Non-static method serendipity_plugin_api::hook_event() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/functions_entries.inc.php on line
962
Strict Standards: Non-static method serendipity_plugin_api::get_event_plugins() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
989
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_geshi/geshi.php on line
2003
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_geshi/geshi.php on line
2003
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_geshi/geshi.php on line
2003
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_geshi/geshi.php on line
2003
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_geshi/geshi.php on line
2003
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_geshi/geshi.php on line
2003
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_geshi/geshi.php on line
2003
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/www/htdocs/v155711/codeandcoffee/plugins/serendipity_event_geshi/geshi.php on line
2003
Strict Standards: Non-static method serendipity_plugin_api::hook_event() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/functions_entries.inc.php on line
1028
Strict Standards: Non-static method serendipity_plugin_api::get_event_plugins() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
989
Strict Standards: Non-static method serendipity_plugin_api::hook_event() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/functions_entries.inc.php on line
962
Strict Standards: Non-static method serendipity_plugin_api::get_event_plugins() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
989
Strict Standards: Non-static method serendipity_plugin_api::hook_event() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/functions_entries.inc.php on line
1028
Strict Standards: Non-static method serendipity_plugin_api::get_event_plugins() should not be called statically in
/www/htdocs/v155711/codeandcoffee/include/plugin_api.inc.php on line
989
Strict Standards: Only variables should be assigned by reference in
/www/htdocs/v155711/codeandcoffee/include/functions_smarty.inc.php on line
73
Strict Standards: Only variables should be assigned by reference in
/www/htdocs/v155711/codeandcoffee/include/functions_smarty.inc.php on line
73