You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ja...@tcs.com on 2006/08/11 19:59:21 UTC

[users@httpd] Apache module and Oracle connectivity - PRO*C failing - Help Help

Hi,

I am trying to load my test module from Apache. The test module is a DLL 
which is loaded by Apache using LoadLibraryExw call. When I add PRO*C/C++ 
code and link with orasql9.lib then the LoadLibrary call is failing. 

The PRO*C code is below. 

Please Help me.
 

#ifdef WIN32 

__declspec( dllexport )

#endif

extern "C"

int fn_DbRollback(){

EXEC SQL ROLLBACK WORK RELEASE;

if(sqlca.sqlcode == 0)

{

return SUCCESS;

}

else

{

return FAILURE;

}

}


Jayaram Ganapathy
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you