I'm not sure what model is the d-link access point, but you can use a 'crossover' ethernet cable.
Normal ethernet cables (looking at the bottom of the plug) are wht/org,org,wht/grn,blu,wht/blu,grn,wht/brn,brn
A crossover ethernet cable is (looking at the bottom of the plug) wht/grn,grn,wht/org,blu,wht/blu,org,wht/brn,brn
You switch the transmit and receive pairs (orange=Tx, green=Rx) and you can connect two ethernet cards 'back to back' and share resources on two machines without a hub/switch/router. Hope this helps. If you can't make your own ethernet cable, you could cut one open and connect the white/orange wire to the white green on the other half, the orange to the green, etc. You only need the orange and green pairs for 10-base T, the rest of the wires are just buffer wires that don't carry any data.