Error line:
C2491 when trying to compile. What's wrong, how do I fix this?Code:AP_DECLARE_DATA module vhost_dbi_module = {STANDARD20_MODULE_STUFF,NULL,NULL,vhost_dbi_create_server_config,NULL,vhost_dbi_commands,register_hooks};
Error line:
C2491 when trying to compile. What's wrong, how do I fix this?Code:AP_DECLARE_DATA module vhost_dbi_module = {STANDARD20_MODULE_STUFF,NULL,NULL,vhost_dbi_create_server_config,NULL,vhost_dbi_commands,register_hooks};
What is the text of the error?
This?Code:mod_vhost_dbi.c(501) : error C2491: 'vhost_dbi_module' : definition of dllimport data not allowed apxs:Error: Command failed with rc=131072
Go to the apachelounge forums, as they are probably better suited to help you.
Well, I did, no answers :/
I have read infos about C2491 but still don't know how to fix this..