Im having a strange problem with regsvr32 when registering a DLL.
Get the following error message:
Linking...
Creating library C:\DEV8\cbwbCalculator\Debug\cbwbCalculator.lib and object C:\DEV8\cbwbCalculator\Debug\cbwbCalculator.exp
Embedding manifest...
Registering output...
Project : error PRJ0050: Failed to register output. Please ensure you have the appropriate permissions to modify the registry.
It seems if i start commenting out some global data references that use extern then problem seems to go away - but i have lots of externs.
extern BOOL bIsOLE;
I dont understand why global extern references would cause a problem with regsvr32...
Can you just not use global data references with a COM DLL
Can anybody shed some light on this perplexing problem.
Thanks.