>> The problem is it expects a structure. I don't know how to do this in VFP.
>
>There's a Microsoft KB article on how to do this (search on "How to pass structures to a dll"). You'll also want to look at Christof Lang's stuct class (in the files section, I think). The structure looks kind of gnarly, but at a quick glance I don't see anything nasty like pointers to other structures or other such headaches.
Mike,
DEVMODE and DEVNAMES are definitely other structures. Doesn't MS have a vision plan? < gd&rvf >
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao