Click here to Skip to main content
15,890,579 members
Home / Discussions / COM
   

COM

 
GeneralRe: Instances of COM Objects Pin
Lim Bio Liong9-Jul-06 21:01
Lim Bio Liong9-Jul-06 21:01 
QuestionCalling COM from C# managed code Pin
sony alex6-Jul-06 0:47
sony alex6-Jul-06 0:47 
QuestionPassing a string from C to VB Pin
Bratis5-Jul-06 22:04
Bratis5-Jul-06 22:04 
AnswerRe: Passing a string from C to VB Pin
peterchen8-Jul-06 5:31
peterchen8-Jul-06 5:31 
Questionerror importing api Pin
nikhil_ag19855-Jul-06 20:04
nikhil_ag19855-Jul-06 20:04 
QuestionBlinking Windowless activex ATL control Pin
emilmih5-Jul-06 11:39
emilmih5-Jul-06 11:39 
QuestionOutlook integration with external address book Pin
Mithin4-Jul-06 6:40
Mithin4-Jul-06 6:40 
QuestionAutomation error while creating a vc com dll object Pin
nikhil_ag19853-Jul-06 23:02
nikhil_ag19853-Jul-06 23:02 
Hi all,
I have trouble with a vc dll com which im using in a vb client...
i've imported a third party ocx and a dll which consists of API functions
(basically its architecture is similar to kernel32.dll) in my vc com dll and
ive used them in other classes.
i wrote a class called myerrorhandling in which has a public method
error_logger
this is the method
<br />
STDMETHODIMP errorhandling::error_logger()<br />
{<br />
	FILE *fptr;<br />
	char error[10]={"ERROR***"};<br />
	fptr=fopen("C:\\Debug.txt","a+");<br />
	fprintf(fptr,error);<br />
	fclose(fptr);<br />
	return S_OK;<br />
}<br />

i get this error when i create an object of the errorhandling class in vb
<br />
Run-time error '-2147024770 (8007007e)':<br />
<br />
Automation error<br />
The specified module could not be found.<br />

infact i get this error while creating an object of any class in the dll
i havnt used any api functions or thirdparty dll objects anywhere in this
class(error handling)...
i created another com dll in vc and added this errorhandling class and it
worked fine.


what could the problem be?
thanks in advance
Nikhil
AnswerRe: Automation error while creating a vc com dll object Pin
nikhil_ag19854-Jul-06 2:55
nikhil_ag19854-Jul-06 2:55 
GeneralRe: Automation error while creating a vc com dll object Pin
_AnsHUMAN_ 4-Jul-06 3:32
_AnsHUMAN_ 4-Jul-06 3:32 
GeneralRe: Automation error while creating a vc com dll object Pin
nikhil_ag19855-Jul-06 20:06
nikhil_ag19855-Jul-06 20:06 
QuestionDebug ActiveX control from C# application Pin
Maddie from Dartford3-Jul-06 21:11
Maddie from Dartford3-Jul-06 21:11 
QuestionHow DCOM is implemented? Pin
jayanthkulkarni3-Jul-06 2:21
jayanthkulkarni3-Jul-06 2:21 
AnswerRe: How DCOM is implemented? Pin
Mike Dimmick3-Jul-06 3:07
Mike Dimmick3-Jul-06 3:07 
QuestionHow to register a UPnP device Pin
Le Saint2-Jul-06 1:41
Le Saint2-Jul-06 1:41 
QuestionActiveX Question, help me. Pin
Shi Zhu29-Jun-06 23:18
Shi Zhu29-Jun-06 23:18 
AnswerRe: ActiveX Question, help me. Pin
peterchen8-Jul-06 5:33
peterchen8-Jul-06 5:33 
QuestionUsing MSHTML/CHtmlView in a thread Pin
Neville Franks29-Jun-06 16:31
Neville Franks29-Jun-06 16:31 
AnswerRe: Using MSHTML/CHtmlView in a thread Pin
Keith Worden30-Jun-06 1:04
Keith Worden30-Jun-06 1:04 
GeneralRe: Using MSHTML/CHtmlView in a thread Pin
Neville Franks30-Jun-06 1:38
Neville Franks30-Jun-06 1:38 
AnswerRe: Using MSHTML/CHtmlView in a thread Pin
peterchen8-Jul-06 5:37
peterchen8-Jul-06 5:37 
QuestionError registering dll Pin
Keith Worden29-Jun-06 7:33
Keith Worden29-Jun-06 7:33 
AnswerRe: Error registering dll Pin
Stephen Hewitt29-Jun-06 14:08
Stephen Hewitt29-Jun-06 14:08 
GeneralRe: Error registering dll Pin
Keith Worden30-Jun-06 0:19
Keith Worden30-Jun-06 0:19 
AnswerRe: Error registering dll Pin
Keith Worden30-Jun-06 0:54
Keith Worden30-Jun-06 0:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.