Calling a PowerBuilder object in ASP.NET

P

pa

I'm calling a PowerBuilder 6.5 object in an asp.net page
and am having some perfomance issues.
Here's the code:

dim pb as object
dim g_objPB as object

pb = CreateObject("Powerbuilder.Application")
pb.LibraryList = "c:\web\power.dll"
pb.MachineCode = False
g_objPB = pb.createobject("m_class")

The code executes appropriately, however the line:

pb.LibraryList = "c:\web\power.dll"

takes at least 15 seconds to process.
when i make these calls from a windows project they are
almost instantaneous.
my thinking is it's a security issue but am not exactly
sure what that issue is. I've tried anonymous access
and
windows integration with no change in performance.

my workaround is to call a separate thread that executes
the above code and puts the object into a global
variable,
although that's not my desired solution.

The operating system is windows 2000 server.

any help would be greatly appreciated.

thanks
pa
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top