Powerbuilder Executable - application's dll cannot be loaded.

When I try to create a Powerbuilder (7) machine code executable, I keep
getting a crash  (Runtime error R0014) - saying that one of my application's
dll's could not be opened. But, the dll's are all in the same directory as
the executable. This directory is also registered in my path variables. I
have also copied all the Powerbuilder dlls to the same directory as well.
I've switched runtime tracing on and been able to establish that it's
happening when one of my dlls is creating an object that is coded into a
second dll. It is this second dll which cannot be opened. This is happening
in numerous places within my application, but in a few places things are
working ok. Anyone know why this is happening?

Peter Owen.


0
Peter
6/21/2001 3:08:57 PM
sybase.powerbuilder.database 9855 articles. 2 followers. Follow

2 Replies
693 Views

Similar Articles

[PageSpeed] 33

Which build are you using?  There were bugs in most earlier builds of PB7
that prevented machine code builds from working.
Does it work if you compile to PBDs instead?  Unless there's an overwhelming
reason to use DLLs (ie intensive powerscript processing, lots of nested
loops and/or computations) I'd recommend using PBDs anyway.  They are less
prone to bugs, faster to build, smaller in size, and often actually faster
than DLLs (probably due to their smaller size).
My 2d
Simon

--
Simon Caldwell
Get Real Systems Ltd
Holtby Manor, Stamford Bridge Road, York, YO19 5LL
Tel 01904 481999 Fax 01904 481666
Visit us at www.getrealsystems.com

Specialists in e-Procurement and supply chain technology


"Peter Owen" <peter.owen@labsystems.com> wrote in message
news:WU8t$hm#AHA.96@forums.sybase.com...
> When I try to create a Powerbuilder (7) machine code executable, I keep
> getting a crash  (Runtime error R0014) - saying that one of my
application's
> dll's could not be opened. But, the dll's are all in the same directory as
> the executable. This directory is also registered in my path variables. I
> have also copied all the Powerbuilder dlls to the same directory as well.
> I've switched runtime tracing on and been able to establish that it's
> happening when one of my dlls is creating an object that is coded into a
> second dll. It is this second dll which cannot be opened. This is
happening
> in numerous places within my application, but in a few places things are
> working ok. Anyone know why this is happening?
>
> Peter Owen.
>
>


0
Simon
6/22/2001 8:10:20 AM
I'm using version 7.03 Build 10047. Is the problem fixed in this version?
PBD's work fine, but I was curious to see if DLL's were faster.
Simon Caldwell [TeamSybase] <simonDOTcaldwellATgetrealsystemsDOTcom> wrote
in message news:r3tcmZv#AHA.194@forums.sybase.com...
> Which build are you using?  There were bugs in most earlier builds of PB7
> that prevented machine code builds from working.
> Does it work if you compile to PBDs instead?  Unless there's an
overwhelming
> reason to use DLLs (ie intensive powerscript processing, lots of nested
> loops and/or computations) I'd recommend using PBDs anyway.  They are less
> prone to bugs, faster to build, smaller in size, and often actually faster
> than DLLs (probably due to their smaller size).
> My 2d
> Simon
>
> --
> Simon Caldwell
> Get Real Systems Ltd
> Holtby Manor, Stamford Bridge Road, York, YO19 5LL
> Tel 01904 481999 Fax 01904 481666
> Visit us at www.getrealsystems.com
>
> Specialists in e-Procurement and supply chain technology
>
>
> "Peter Owen" <peter.owen@labsystems.com> wrote in message
> news:WU8t$hm#AHA.96@forums.sybase.com...
> > When I try to create a Powerbuilder (7) machine code executable, I keep
> > getting a crash  (Runtime error R0014) - saying that one of my
> application's
> > dll's could not be opened. But, the dll's are all in the same directory
as
> > the executable. This directory is also registered in my path variables.
I
> > have also copied all the Powerbuilder dlls to the same directory as
well.
> > I've switched runtime tracing on and been able to establish that it's
> > happening when one of my dlls is creating an object that is coded into a
> > second dll. It is this second dll which cannot be opened. This is
> happening
> > in numerous places within my application, but in a few places things are
> > working ok. Anyone know why this is happening?
> >
> > Peter Owen.
> >
> >
>
>


