Print Page | Close Window

pvComObject is NULL error

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=17790
Printed Date: 04 May 2024 at 2:01pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: pvComObject is NULL error
Posted By: nikhilkumar
Subject: pvComObject is NULL error
Date Posted: 18 January 2011 at 4:13am
Hi,

on one of the XP machine i'm getting following error "COM object method invocation error. Attempt to use object before it's been initialized, pvComObject is NULL." while opening (dataflex) VDF14.1 application.

same application works fine on other machine so this should be windows machine specific.

studio indicates that it is something to do with codejocks -SigCjW_DockingPane.pkg file.

error is on line "Get ComProperty of (phDispatchDriver(Self)) 5 OLE_VT_BOOL to retVal". if i comment this line then error disappears. i'm using SigCodejock Wrapper 13.2.1 on VDF14.1


    { MethodType=Property DesignTime=False }
    Function ComClosed Returns Boolean
        Boolean retVal
        Get ComProperty of (phDispatchDriver(Self)) 5 OLE_VT_BOOL to retVal
        Function_Return retVal
    End_Function

any idea as to how to resolve this problem.

thanks,
nikhil



Replies:
Posted By: Ian Smith
Date Posted: 20 January 2011 at 5:14am
Hi
 
This is an issue with the VDF SIG Dataflex classes not with the code jock controls. Please repost on the Dataaccess VDF SIG forum ( http://support.dataaccess.com/Forums/forum.php - http://support.dataaccess.com/Forums/forum.php ).
 
The normal cause of errors like this is the COM control not being properly registered on the target computer.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net