Matthew, Try doing it to the J.DLL and not to the J Interopt Library like so C:\Windows\SysWOW64>regsvr32 "c:\j602\bin\J.dll"
r/Alex -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Matthew Brand Sent: Thursday, December 31, 2009 6:58 PM To: Programming forum Subject: Re: [Jprogramming] C# .NET COM JDLLServer >>Did you use the regedit.exe in syswow64? I did not that time. I just did though and when I do, there is niether an AppID or an HKEY_CLASSES_ROOT\CLSID entry. I guess this is what is going wrong? But when I run try to register it using: C:\Windows\SysWOW64>regsvr32 "c:\Program Files (x86)\NinjaTrader 6.5\bin\Interop.JDLLServerLib.dll" I get the pop-up error: <begin> The module "c:\Program Files (x86)\NinjaTrader 6.5\bin\Interop.JDLLServerLib.dll" was loaded but the entry-point DllRegisterServer was not found. Make sure that "c:\Program Files (x86)\NinjaTrader 6.5\bin\Interop.JDLLServerLib.dll" is a valid DLL or OCX file and then try again. <end> 2009/12/31 bill lam <[email protected]>: > Did you use the regedit.exe in syswow64? > > ĵaŭ, 31 Dec 2009, Matthew Brand skribis: >> "You must make several entries in the registry in support of >> LocalService. First, add the clsid subkey of the component to >> \HKEY_CLASSES_ROOT\CLSID. Attach an AppID named value to the clsid >> subkey. The text value should be the clsid of the component. Also, >> insert a clsid subkey at \HKEY_CLASSES_ROOT\AppID." >> http://msdn.microsoft.com/en-us/library/ms809975.aspx >> >> In my registery there is no AppID entry for >> 21EB05EA-1AB3-11CF-A2AC-8FF70874C460 (the JDLLServer) but there is an >> entry in \HKEY_CLASSES_ROOT\CLSID. I did not write the field values >> here because there are lots of them but can do if it would be useful. >> >> Could the missing AppID entry be the cause of my problems? I don't >> want to try to add one at this stage because I don't know what I am >> doing :-). >> >> >> Additionaly there are two entries in HKEY_LOCAL_MACHINE: >> >> Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JDLLServer >> Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JDLLServer.3 >> >> With fields: >> >> Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JDLLServer >> \ClSID = >> Name = (Default), >> Type = RWG_SZ, >> Data = {21EB05EA-1AB3-11CF-A2AC-8FF70874C460} >> \CurVer = >> Name = (Default), >> Type = RWG_SZ, >> Data = JDLLServer.3 >> \NotInsertable = >> Name = (Default), >> Type = RWG_SZ, >> Data = (value not set) >> >> Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JDLLServer.3 >> \ClSID = >> Name = (Default), >> Type = RWG_SZ, >> Data = {21EB05EA-1AB3-11CF-A2AC-8FF70874C460} >> \NotInsertable = >> Name = (Default), >> Type = RWG_SZ, >> Data = (value not set) >> >> Thanks, >> Matthew. >> >> 2009/12/31 Oleg Kobchenko <[email protected]>: >> [---=| TOFU protection by t-prot: 180 lines snipped |=---] > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- "There is a 75 per cent chance that Al Gore, during the summer months, could be completely fact-free within five to seven years.” http://www.youtube.com/watch?v=X-5XwlcBqF0&feature=player_embedded http://www.youtube.com/watch?v=t8O-E_GN0Kg&feature=player_embedded ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