0
Peter
6/22/2001 8:46:09 AM
Reply:

Similar Artilces:

Failed to load database information. Details: The database DLL 'crdb_oracle.dll' could not be loaded.
 i m using Crystal report with ASP.NET and oracle 10g at backend using asp.net component to create a report but it gives the error failed to load database information is there any prob i ve NTFS pration type ?? plz help me  tnx in advance. Failed to load database information. Details: The database DLL 'crdb_oracle.dll' could not be loaded. Error in File C:\DOCUME~1\SYEDAD~1\ASPNET\LOCALS~1\Temp\{A459F4A5-6692-444B-9B91-999CDF5B860D}.rpt: Failed to load database information. Description: An unhandled exception occurred during the execution of the curren...

PowerBuilder DLL's
Hi: Does anyone know if it's possible to acces a PowerBuilder DLL from a non-PowerBuilder application, if it's not possible how can i create, in PowerBuilder, something like an API to be a accesed by other applications. Thank in advance. hi! In visual basic can write : Dim a as new object a.createobject("clase") // Excel use Excel.Application now, you can use your object with yours events... in PB use ConnectToNewObject luck., bye Jorge Alberto Ar�valo Ruiz wrote: > Hi: > Does anyone know if it's possible to acces a PowerBuilder DL...

The database DLL 'crdb_oracle.dll' could not be loaded.
Configuration: Asp.Net 2.0 Oracle 10g. Visual Studio 2005 Prof. Ed. Crystal Reports 10 Adv. Dev. A simple crystal report named "Report1.rpt" is built in crystal reports 10 Adv. Dev. and works fine when run in CR Designer mode.  However, accessing it from Asp.Net page gives following error:“Failed to load database information. Details: The database DLL 'crdb_oracle.dll' could not be loaded. Error in File C:\WINDOWS\TEMP\Report1 {F5957DEE-E12A-4456-B718-50C6EE90BA46}.rpt: Failed to load database information.” Stored procedure is as follows:- &nbs...

Editing Powerbuilder DLL's!
Here's an interesting discovery - is it a bug or a feature? I created a simple PB dll containing a function (fAdd to add two numbers) and a window (w_extender containing a 'hello world' static text field). In another application, I included the dll in the library list and, as expected, I could reference the add function and open the window (I could of course inherit from w_extender also). Here's the unexpected part. By opening the window painter I could open w_extender, edit it and save it back into the dll! The dll size changed and the date was updated. Of cour...

