- Rick Wolfgang
- PowerBuilder
- Monday, 6 January 2020 03:42 PM UTC
I am having trouble creating a GUID on my executable.
It works fine in development but it fails when I run it on an executable on any machine that I do not have
PB installed.
OLEObject myoleobject
myoleobject = CREATE OLEObject
PBObject = CREATE oleObject
ll_result = PBObject.ConnectToObject &
("PowerBuilder.Application")
ll_result = PBObject.ConnectToNewObject &
("PowerBuilder.Application")
ll_result = PBObject.GenerateGUID(REF ls_GUID) //this is where it fails on the executable.
I do have the rtcrt4.dll in the path. When i try it in an older version of powerbuilder I get a -2 result.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.