I'll bet XP.  Since Unix & Linus are case sensitive, M$ looks like they finally
got on the bandwagon.

Dick Goulet

____________________Reply Separator____________________
Author: "Igor Neyman" <[EMAIL PROTECTED]>
Date:       2/14/2003 1:43 PM

Thought, I'll share with the list, what I found on the subject today, m.b. it'll
be helpful to somebody.

Under 8.1.5 on NT dll path specification in CREATE LIBRARY statement was
case-insensitive:

create library externDDM as 'D:\OraNT\bin\ext_ddm.dll'
/

will work properly no matter what is the actual case used in path and file name,
so "D:\OraNT\bin\ext_ddm.dll", as well as "D:\ORANT\Bin\ext_ddm.dll", or
"D:\orant\BIN\ext_ddm.dll".

It's different under 9.2 on Windows XP.  Case used in file path and name in
CREATE LIBRARY should exactly match the case used in Windows (what you see in
Windows Explorer).  So, if the path in XP is "D:\orant\BIN" and the file name is
"EXT_ddm.dll", then you statement should look exactly like:

create library externDDM as 'D:\orant\BIN\EXT_ddm.dll'
/

You don't get any error, when you issue CREATE LIBRARY (even if you use wrong
case), but when you run code referencing external procedure in this dll, you
get:

ORA-28595: Extproc agent : Invalid DLL Path

BTW, "ORA-28595" is not described in Oracle documentation (checked both 8.1 and
9.2).

Now, I'm not sure, if this problem is caused by 9.2 version or XP, just didn't
have chance to try different configuration (like 8.1.5 on XP).

Igor Neyman, OCP DBA
[EMAIL PROTECTED]
  



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 5.50.4731.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Thought, I'll share with the list, what I found on the subject

today, m.b. it'll be helpful to somebody.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Under 8.1.5 on NT dll path specification in CREATE LIBRARY 
statement was case-insensitive:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>create library externDDM as 
'D:\OraNT\bin\ext_ddm.dll'<BR>/<BR></FONT></DIV>
<DIV><FONT size=2>will work properly no matter what is the actual case used in 
path and file name, so "D:\OraNT\bin\ext_ddm.dll", as well as 
"D:\ORANT\Bin\ext_ddm.dll", or "D:\orant\BIN\ext_ddm.dll".</DIV></FONT>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>It's different under 9.2 on Windows XP.&nbsp; Case used in 
file path and name in CREATE LIBRARY should exactly match the case used in 
Windows (what you see in Windows Explorer).&nbsp; So, if the path in XP is 
"D:\orant\BIN" and the file name is "EXT_ddm.dll", then you statement should 
look exactly like:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>create library externDDM as 
'D:\orant\BIN\EXT_ddm.dll'</FONT></DIV>
<DIV><FONT size=2>/<BR></FONT></DIV>
<DIV><FONT size=2>You don't get any error, when you issue CREATE LIBRARY (even 
if you use wrong case), but when you run code referencing external procedure in 
this dll, you get:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>ORA-28595: Extproc agent : Invalid DLL Path</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>BTW, "ORA-28595" is not described in Oracle documentation 
(checked both 8.1 and 9.2).</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Now, I'm not sure, if this problem is caused by 9.2 version or

XP, just didn't have chance to try different configuration (like 8.1.5 on 
XP).</DIV></FONT>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Igor Neyman, OCP DBA<BR><A 
href="mailto:[EMAIL PROTECTED]";>[EMAIL PROTECTED]</A><BR>&nbsp; 
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV></BODY></HTML>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to