Click here to Skip to main content
15,891,136 members
Home / Discussions / COM
   

COM

 
QuestionHow do I create a managed com object with VS03? Pin
Dan Neely23-Jan-08 5:08
Dan Neely23-Jan-08 5:08 
AnswerRe: How do I create a managed com object with VS03? Pin
User 21559724-Jan-08 0:20
User 21559724-Jan-08 0:20 
GeneralActiveX Control Pin
sv1422-Jan-08 21:41
sv1422-Jan-08 21:41 
GeneralRegarding User defined services.. Pin
tasumisra21-Jan-08 19:57
tasumisra21-Jan-08 19:57 
QuestionCall of COM server crashes with Access Violation Pin
MasterD21-Jan-08 5:49
MasterD21-Jan-08 5:49 
GeneralRe: Call of COM server crashes with Access Violation Pin
MasterD22-Jan-08 2:54
MasterD22-Jan-08 2:54 
QuestionHow to read Excel file & save data in array........... Pin
student49118-Jan-08 11:19
student49118-Jan-08 11:19 
GeneralClass Not Registered Pin
ritz123416-Jan-08 19:04
ritz123416-Jan-08 19:04 
Hello Masters!

I am using VC.NET 2003.
In my project i want to use a xyz.dll which was written in VB 6.0.

In my VC.NET Project i use the code as shown below.

<br />
<br />
#import "MyTapi.dll"<br />
<br />
HRESULT hr;<br />
MyTapi::_Class1Ptr IPtr;<br />
hr=IPtr.CreateInstance(__uuidof(MyTapi::_Class1));<br />
<br />


The dll MyTapi.dll i've copied it in the current working folder as well in system32 and i've registered MyTapi.dll using regsvr32 on command prompt it registeres successfully.

But in the code above hr=Class Not Registered when I wan't to create intereface pointer of _Class1 Cry | :((

Thanks in Advance.

ritz123
Questionhow to open Existing Excel file .... Pin
student49116-Jan-08 7:37
student49116-Jan-08 7:37 
QuestionWhat is the WebBrowser control? Pin
keniagm16-Jan-08 5:59
keniagm16-Jan-08 5:59 
GeneralRe: What is the WebBrowser control? Pin
gottimukkala31-Jan-08 0:03
gottimukkala31-Jan-08 0:03 
GeneralRe: What is the WebBrowser control? Pin
Catherine Sea15-Feb-08 15:28
Catherine Sea15-Feb-08 15:28 
GeneralRe: What is the WebBrowser control? Pin
keniagm18-Feb-08 2:19
keniagm18-Feb-08 2:19 
GeneralCOMUNICATION BY RS232! Pin
cute_noel14-Jan-08 0:31
cute_noel14-Jan-08 0:31 
GeneralWrong forum Pin
CPallini14-Jan-08 3:20
mveCPallini14-Jan-08 3:20 
GeneralApplyTemplateType()... Pin
student49112-Jan-08 9:12
student49112-Jan-08 9:12 
QuestionHow to call Dot net Web-Services in php/Java ? Pin
alisolution11-Jan-08 21:13
alisolution11-Jan-08 21:13 
AnswerRe: How to call Dot net Web-Services in php/Java ? Pin
Catherine Sea15-Feb-08 15:25
Catherine Sea15-Feb-08 15:25 
GeneralConvert CString to BSTR Pin
mandanani10-Jan-08 20:05
mandanani10-Jan-08 20:05 
GeneralCross Post? Pin
CPallini10-Jan-08 22:10
mveCPallini10-Jan-08 22:10 
QuestionHow to draw Cutomized charts in Excel 2007....... Pin
student4919-Jan-08 4:12
student4919-Jan-08 4:12 
Generalerror C2259 Pin
Krishnatv8-Jan-08 18:35
Krishnatv8-Jan-08 18:35 
AnswerRe: error C2259 Pin
Lim Bio Liong9-Jan-08 0:20
Lim Bio Liong9-Jan-08 0:20 
GeneralRe: error C2259 Pin
Krishnatv9-Jan-08 17:53
Krishnatv9-Jan-08 17:53 
GeneralRe: error C2259 Pin
Lim Bio Liong9-Jan-08 19:35
Lim Bio Liong9-Jan-08 19:35 

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.