>Ok, I was asked to build a dll that can be accessed from a VB program. I built a custom class that has the required code. I marked it as olepublic. I put the class in a project and then built a dll (I chose single threaded). It built a dll file. I wanted to test it from VFP so I ran a program that does a set library to that dll, additive and I get an 'Invalid dll' error.
>
>Did I do something wrong? How will this work being called from VB. It should be called with parameters. I put the code in the Init of the custom class.
>
Judy,
Did you register it via either REGSVR32.EXE or DllRegisterServer()?
George
Ubi caritas et amor, deus ibi est