>This is my first attempt at creating a DLL. Of course it's not going smoothly. I'm getting 1031: User-interface operation not allowed at this time.
>
>I understand that I can't have a user-interface in an in-process DLL. The line of code that it's choking on is:
>
>lnfields = afields(lafields)
>
>What on this line would cause a UI error?
>
>paul
I think Jim is correct. The error method in my COM DLLs write error information out to a text file using text merge. You should also look at COMRETURNERROR().
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer