Comments (2)
The flag was a temporary workaround so RegisterTypeLib wouldn't register 3rd party interfaces (i.e. all of them in tbShellLib), as that call would fail, causing ActiveX control builds to fail.
It's no longer neccessary since tB now has a custom replacement for that function controlled by the [ ComImport ]
attribute, but the default value is not registering so that didn't need to be added.
So [ OleAutomation(False) ]
tags can be removed, but the vast majority of interfaces shouldn't be, as they're not part of the official definitions. Specifically, ITypeInfo is not marked oleautomation in the SDK headers, so the attribute is correct. oleautomation=true would only be found on things like the shell automation objects like IWebBrowser, but it shouldn't be necessary to use them.
from windevlib.
Thanks, I didn't realise there was an SDK standard you were working to and that of course makes sense. For some reason it's still showing up in my ActiveX Dll and I can make an ITypeLib
variable in VBA no issue, so maybe I'm misunderstanding what it does anyway.
e.g.
[ AppObject ]
Public Class TypeLibEntryPoints
Public Function GetExtendedModuleAccessor(ByVal moduleName As String, ByVal proj As VBProject, Optional ByRef outPrivateTI As tbShellLib.ITypeInfo) As Object
Return API.GetExtendedModuleAccessor(moduleName, proj, outPrivateTI)
End Function
End Class
Compiles fine and from VBA I can interact with the ITypeInfo no problem
from windevlib.
Related Issues (20)
- OPENFILENAME[AW] UDTs incorrect HOT 1
- ShowWindow function triggering error HOT 1
- GdipFillClosedCurve2 and GdipFillClosedCurve2I declarations HOT 1
- GdipGetLineColors has different call signatures for 32-bit versus 64-bit HOT 4
- Incorrect argument for GdipDrawImagePointsRect and GdipDrawImagePointsRectI API functions HOT 1
- Non-aliased version of RtlMoveMemory? HOT 2
- CreateBitmap Function in "gdi32" Library HOT 3
- WIC Proxy Functions? HOT 5
- DeclareWide version of GetWindowTextW HOT 18
- WDL Conversion Question HOT 5
- 4 more WIC proxy functions HOT 2
- CryptBinaryToString should be DeclareWide? HOT 6
- A few more potential anomalies HOT 2
- Broken A/W/Alias pattern HOT 2
- More A/W/DeclareWide Alias pattern anomalies HOT 3
- URLDownloadToCacheFileW and URLDownloadToFileW HOT 4
- GetAsyncKeyState and GetKeyState Argument Type HOT 3
- Duplicate definition: WOW64_LDT_ENTRY HOT 3
- SHUpdateImageA and aliased version of SHUpdateImage should have String argument? HOT 1
- SHCreateItemFromParsingName overload? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windevlib.