I had bought a cheap laptop adapter off eBay for my Dell Inspiron 8000 (used in my first carPC setup). the original AC power brick had 3 wires that plugged into the laptop. the eBay adapter I bought used the same 3-pin plug, but only used 2 wires.
so just be aware (depending on the manufacturer) that whil the plug itself will be the same, the wiring behind it may not be. in my case it didn't matter as the laptop still charged even though it was missing the 3rd wire, but in newer laptops it may be a requirement.
you may be better off trying to find a used OEM AC power brick and hack the plug off of that instead. good luck