Skip to content

Commit 851d401

Browse files
author
Harald Radi
committed
changed CLSIDfromProgId to CLSIDfromString
1 parent a98efcd commit 851d401

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/com/COM.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ PHP_FUNCTION(com_load)
521521
obj = (comval *) emalloc(sizeof(comval));
522522

523523
/* obtain CLSID */
524-
if(FAILED(CLSIDFromProgID(ProgID, &clsid)))
524+
if(FAILED(CLSIDFromString(ProgID, &clsid)))
525525
{
526526
/* Perhaps this is a Moniker? */
527527
IBindCtx *pBindCtx;

ext/rpc/com/com_wrapper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ PHP_FUNCTION(com_load)
521521
obj = (comval *) emalloc(sizeof(comval));
522522

523523
/* obtain CLSID */
524-
if(FAILED(CLSIDFromProgID(ProgID, &clsid)))
524+
if(FAILED(CLSIDFromString(ProgID, &clsid)))
525525
{
526526
/* Perhaps this is a Moniker? */
527527
IBindCtx *pBindCtx;

0 commit comments

Comments
 (0)