Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Getting Started / March 2006



Tip: Looking for answers? Try searching our database.

ColdFusion calling PowerBuilder DLL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
prashantidoma - 23 Mar 2006 22:32 GMT
I am creating a COM object using Cold Fusion. The dll is created using
PowerBuilder.
<cfobject
action="create"
name="objPmtAmt"
type="com"
class="loi.CoLoiClass">

I have registered the dll it but I get the following error:

An exception occurred when instantiating a Com object.

--------------------------------------------------------------------------------
Details:
Error Detail:The cause of this exception was that:
coldfusion.runtime.com.ComObjectInstantiationException: An exception occurred
when instantiating a Com object..

Can ColdFusion instantiate a PowerBuilder object?

Thanks for your help!
ksmith - 29 Mar 2006 12:44 GMT
You must make sure all the DLLs that your powerbuilder object are in the java
library path.  This should include the PowerBuilder runtime at a minimum
(pbvm70.dll for PB7).

You edit the jvm.config file for CFMX.  Enter the appropriate directory:
# where to find shared libraries
java.library.path=c:/yourPBRuntimeDir,...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.