I found the issue. I put ShareMem as the first unit in comobject library
code. Once I remove the reference of ShareMem, everything is fine.

Regards
Leigh

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Leigh Wanstead
Sent: Thursday, March 27, 2008 2:05 PM
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] RegSvr32 to register com dll issue


Hi Myles,

Thanks for the suggestion. I will try now. ;-)

Regards
Leigh

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Myles
Penlington
Sent: Thursday, March 27, 2008 2:00 PM
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] RegSvr32 to register com dll issue


Specify regsvr32 as the host on the run parameters.
Myles.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Leigh
Wanstead
Sent: Thursday, 27 March 2008 1:51 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] RegSvr32 to register com dll issue

Good afternoon,

I use RegSvr32 to register com dll which I am developing. It always
report
access violation. But the application runs fine talking to the dll
without
any issue. How can I debug and find what is wrong?

TIA

Regards
Leigh


_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with
Subject: unsubscribe

Attention:
This communication is confidential and may be legally privileged.  If you
are not the intended recipient, please do not use, disclose, copy or
distribute it, other than to return it to us with your confirmation that it
has been deleted from your system.

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with
Subject: unsubscribe


_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with
Subject: unsubscribe


_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to