Calling dll-library using Oracle Express Language
I call my dll-library from Express Language 6.32, but it can't locate my library function.
How can I create a dll-library, suitable for Express.
btw, creating dll I used EXTCALL.c example and I have done all in such a way as in this example. -- but... :(
Please give me advice,
Thanks for listening.
tbd wrote:
Hi rkpat,
You might check-out this thread on building WIN32 DLLs - expecially the bit re: "mangles names" under the paragraph titled "C Language Source File". My recollection is that 'extern "C"' directive in the header file for the DLL solved the name-mangling problem, but it's been a few years!
Cheers!
Message Edited by tbd on 03-01-2007 11:19 PM
tbd is right. You have to first disable name mangling as it creates all kind of troubles. Other issues might be that your Visual Studio 2003 or .Net edition links in dynamic runtime libraries that are not standard available on every Windows PC so that you need to redistribute the according runtime library installer together with your app for the DLL to be even loadable.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions
Similar Messages
-
Calling unix script using oracle forms
we have to call unix script using oracle forms , a trigger in form calls stored procedure on database
that stored procedure on database calls a oracle shared library
but since the only listener account for oracle on our unix server is oralist , whenever a call is made to the unix script from the oracle form , the unix script is executed by oralist user
but issue that we are having now is since oralist is specific for listening connections from orale we dont want to use this user to establish SFTP on it to avoid any issues with oralist
we want the sftp to be established on soem other useraccount , so is it possible to do something so that the script is executed by an account other that oralist.I'm not a Linux/Unix specialist, but I think this may work: let your database call a shell script that does a su command before running the actual script:
su - other_account
your_script.sh -
Can I use Oracle Express Edition for Educational purposes?
Dears,
I have an Information Technology school and I'm wondering if I can use Oracle Express Edition for Educational purposes. Do I need any special licenses for this?
I noticed the following statement on Oracle 11g Express download (Oracle Database Express Edition 11g Release 2) but would like to confirm if I have any restrictions about that.
"Oracle Database XE is a great starter database for:
Educational institutions and students who need a free database for their curriculum
Thanks
MartinsHi Darsh,
I can't say that this was a good answer, but I addressed a similar question in this forum posting: https://forums.oracle.com/thread/2600958
Joel -
How can I start using Oracle Express Edition
Good afternoon, how can I start using Oracle Express Edition? I have it installed it but I can not enter any user or key that allows me to manage the program from the Internet. I have understood that this version is free.
Correct me I'm wrong and please do noted me. In my country this course very expensive and I'm looking to learn on my own.
Edited by: user12301712 on 03-dic-2009 9:46Hi
During installation wizard asked you about password for SYS and SYSTEM user, you had to set it. If you forgot you can loggin to ORACLE via SQL plus without password:
c:\>SQLPLUS / sys as sysdba
after connect you can set new password for any user, for example (SYSTEM user):
ALTER USER SYSTEM identified by NEW_PASSWORD;
After this you can login to APEX (Internet enviroment)
Remember Oracle it's not only Internet frontend, it's huge tools with many functions. If you need study Oracle you need many time and zest but it is worth-while.
Yes Oracle XE is free (read licence agreement). -
Calling DLL function using LabVIEW 7.1?
Here's the scinario:
I have LabVIEW 7.1 and i'm trying to call a DLL function using 'CALL LIBRARY FUNCTION NODE'.
I have used this in the past with no problem. But right now, when I use this node and link it to the
library and function name, i get 'ERROR loading Dllname.dll' message.
NOTE that the DLL is generated using VStudio2003 or VStudio.NET. Could this be a problem??
Also, i noticed that there are some JUNK characters before & after the function name that show
up in function prototype:
long ?EcpvsSign@@YAHHPBEH0HPAE1@Z(long Signer, CStr NonRMsg, long NonRMsgLen,
CStr RMsg, long RMsgLen, CStr SigR, CStr SigS);tbd wrote:
Hi rkpat,
You might check-out this thread on building WIN32 DLLs - expecially the bit re: "mangles names" under the paragraph titled "C Language Source File". My recollection is that 'extern "C"' directive in the header file for the DLL solved the name-mangling problem, but it's been a few years!
Cheers!
Message Edited by tbd on 03-01-2007 11:19 PM
tbd is right. You have to first disable name mangling as it creates all kind of troubles. Other issues might be that your Visual Studio 2003 or .Net edition links in dynamic runtime libraries that are not standard available on every Windows PC so that you need to redistribute the according runtime library installer together with your app for the DLL to be even loadable.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Calling dll method from oracle forms
Hi,
This is my first post in this forum. I don't know whether this is the right place to post this topic here.
i wana call DLL method from the button click event of my form.
I new to oracle development any help will be greatly appreciated.Calling DLL using form 6i
Regards, -
hi all
my data in Arabic language and report running ok in paper layout just when i running on web not return any data
my report give it name of author and return details
i wont how to do this action
(Remove the LANGUAGE argument string from the command string, and set the ORACLE National Language environment variable NLS_LANG to the appropriate value. For more information,)
note
i using oracle report 10g r2
and db10g
Netscape navigator browser
I change the nls_lang to Arabic_egept.Ar8mswin1256
and not working
plz heeeeeeeeelpPlease heeelp
-
PERL calling PL/SQL using ORacle, error tracking.
I have a PERL script that makes a call to an sql script which updates an Oracle database; it all worked fine under Oracel 7.3.4, but it's now choking on Oracle 8.1.7. We can work around it, but in addition to it choking, their was the additional problem that PERL was getting a nice return code of zero, so we didn't know anything was wrong.
I've since tried whenever OSERROR and SQLERROR clauses in the sql script, and have tried a begin/exception/end, but it still does not catch the error.
Here are the basics:
1) PERL, just executing a command looking like:
$rc = system("sqlplus -s DBLOGIN_INFO @ sql_script.sql > log.out");
2) sql_script.sql looks like
(a) originally:
update STUFF set MORE_STUFF;
exit;
(b) currently:
whenever SQLERROR exit SQL.SQLCODE
whenever OSERROR exit OS.SQLCODE
begin
update STUFF set MORE_STUFF;
exception
exit -1;
end;
exit;
either way, it blows up the same way... the log file always contains only the following:
SP2-0310: unable to open file "..."
(where ... is a bunch of garbage)...
As noted, our work-around is that we can get it to open the file with pretty good consistency, but the problem is that we still can't catch it when this occurs.
So the question is: how do I make the PERL script aware that something went wrong? I don't really want to parse the log file every time... why would Oracle-PL/SQL give back a nice return code of 0 when it couldn't even open the file?
(This is all occuring on HPUX 11.0)
Thanks
JohnJust to follow up for anyone interested - the "error" is just a message generated by sqlplus... that's the way it is. It was trivial enough to grep the log file for any kind of message, but it still does seem strange that they don't reflect it in the return code, since if you can't open the file, a script that tries to do anything with the unopened file (believing it's open due to the good return code) will crash.
null -
Error during calling BPEL Process Using Oracle BPEL Process Manager Client
hi,
I have the following error during Calling BPel process and I can not detect the reason :
Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/EJBException
at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
at portlet.BPELProcess.startProcess(BPELProcess.java:68)
at portlet.BPELProcess.main(BPELProcess.java:89)
My Code :
locator = new Locator("default", "welcome1");
deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
String SchemaInputXML = "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n" +
" <soap:Header/>\n" +
" <soap:Body xmlns:ns1=\"http://www.globalcompany.com/ns/sales\">\n" +
" <ns1:User>\n" +
" <ns1:FirstName>787878</ns1:FirstName>\n" +
" <ns1:LastName>ujfyytytry</ns1:LastName>\n" +
" </ns1:User>\n" +
" </soap:Body>\n" +
"</soap:Envelope>\n";
NormalizedMessage nm = new NormalizedMessage();
nm.addPart("payload", SchemaInputXML);
deliveryService.request("userBPEL", "initiate", nm); --> here exception appear
userBPEL is my Process Name
initiate is BPel methodMessage was edited by:
Marc Kelderman -
Calling a methos using groovy expression
Hi!!
I am using jdeveloper 11.1.1.5.,
I had created an transient attribute in my VO. I had also coded a method which returns some value in my AMImpl.
My Scneario :
I need to set the method's return value to my transient attribute.Thank you!!
Now i had did little modification in my code only for StateDesc
public String getStateDesc(String dno)
if (dno == null)
return null;
else {
ViewObject vo = findViewObject("CityStateCountry1");
try {
Row[] row =
vo.findByKey(new Key(new Object[] { new Char(dno) }),
1);
if (row != null) {
Object name;
name = new Object();
for (int i=0;i<row.length;i++){
name = row.getAttribute("StateName1");
System.out.println (row.length);
if (name != null)
return name.toString();
else
return null;
return name.toString();
}else
return "Specified dept does not exists";
} catch (Exception e) {
e.printStackTrace();
return null;
While i am inserting new Record the StateDesc set the Value like thisjava.lang.Object@1d0740e -
Calling DLL using LabVIEW 7.1
so, i have this DLL which might be compiled using Visual Studio 2003 or Visual Studio 2005.NET.
question is: Can i call DLL functions using LabVIEW 7.1? has anyone tried it and has any issues loading the DLL?
i think i have everything right, as far as the configuration of 'Call Library Function Node' is concerned, but i get the
'error loading DLL - application has failed to start because application config is incorrect'.
can you please verify if .NET is not causing me issues? i think DLL assembly should be the same wheather it's VStudio6
or .NET, but can anyone confirm that's not the issue? Thanks...Yes.
If you dll is generated by C/C++, using Call Library Function node.
If it is generated by .net, using constructor node.
http://forums.ni.com/ni/board/message?board.id=170&message.id=206959#M206959 -
Using restore points WITHOUT flashback possible (in Oracle Express versio)?
For development I am using Oracle Express 10g version rather than Enterprise version.
Unfortunately the "Flashback" feature is NOT available in Express version (only in Enterprise).
I can CREATE a RESTORE POINT but I can NOT go back to it with a Flashback instruction like
FLASHBACK DATABASE TO RESTORE POINT myrp234;
Is there a workaround for this in Oracle Express?
Being able to CREATE a RESTORE POINT is useless if I cannot go back to this RP.
So I guess there must be another way?
Peteruser559463 wrote:
Does 11g Express support only flashback query or even flashback database?
Or is the latter feature only available in the 11g ENTERPRISE version?Flashback Database is Enterprise Edition feature and not available in XE edition.
Feature Restrictions
XE has most important application development features included, including Flashback Query (but no Flashback Data Archive), Analytical Functions, DBMS_EPG (embedded PL/SQL gateway for http support), Advanced Queuing, APEX, Oracle Text, LOB, Temporary Table, Model Clause, External Tables…
XE 11gR2 does not have any EE features, nor does it have the Result Cache (SQL nor PL/SQL), Database WebServices, Materialized Views, Java in the Database, Flashback Database /Data Archive/Flashback Table/Flashback Transaction, Fine Grained Auditing or Fine Grained Access Control (VPD), Client Side Query Cache, any of the Database (extra option) Packs, bitmapped index, OLAP, Data Mining, Parallel features, Gateways, Streams, Spatial, Multi Media, Compression, Semantic...
Resources
Documentation – http://www.oracle.com/pls/xe112/portal.all_books
Feature availability – http://download.oracle.com/docs/cd/E17781_01/license.112/e18068/toc.htm#BABJBGGA
Licensing Restrictions – http://download.oracle.com/docs/cd/E17781_01/install.112/e18803/toc.htm#BABIECJA
Edited by: user130038 on Sep 27, 2011 8:45 AM -
Is it possible to use Oracle Memebership Providers with Oracle Express
I am using Oracle Express as development database and I was able to create the ORA_ASPNET_ tables and procedures but when I try to use Microsofts "ASP .NET Configuration" tool to create users and roles I get this error message: OracleConnection.ConnectionString is invalid
When I use the connection string in code to connect to the database I am successful, I am able to open and close a connection to the Oracle Express database.
This is the connection string I am using: <add name="OraAspNetConString2" connectionString="DATA SOURCE=localhost:1521/XE;ENLIST=false;METADATA POOLING=False;PASSWORD=CREDENTIALSMGR;PERSIST SECURITY INFO=True;STATEMENT CACHE PURGE=True;USER ID=CREDENTIALSMGR;" providerName="Oracle.DataAccess.Client"/>
So I am wondering why when I run the application and the membership class tries to verify the user I get the error message: OracleConnection.ConnectionString is invalid
I have been looking at this a couple of days now so not sure what the problem is, any help?I suggest that update your machine.config file under your
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG.
There is one following entry. You may try to update the
connectionString with a valid string value.
<add name="OraAspNetConString" connectionString=" " /> -
Can Oracle Express Edition be used for Internet Web Projects?
Hi,
If we have a simple WWW application accessible from internet via WEB server and Web server uses Oracle Express Edition as a "data storage", can Oracle XE be used without violating license (XE limitations)?
Thank you!Don't see why not, although a quote from the Oracle Technology Network Developer License Terms for Oracle Database 11g Express Edition page at the License Rights section, "developing, prototyping and running your applications for your own internal data processing operation..." so that might be leaning into a bit of a grey area. A bit.
But with something available on the web you'll want to be sure to stay up to date with security patches- and unfortunately XE can not be patched. Just because something can be done, and even works for its intended purpose, doesn't necessarily mean that it is a "good thing to do".
Nothing wrong with trying something out for learning and figuring out how things work- apex is a nifty development platform, although I've not kept up with the details of the last couple of versions. Too many other things on the "got to learn this, got to do that" list(s). -
How to configure Oracle National Language Support for Hindi
Hello
I am Working on one library project and right now it is in foxpro.
it is working in local(hindi) language using c-dec software.Now i want to run this project using oracle national
language support.i have done lots of rnd on that but till could not get success.what's wrong with that?
Following the step i am applied for that
1 I have create the database using in8iscii character set. Because In8iscii support the Hindi Language.
2 Set the variable NLS_LANG = hindi_india.in8iscii in environment. I am using the Windows 2000 OS because
it supports the Hindi font(Mangal).
3 I am using the Oracle Developer as front end so using mangal font in front end i am able to display data
in Hindi format that's why i am selected Windows 2000 os.
4 I have done the special setting in Windows 2000 for Hindi.it is in controlpanel-regional setting-click the indic option
for india and in input locals set keyboard layout as Hindi also.
5 I also changed the Init.ora file and add the NLS_LANGUAGE = Hindi
nls_territory = india. now, I opens the database using this Init.ora file.
6 But It can't display the data in Hindi format.I could not able to display the data in Front End also.
So,pls help me in Oracle and also guide me in Linux platform also.
nullHi Nimit,
I have tried inserting Hindi/Marathi into an Oracle database (I have tried versions 8.0.6 and 8.1.7).
I created the database using UTF8 character set. The NLS_LANG was set to AMERICAN_AMERICA.UTF8. Inserts into the database were via iSQL*Plus or import. For querying I used OCI and Pro*C. The data for my app is being served up as XML. I have not tried Developer. The DB platforms have been both HPUX and Win2K, while the client platform has been Win2K/IE5.5 SP2. I have been using Code2000 as the font.
Did you manage to view the stored data using the export utility ?
Also, you can try using yudit to edit unicode files on Linux.
Maybe you are looking for
-
My iPod doesn't even work, I bought it today!
Listen here, I tried to add some videos, but it didn't work. then I finally found out how to convert files from mpg to m4v... Then I added two m4v files, and one of them worked. Later it popped up a window that I had to update my iPod, and I followed
-
Smart Object as traditional link (as in InDesign or Illustrator)
Is there a way to link a smart object, so that updates are made to the originally placed object ....as opposed to creating a new vector file save in a temporaray folder. Is there a way to work with smart object like traditional links in InDesign and
-
I am currently using Itunes 4.1 on my IMac. It no longer shows my airport express setups as options. What is going on?
-
Sharepoint 2013 designer workflow auto approve task after due date is passed
sharepoint 2013 designer workflow auto approve task after due date is passed. Could we approve the task automatically once due date is apssed? MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead
-
HT6147 is there going to be a Security patch for 1st Generation iPads?
Is theis there going to be a Security patch for 1st Generation iPads? one has been released for all of the other devices.