Jun Komoda
                                            Jun Komoda
                                        
                                    > * I assumed that the case if "generally interfaces" such as `IStream` is defined statically. > If that happens, the `codegenerator` will stop to define dynamically them, instead import...
Thanks a lot! After posting the sample code snippet, I still gave it some thought. - Overriding the `RemoteWrite` seems out of this issue scope. The raw `RemoteWrite` might be...
Your contribution helps us so much. I found the SO that might help you about `Read` and `RemoteRead`. https://stackoverflow.com/questions/19820999/what-are-the-remoteread-and-remotewrite-members-of-isequentialstream Your code is a great use case for `CreateStreamOnHGlobal` in `comtypes`....
As you say, the only thing that needs to be statically defined in the scope of this issue is `ISequentialStream`. In addition to overriding `RemoteRead`, adding a type-checking-only type hint...
@vasily-v-ryabov Do you think [these changes](https://github.com/enthought/comtypes/issues/474#issuecomment-1407274143) are reasonable to resolve this issue? Even if these changes are acceptable for the project, I think it is out of scope of the...
@jonschz Hi, The `codegenerator` was determining whether the item is one of the known symbols based solely on its name. However, with #529 and #534, the criteria for determining whether...
Is it corrrect? ```py # comtypes\test\test_comserver.py REG_PATH = os.path.join(os.path.dirname(__file__), "TestComServer.tlb") class TestInproc(unittest.TestCase): @classmethod def setUpClass(cls): subprocess.check_output("regsam \"%s\"" % REG_PATH, shell=True) @classmethod def tearDownClass(cls): subprocess.check_output("regsam \"%s\" /unregister" % REG_PATH, shell=True) ```...
To modify code as @matthiasfinger 's suggestion, `test_excel.Test_LateBind` will be failed. ```py ...\comtypes> python -m unittest comtypes.test.test_excel.Test_LateBind.test -vv test (comtypes.test.test_excel.Test_LateBind.test) ... FAIL ====================================================================== FAIL: test (comtypes.test.test_excel.Test_LateBind.test) ---------------------------------------------------------------------- Traceback (most recent...
@matthiasfinger It seems to be still necessary to prepare its own dll or tlb for testing to check the expected behavior for Variant arrays. I think that Excel cell values...
#10118, #10125, #10128, #10130, #10133 and #10137 have been merged and the definition movings are completed. The `CFuncPtr` and the `_FuncPointer` will be addressed within the scope of #8968 and...