"Brandon Philips" <brandon at sporknet.cjb.net> writes: [ ... ] > ninebutton.dll is my dll and writePacket(int, int) is my function. What did > I do wrong? Appears to be a name-mangling problem. How did you declare your exports? How does the 'writePacket' look when you run: dumpbin /exports ninebutton.dll on it? -- runeb