API Set Resolution may loop back to module being loaded
See original GitHub issueThere is a case where a DLL’s API Set reference may resolve to the original DLL. An example is Kernel32.dll!InitializeProcThreadAttributeList, which forwards to api-ms-win-core-processthreads-l1-1-0.InitializeProcThreadAttributeList, which resolves back to Kernel32.dll!InitializeProcThreadAttributeList. This causes the API Set to not actually resolve and results in an error when attempting to call the function that was searched for.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
"module" in the package.json or use the .mjs extension - ...
Using the following command worked for me with node v14.16.1: node --loader ts-node/esm --experimental-specifier-resolution=node index.ts.
Read more >Synchronization | LoopBack Documentation
Synchronization replicates data between client and server using the LoopBack replication API.
Read more >umlaeute/v4l2loopback: v4l2-loopback device
v4l2loopback - a kernel module to create V4L2 loopback devices. This module allows you to create "virtual video devices". Normal (v4l2) applications will ......
Read more >ECMAScript modules | Node.js v18 API
For example, attempting to load ./foo from data:text/javascript,import "./foo"; fails to resolve because there is no concept of relative resolution for ...
Read more >CommonJS modules | Node.js v20.5.1 Documentation
In order to prevent an infinite loop, an unfinished copy of the a.js exports object is returned to the b.js module. b.js then...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@ElephantSe4l Fixed in latest version.
To reproduce:
Program.csto your project:As a workaround, I used GetModuleA and GetProcAddress to get the address of
InitializeProcThreadAttributeList