httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jayara...@tcs.com
Subject [users@httpd] Apache module and Oracle connectivity - PRO*C failing - Help Help
Date Fri, 11 Aug 2006 17:59:21 GMT
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



Mime
View raw message