Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old February 10th, 2003, 09:22 AM
CaptainRantflap CaptainRantflap is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 2 CaptainRantflap User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to CaptainRantflap
Question Creating COM IN .net

I am new to .net, being a vb6.0 developer. I am trying to compile a .net class to use as a com dll in a vb6.0 project, but i am unable to work out how to do so. The Dll created works fine as a reference in a new .net project, but vb6 wont allow you to pick it on the references dialog box.

Any ideas?

Simon.

Reply With Quote
  #2  
Old February 11th, 2003, 04:37 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
have you run regsvr32 on the dll?

Reply With Quote
  #3  
Old February 11th, 2003, 04:42 AM
CaptainRantflap CaptainRantflap is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 2 CaptainRantflap User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to CaptainRantflap
Yes, i get the following message

c:\.net projects\ErgeneralObjects\obj\debug\ergeneralObjec ts.dll was loaded, but the dllRegisterserver entry point was not found.

DllRegisterServer may not be exported, or a corrupt version of c:\.net projects\ErgeneralObjects\obj\debug\ergeneralObjec ts.dll may be in memory. COnsider using PView to detect and remove it.

I am sure i am doing something wrong at the project level, cause the code created would work fine in vb6.

Reply With Quote
  #4  
Old February 11th, 2003, 04:56 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
In that case, you need to compile the object using, i think, the /t:library switch. Check the csc help for more info (csc /?).


Last edited by stumpy : February 11th, 2003 at 05:05 AM.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > Creating COM IN .net


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway