|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
have you run regsvr32 on the dll?
|
|
#3
|
|||
|
|||
|
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. |
|
#4
|
||||
|
||||
|
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. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > Creating COM IN .net |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|