flat assembler
Message board for the users of flat assembler.
Index
> Windows > USECOM Example for CommonDialog |
Author |
|
revolution 21 Feb 2008, 00:23
Afterr the call to CoCreateInstance you need to check for errors.
I get a REGDB_E_CLASSNOTREG error returned. So from there any action will cause your app to fail. |
|||
21 Feb 2008, 00:23 |
|
Hicel 21 Feb 2008, 00:44
Thanks. you are right. I updated the code to stop running if Createinstance fails. But why does it fail. The GUID is correct the interface is correct. Hmm COM seems not as easy as I thought.. I bet I must go a complete different way.. any help is welcome.. meanwhile I will try to figure it out
|
|||
21 Feb 2008, 00:44 |
|
Hicel 21 Feb 2008, 06:48
Hmm code updated again. I got it working to show the about box or you can use ShowColor method it works also of the common dialog but still ShowOpen method doesn't work
|
|||
21 Feb 2008, 06:48 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.