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
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