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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux