Regarding this D-sub connector.

I have spent hours but cannot find the screw/fastener type used. I need to use mate it to a shell like this to make a cable:

This seems using same type of screw. The datasheet states as 4-40 UNC or M3 but it doesn fit and also the following screw is different than typical M3:

My problem is I cannot find the correct term fo the above screw or faster.