Dynamically load the dll's on user's selection
Hi ,  I am in a need to load the dll's dynamically ,based on user's selection and get them added to the References of Solution Explorer in the application(VS 2008,c#) .How can I proceed with this requirement? Any pointers to this would be of great  help. Thanks in advance.   You can use System.Reflection.Assembly.Load().Hope it helps. Jef Claes~~~~~~~~~~Visit my blog Pratibha_Pillai:Hi ,  I am in a need to load the dll's dynamically ,based on user's selection and get them added to the References of Solution Explorer in the application(...

DLL's for Powerbuilder 8.0
To run executable created from powerbuilder 8.0 which are the dll's needed to be copied?. Thanks for the help in advance. M.B.S Hi, Next time, please post this to a PB newsgroup, this one is for easerver using pb components or clients. Please read Application techniques/Part9 deployment techniques -> PowerBuilder runtime files. Here is a short list (you can find it there): Name Required for PBVM80.DLL All LIBJCC.DLL All PBDWE80.DLL DataWindows and DataStores PBRTC80.DLL Rich Text PBFNT80.INI Mapping unavailable fonts PBLAB80.IN...

FDF Toolkit's DLL in powerbuilder
Hi, Anybody knows about how to call Adobe's FDF toolkit's API as external DLL in powerbuilder. How to declare as I dont know it's return datatype and arguments's data type. TIA, Atul ...

Powerbuilder 8 deployment DLL's
Where can I find the list of deployment DLL's for PB8? Thanks! - Jason I just found it in Chapter 36 of Application Techniques online. Thanks anyway. Maybe this will help someone else :) Name Required for ------------------ ----------------------------------------------------- PBVM80.DLL All LIBJCC.DLL All PBDWE80.DLL DataWindows and DataStores PBRTC80.DLL Rich Text PBFNT80.INI Mapping unavailable fonts PBLAB80.INI Label DataWindow presentation style predefined formats PBTRA8...

Using PowerBuilder's or Infomaker's Query Painter in my applicatoin
I am at the point in my application where I would like to allow my users to create customized queries, and possibly reports. I have figured out how to use syntaxfromsql to convert sql to the special datawindow code, and this works find for me. But some of my users arn't as gifted in the sql department. So now I wish I had a nice GUI query builder. My question is; Is the query painter, and maybe even the datawindow painter accessable from Powerbuilder script kind of like an activeX? Or an object that I can drop into a window. I think I am to the point that I could recreate th...

PB6 Executable Blows up when PBL's are compiled as DLL'S
Hello, Can anyone figure this one out? I developed an application in PB6 and compiled the PBL's into DLL's. I have a window with two datawindows on it that are used for dragging and dropping between each other. Well when I open the window up I can move the mouse around the whole window with no problems. But when I move it over a datawindow the applcation blows up due to the following: The instruction at "0x11217ec9" referenced memory at "0x00000000". The memory could not be "read". Click OK to terminate the application Click CANCEL to debug the a...

PB6 Executable Blows up when PBL's are compiled as DLL'S
Hello, Can anyone figure this one out? I developed an application in PB6 and compiled the PBL's into DLL's. I have a window with two datawindows on it that are used for dragging and dropping between each other. Well when I open the window up I can move the mouse around the whole window with no problems. But when I move it over a datawindow the applcation blows up due to the following: The instruction at "0x11217ec9" referenced memory at "0x00000000". The memory could not be "read". Click OK to terminate the application Click CANCEL to debug the...

Use PowerBuilder DLL in PowerBuilder
We use PB6.5. We would want to use a DLL create from PB in a PB application. We compiled an a PBL as DLL. After we tried to use DLL in a user object external, but without success. How can we do to use DLL create from PB or use in a new PB application some object (visual and no) before compiled with PB? Any help will be appreciated. Saul.Convalle@mail.cec.it Thanks When you create a DLL from a PB library it is not really a standard Windows DLL. I'm not sure what the difference is. If you are making calls from PB then just use the standard PB calling syntax the ...

One PowerBuilder app triggering an event on another PowerBuilder app's Frame
Running 2 concurrent PowerBuilder apps (both MDI). Is there a way to trigger a user event on the frame of one of the apps from the other? I can get a handle to the frame window, and I am guessing that a Send() of some kind would do the trick, but I don't know which parameters to use or where the parameters for the Send() are documented. Thanks for the help. I recently had the same situation. You can use send or post to send a message to a window in another application. First you need the handle of the window you are sending the message to. Since it is in another applica...

Calling Custom C++ DLL's in Powerbuilder
I am trying to write a custom C++ DLL in Visual Studio 2008. I have used various other third party and windows api DLL in my applications before and never had a problem. But when I tried to call my custom DLL I am getting a "Specified argument type differs from required argument type at runtime in DLL function..." I have made a little test DLL with two functions: extern "C" DllExport int AddNumbers(int num1, int num2); extern "C" DllExport int AddNumbers1(); extern "C" DllExport int AddNumbers(int num1, int num2) { return num1 + nu...

PowerBuilder 8 Deployment DLL's #2
I am looking for the list of the DLL files which needs to be shipped to the user (Windows XP) machine during the Application deployment. Thanks in advance: vutkin@exchange.ml.com Look in the HTML books, Application Techniques. There is a section on deploying the application. <Larry Utkin> wrote in message news:40699ca8.2fbb.846930886@sybase.com... > I am looking for the list of the DLL files > which needs to be shipped to the user (Windows XP) > machine during the Application deployment. > Thanks in advance: vutkin@exchange.ml.com ...

Web resources about - Powerbuilder Executable - application's dll cannot be loaded. - sybase.powerbuilder.database

Resources last updated: 12/11/2015 1:10:59 AM