Writing DLL using Tuxedo 8.0
Hello , someone know a tutorial, when i can get information about write a
DLL using Tuxedo 8.0 , compiling with Visual C++ 5.0.
I try it but when i link, the compiler send me many errors, any are:
unresolve __tpcall@24 , for example..
Thanx for your cooperation.
Malcolm,
Tuxedo 8.1 workstation clients are compatible with Tuxedo 8.0 servers, and
you will be able to use Tuxedo 8.0 functionality with this client-server
pair. The full matrix of which releases can interoperate with which others
is described at
http://edocs.bea.com/tuxedo/tux91/interop/iopcoexist.htm#1073920
Ed
"Malcolm Freeman" <[email protected]> wrote in message
news:[email protected]..
Can you use a Tuxedo 8.1 Workstation Client with an application builtusing Tuxedo 8.0 Servers? (Have not been able to find a definite answer in
the docs).
>
TIA,
Malcolm.
Similar Messages
-
Why not found "ligp.dll" in Tuxedo /WS 8.0 ?
Environment:
Before
1.Power Builder 5
2.Tuxedo Client 6.4
3.Tuxedo Server 6.4
Afeter
1.Power Builder 8
2.Tuxedo Client 8.0
3.Tuxedo Server 8.0
Before to upgrade software, I use power builder to call function "tuxputenv" from
"libgp.dll" in path c:\tuxedo\bin but
after upgraded software, My application have error, cause of file libgp.dll does
not have.
I don't know about DLL library rename in Tuxedo client 8.0 or that "libgp.dll"
DLL library in tuxedo client 6.4 has obsolete.
And I found "libgpnet.dll" in tuxedo client 8 but not sure it's the same with
"libgp.dll" in tuxedo client 6.4.
Please...give me your advise for this case.
Thanks you for your advise.Try libengine. The libraries were reworked in 7.1.
Sutep wrote:
Environment:
Before
1.Power Builder 5
2.Tuxedo Client 6.4
3.Tuxedo Server 6.4
Afeter
1.Power Builder 8
2.Tuxedo Client 8.0
3.Tuxedo Server 8.0
Before to upgrade software, I use power builder to call function "tuxputenv" from
"libgp.dll" in path c:\tuxedo\bin but
after upgraded software, My application have error, cause of file libgp.dll does
not have.
I don't know about DLL library rename in Tuxedo client 8.0 or that "libgp.dll"
DLL library in tuxedo client 6.4 has obsolete.
And I found "libgpnet.dll" in tuxedo client 8 but not sure it's the same with
"libgp.dll" in tuxedo client 6.4.
Please...give me your advise for this case.
Thanks you for your advise. -
Writing dll in visual c++ and importing it to labview
I am writing a Dll using microsoft visual c++. Under the source file i wish to include this header file(#include "extcode.h")sothat i can use the labview library function in c++.However when i try to duild the dll,it will produce a linker problem which say that unable to find this file or no such file exist.
Another point that i am not clear of is,under microsoft visual c++,can i either choose to add this file by listing it in mysource code(#include extcode.h) or can i just simply add by clicking on the project tab->add file ->indicate the file name?
when writing a dll, i can either choose to write in "C" or winapi.Which of these method will provide a better soln.
in lbview when we declar
ed the type of data say integer, i understand that there is only short integer(16bits) and a long integer(32bits) and achar (8bit integer). However in a c program there is short int,int and a long int so how i am able to declare an int as regard to labview?Derek,
Use the following link :
http://zone.ni.com/devzone/devzone.nsf/webcategories/E2A99E7E10D5725D862567AC004F0A53?opendocument
I think you will find all you need there. The first link off this page will also give you a table of how labview ints convert to other development enviroment types. There are also links for creating a DLL in C++ and using it in labview like you are trying to do.
Jared -
error 126 can not load library "DLBAPRP.DLL" using defaults. this message appears when we try to print from our web bookmarks or any acrobat or pdf files
That error seems to be new with Firefox 4 - never heard of it with earlier versions of Firefox, but it goes back many years in various Windows programs.
See this [http://www.google.com/search?client=ubuntu&channel=fs&q=DLBAPRP.Dll&ie=utf-8&oe=utf-8 search]. -
Call to a C++ DLL, using JNI - C++ method has char*
I am trying to link into an existing C++ Dynamically Linked Library(DLL) using the Java Native Interface(JNI).
All goes fine, and the library loads into the current program, however when I try to call the function, it crashes. The function has char pointers, and I haven;t been able to get Java to simulate them. Is there a way?????
I have tried using and array of chars .....char[], and String, but no dice.
Any suggestions O'learned Java ones??It will be necessary for you to write a JNI adapter in C/C++ to accomplish this. Java character strings and arrays are very different from those of C/C++ and you'll have to use JNI functions to adapt.
Chuck -
How to send images using Tuxedo 6.5
What would be the best way to send images( bmp, jpeg, gif) using Tuxedo 6.5? Ideally,
I would like to keep the image with the data, ie., have the image as a field in
the FML32 buffer. I can't see anyway of doing this... Create a new buffer type??
Thanks
RichRich,
How about storing the binary image in an FML field of type CARRAY?
Be aware of the performance impact of very large buffers - >75% of MSGMNB (I
think) and they're transferred by file i/o -
Regards,
Peter.
Rich Wojcik wrote:
What would be the best way to send images( bmp, jpeg, gif) using Tuxedo 6.5? Ideally,
I would like to keep the image with the data, ie., have the image as a field in
the FML32 buffer. I can't see anyway of doing this... Create a new buffer type??
Thanks
Rich -
Call a special function in the dll using Call Library Function Node????
Dear all,
I am calling a special function in the dll using call library function node. There is a input parameter that it is a enum type in this function. I don't know how to deal this parameter for calling this function.Has anybody solved this problem?Please advise!
I am appreciated of you anytime.Most of the times an enum is just a U8/U16/U32, internally so probably you can call it with just a U8/U16/U32 or something. For the correct value you have to look at the definition.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
Asynchronuous functions don't work in a C# dll used by a CVI application
Hello,
I have an existing application written with CVI 9.0.1, which have to interact with a C# 2010 dll (which doesn't have any window) via a CVI<->.net wrapper (created using the usefull .net controller of CVI).
This C# dll uses asynchronuous functions, like NetworkStream.BeginRead() and EndRead() functions of a System.Net.Sockets.TcpClient object for example.
These asynchronuous functions work fine when the C# dll is used by a C# application (having a main window) or when the C# dll is converted in a standalone C# program (having a main window with buttons, to call its methods, just to try), but asynchronuous functions don't work when my C# dll is called by my CVI application (which is my goal): execution stays inside NetworkStream.BeginRead() for example (for the concerned thread).
NetworkStream.BeginRead() can be successfully bypassed by using the synchronuous function NetworkStream.Read() instead, but the C# dll uses others asynchronuous functions wich have no associated synchronuous functions.
Here is a portion of C# code (I don't have the source code for the Snmp object ; got_trap() method is never called when asynchonuous calls don't work):
public void run() // the thread
Snmp snmp = null;
try
snmp = new Snmp(true);
snmp.NotifyListenPort = 162;
snmp.NotifyRegister(null, null, new NotifyCallback(got_trap), CB_DATA_);
isActive = true;
Thread.Sleep(Timeout.Infinite);
Thinking it could be a problem with window messages which could be not processed (in the C# dll), I tried to replace the Thread.Sleep(Timeout.Infinite) instruction, in the code where the asynchronuous management take place, by a window creation plus my Win32 window message loop, but asynchronuous functions don't work better (whereas my loop seems to successfully process messages):
Form myForm = new Form(); // an empty window
myForm.Show();
int bRet;
MSG msg = new MSG();
while ((bRet = GetMessage(out msg, IntPtr.Zero, 0, 0)) != 0)
if (bRet == -1)
// handle the error and possibly exit
else
switch (msg.message)
default: // everything else
TranslateMessage(ref msg);
DispatchMessage(ref msg);
break;
Any idea ?
Thank you,
rvfr.
Solved!
Go to Solution.Solved: in fact, the snmp assembly that I was using just needed to be dotNet registered.
rvfr. -
Creating DLL using Acrobat SDK
Hi,
I want to create one DLL using Acrobat SDK and VS 2010 Win32. If i use this dll in our program it should show functions for opening pddoc, total number of annots, Can I do this using Acrobat SDK. I know we can create plug-in extension with .API.
Please let me know can i do this using Acrobat SDK.
Thanks,
KruthiPlease use the forum for Acrobat SDK.
-
Php4apache.dll uses plain apache 1.3 API,this module might crash under EAPI
Hi,
I am a total PHP beginner.
I am trying to install and configure Oracle, PHP, and Apache on Windows XP. For this purpose I am trying to follow the installation guide that I found on http://www.oracle.com/technology/tech/opensource/php/apache/inst_php_apache_windows.html.
I have first installed the Oracle 9i DB server on my E drive, which has by default created the following directory which contains the APACHE exe file
E:\oracle\product\10.1.0\db_1\Apache\Apache\
(it is Apache 1.3.22)
I have downloaded php 4.3.8 from php.net and have been through the following steps given by the guide.
I have copied the php.ini and edited it (uncomment the extension=php_oci8.dll line and specified the doc_root as E:\oracle\product\10.1.0\db_1\Apache\Apache\htdocs).
I have copied php4ts.dll and php_oci8.dll to E:\oracle\product\10.1.0\db_1\Apache\Apache\
i have edited the httpd.conf file by adding the 3 following lines:
LoadModule php4_module e:/php-4.3.8/sapi/php4apache.dll
AddModule mod_php4.c
<IfModule mod_php4.c>AddType application/x-httpd-php .php
</IfModule>
When i start the Apache server i get:
e:/php-4.3.8/sapi/php4apache.dll/php4apache.dll uses plain apache 1.3 API, this module might crash under EAPI!
Apache seems to be working fine and to run php. The "hello world" test runs fine as well.
Is this EAPI error a problem? (some forums seem to be implying that it is not a major error but a warning)
If yes, I can I solve it?
Your help would be very much appreciated.
If needed, my email is [email protected] please feel free to use it.
FrankieIf you downloaded the binary version of PHP, then pretty much you can't do anything about it. It's just a warning. However, if you compiled and built it (using vc++ or something else), you'll have to add the EAPI flag to the compile flags (/DEAPI to CFLAGS in the vc++ project file/makefile) to remove this warning.
-
Error using tuxedo proxy services in a cluster
We have successfully created proxy services using tuxedo transport in single server ALSB configurations.
We are now installing ALSB 2.6 in a cluster, and we cannot make the service work. We have configured WTC in all the servers of the cluster.
When we invoke the service, we get the following error in the log
####<Feb 19, 2007 4:32:00 PM CLST> <Error> <TuxedoTransport> <quintay> <ALSB1> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1171913520640> <BEA-381600> <Exception in TuxedoTask, java.lang.NullPointerException
java.lang.NullPointerException
at com.bea.wli.sb.transports.tuxedo.TuxedoTask.service(TuxedoTask.java:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at weblogic.wtc.gwt.InboundEJBRequest.run(InboundEJBRequest.java:467)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Any help or workaround? Is it possible to use tuxedo transport in a cluster configuration? Other problem we have seen is that the ALSB console only allows us to deploy the service in one local domain. How can I deploy the service in all the wtc servers?
Thanks in advance
Mauricio PalmaYes, BEA released a patch which solves partially the problem, now we can invoke the proxy service from tuxedo. There are some features missing (for example, we have to configure a separate proxy service in each node of the cluster, with different names, and then import every service from tuxedo, so we cannot do fault tolerance).
I don't know if the patch is available, we had to create a support case with BEA. -
Can I compile a DLL using java! Or how about an ActiveX! And if I can how?
You used to be able to this with Microsoft J++ (Visual Studio 6). I don't think this is supported any more though. There is a thing called J# which is part of .NET which will allow you to write code for the CLR (Common Language Runtime), but I doubt you will find it to be "pure" Java. It's more likely a "java-like" language as J++ was, and I don't know if you can write DLLs, I think it may only be ".NET Components" that you can write. (Don't really know much about this)
If you are wanting to write an ActiveX DLL and want to do it in Java, I think you are probably barking up the wrong tree. If you don't want to go down the complete C++ path, you could try Visual Basic. VB is a simple language and it shouldn't take long to learn.
If you are trying to access Windows features or applications not available from the standard Java APIs, then you will need to use JNI. Of course you will probably still have to code a C++ dll to act as a "wrapper" for your JNI class (JNI calls the wrapper which calls the native code). -
Could anyone please let me know how to set a ICC profile with Acrobat dlls using Csharp or VB
Could anyone please let me know how to set a ICC profile with Acrobat dlls using Csharp or VB
Cant we even use the dlls in an application?
In order to automate Acrobat, you need to have Acrobat installed. There is
nothing you can do with just the DLLs. As was already stated, Acrobat is
not licensed for use on a server, but regardless of that, it's also
not technically suitable for server use. You need to find a solution
outside of Acrobat to solve your problem.
It also seems that you don't have a good understanding of what is going in
inside a PDF file. PDF is a very complex file format, and based on
your questions
and followup questions, you need to spend a considerable amount of time
getting familiar with the PDF file format to understand how color works in
the PDF context. Reader the PDF spec, while paying special attention to the
section about color. You will find out that if you want to convert the
color space of a "PDF file", you actually need to convert the color space
associated with every single object in your PDF file. That is fairly simple
for vector graphic and text, but when it comes to images, you may have to
convert the image data. Once you have a good understanding of what it is
you need to do within the PDF file, then you can start looking for tools
that allow you to do that. Again, Acrobat and therefore the Acrobat SDK is
not suitable for this task. If you want to stay with Adobe products take a
serious look at the PDF Library, which his licensed through Datalogics (
http://www.datalogics.com/products/pdf/pdflibrary/). As you've mentioned,
there are other, non-Adobe PDF libraries that you can also use, but this is
the Acrobat SDK forum, so I won't discuss any of those 3rd party solutions.
You are wasting your time while looking for a simple solution that does not
exist. -
Hi, I was working on a PDF writing comments using Adobe Reader on a Mac. I clicked save and got a 'cannot save' message. I then clicked save as instead, Reader froze and my PDF disappeared. The only version saved has only my first comment. Does Adobe Reader save to temporary files that I can access in order to recover my work? Is there any other way to recover it? Thanks!
Hi @Pat Willener,
since I got the same problem as pdfprincess I hope you can help me. The 'Automatically save document changes to temporary file...' is enabled in my adobe reader.
A file I worked (commented) on a lot crashed. When I reopened the file, adobe reader didn't ask if I want to restore my changes in this file, as it is written on the help.adobe.com page. Is there any possibility to restore the changes manually from the temporary file?
Thanks in advance - it is really important for me to restore these changes!! -
Problem using Tuxedo from different network
We are using Tuxedo (7.1) with Clarify eFrontOffice.
We are trying to access Tuxedo from a different network. We have a NAT address and opened the port for WSL (48800) and also a range (specified in the ubbconfig and compiled) specified for the WSH. When the Clarify client is started, it is connecting to the WSL on port 48800. When tuxedo returns the WSH port to the Client, it is also returning the IP of the server. Since the IP is not recognized in the 2nd network the communication is failing. Is there a way to retun server name instead of IP or a different IP?
ThanxRaju,
When using Network Address Translation with /WS you should specify the -H
option to WSL (after the -- option) so that the address of the WSH can be
mapped back to an address that the client will understand. A bug related to
the WSL -- -H option was fixed at Tuxedo 7.1 rolling patch level 165, so you
should obtain the latest 7.1 rolling patch if you are running at an earlier
patch level.
The description of the -H option at
http://e-docs.bea.com/tuxedo/tux71/html/rf537.htm is as follows:
[-H external-netaddr]
Specifies the complete network address to be used as a well known address
template of the WSH process. The address will be combined with a WSH network
address to generate a well known network address used by the Workstation
client to connect to a WSH process. It has the same format as the -n option
except that it substitutes the port number with same length of character M
to indicate the position of the combined network address will be copied from
the WSH network address. For example when address template is
0x0002MMMMdddddddd and WSH network address is 0x00021111ffffffff then the
well known network address will be 0x00021111dddd dddd. When address
template starts with "//" network address type assumes to be IP based and
the TCP/IP port number of WSH network address will be copied into the
address template to form the combined network address. This feature is
useful when Workstation client needs to connect to a WSH through a router
which performs Network Address Translation.
<Raju Vatsavayi> wrote in message news:[email protected]...
We are using Tuxedo (7.1) with Clarify eFrontOffice.
We are trying to access Tuxedo from a different network. We have a NATaddress and opened the port for WSL (48800) and also a range (specified in
the ubbconfig and compiled) specified for the WSH. When the Clarify client
is started, it is connecting to the WSL on port 48800. When tuxedo returns
the WSH port to the Client, it is also returning the IP of the server. Since
the IP is not recognized in the 2nd network the communication is failing. Is
there a way to retun server name instead of IP or a differen
t IP?
Thanx
Maybe you are looking for
-
Similar configuration and circumstances incuding unexplaining lag time in keyboard and mouse both just s s Check your purchase history and see what shows? Check to see if your Apple ID has had any pw changes recently and if it is still registered as
-
I'm on a mac and my printer won't print
I'm on a mac and it sends the document to my printer (Hp Photosmart 4680 all in one) but the printer won't print. My printer has been working just fine and now it won't print. Am I doing something wrong. This happened once before and I got frustrated
-
Lotus Notes password change not working
Hi, I'm integrating Lotus Notus and currently we are able to create users in the Domino server, so we have many doubts: Lotus Notes Id Files are created in the Domino server, but this Id Files needs to be copied in the users own laptops or desktop pc
-
Table control in Enjoy transactions like FB50/FB60/FB70
Hi, I am using enjoy transactions like FB50/FB60/FB70 which provide me the facility to enter more than one GL Accounts in a very easy manner. The screen looks like a table where we can enter the data very easily. Now we can hide and display fields in
-
Acrobat 11.0.10 crashes computer.
When ever I try to enter text on a PDF downloaded form it crashes and I have to re start the computer with the power switch. In other words, I click to enter or change text and when I click on the line, the cursor arrow disappears and I can't exit ou