"Andr�-Philippe Vachon" <[EMAIL PROTECTED]> wrote: >I've built a Dll in labview 6.1. Using a CallLibrary node in labview >i can call and it works fine. > >I would like to use it in ASP code. In order to perform this i need >to register the Dll. I've tried to create an installer, but still i >get an error message when i execute the regsvr32 command. > >The error says: >MyDll.dll was loaded, but DllRegisterServer entry point was not found >DllRegisterServer may not be exported, or a corrupt version of MyDll.dll >may be in memory. Consider using Pview to detect and remove it > >as anyone tried and succeed in registering a dll on Win2k?
I don't think LabVIEW DLLs implement self registering. There is also not much DllRegisterServer could do other than registering the LabVIEW active X runtime engine which should be automatically registered when you install the DLL the first time. A LabVIEW DLL itself does not implement any other Active X server component but only a function library, so not sure what DllRegisterServer() could possibly do for that. You either have to use LoadLibrary(), GetProcAddress() and co in ASP (not sure how that would work, never even looked at ASP) or you could turn your DLL into a simple LLB (LabVIEW VI Library) and use the runtime engines Active X server interface instead to load, execute, and call the the VIs in the LLB. Rolf Kalbermatter CIT Engineering Nederland BV tel: +31 (070) 415 9190 Treubstraat 7H fax: +31 (070) 415 9191 2288 EG Rijswijk http://www.citengineering.com Netherlands mailto:[EMAIL PROTECTED]
