Problem using Type Library in vc++
I am using redemption type library in VC++ (VS6) Application.
its working amazing on my PC.
but when i run the exe on some other machine it gives me error.
As REGDB_E_CLASSNOTREG thought redemption is registered over there.
and the program crash
but when i compile my code on the other machine it works very well.
And the exe created on that machine does not work on my machine.
(I do have redemption registered)
i.e in order to run exe i need to compile code on that machine only...
i m using Redemption 4.7
I do registered the dll properly and got the Success Message as well
but the problem is very weird.
suppose there are two PCs 'A' and 'B'.
when i compile code on PC 'A' it works very well on PC 'A'
but this compiled EXE on PC 'A' donot work on BC 'B'
And when I compile code on PC 'B' it works very well on it...
but doesn't work on PC 'A'.....
that means I need to compile the code on every machine i intend to run my exe(practically impossible)
THE PROBLEM IS THAT
I could not create redemption session on other machine.
I am using VC++ (VS6)
this is the piece of code
COleVariant covOptional((long) DISP_E_PARAMNOTFOUND, VT_ERROR);
// SESSION DECLARATION
//function to create session.
// And here i get Error
// only if exe not compiled on the same machine
// else it works very well
any help would be appreciated.
plz suggest where I m going wrong.
or am i using the correct interface or not??
|All times are GMT +5.5. The time now is 10:20.|