Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 34251 invoked from network); 11 Aug 2006 17:59:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Aug 2006 17:59:54 -0000 Received: (qmail 58843 invoked by uid 500); 11 Aug 2006 17:59:44 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 58830 invoked by uid 500); 11 Aug 2006 17:59:44 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 58819 invoked by uid 99); 11 Aug 2006 17:59:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 10:59:44 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [61.14.44.195] (HELO inblrg01.tcs.com) (61.14.44.195) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 10:59:43 -0700 Received: from unknown (HELO inblrm01.tcs.com) ([172.19.168.123]) by inblrg01.tcs.com with ESMTP; 11 Aug 2006 23:29:20 +0530 X-IronPort-AV: i="4.08,115,1154889000"; d="scan'208"; a="4619617:sNHT28501380" To: users@httpd.apache.org MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5 September 26, 2003 Message-ID: From: jayaram.g@tcs.com Date: Fri, 11 Aug 2006 23:29:21 +0530 X-MIMETrack: Serialize by Router on InBlrM01/TCS(Release 6.5.3FP1HF274 | August 23, 2005) at 08/11/2006 23:29:23, Serialize complete at 08/11/2006 23:29:23 Content-Type: multipart/alternative; boundary="=_alternative 006110F7652571C7_=" X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Apache module and Oracle connectivity - PRO*C failing - Help Help X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=_alternative 006110F7652571C7_= Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" 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 --=_alternative 006110F7652571C7_= Content-Transfer-Encoding: 7bit Content-Type: text/html; charset="us-ascii"
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


--=_alternative 006110F7652571C7_=--