My dll wrote in MFC can't register on one pc ,but another can!
-
hi my dll can't register on one pc ,but can register on another pc, why? the error is :" *.dll DllRegisterServer failed ,error code is :0x8007007 " thanks
If this works on one machine but not another check who is logged on. Does the user have Administrator permissions of both machines. If not then registering will not work. 0x8007007 seems to be related to passing too little memory (buffer too small) to some API call or another but it doesn't appear to be documented. Are you 100% sure this is the error code? It's 1 digit shorter than I would have expected for a COM error.
Nothing is exactly what it seems but everything with seems can be unpicked.
-
If this works on one machine but not another check who is logged on. Does the user have Administrator permissions of both machines. If not then registering will not work. 0x8007007 seems to be related to passing too little memory (buffer too small) to some API call or another but it doesn't appear to be documented. Are you 100% sure this is the error code? It's 1 digit shorter than I would have expected for a COM error.
Nothing is exactly what it seems but everything with seems can be unpicked.
AFAIK, you are right! we don't need to register MFC dll!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
-
hi my dll can't register on one pc ,but can register on another pc, why? the error is :" *.dll DllRegisterServer failed ,error code is :0x8007007 " thanks
szcococut wrote:
hi my dll can't register on one pc ,but can register on another pc, why? the error is :" *.dll DllRegisterServer failed ,error code is :0x8007007 " thanks
you don't need to register dll written in MFC. it is the COM dll you have to register.. try placing the DLL in same folder as of Application
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You