?
Solved

How to import mscorlib

Posted on 2005-05-12
7
Medium Priority
?
2,489 Views
Last Modified: 2012-06-27
I have code inluding MSCORLIB_TLB in uses, but I got compile error which cannot find the dcu. Does anyone use this before and could you tell me how to import it.  Thanks!
ysimon
0
Comment
Question by:ysimon
  • 3
  • 2
5 Comments
 
LVL 11

Expert Comment

by:calinutz
ID: 13993994
Have you tryed to choose the option Create Unit?
0
 
LVL 11

Expert Comment

by:calinutz
ID: 13994000
From the Component/Import ActiveX wizard ... (after selecting your TLB)..
Cheers
0
 
LVL 11

Accepted Solution

by:
calinutz earned 500 total points
ID: 13994006
0
 

Author Comment

by:ysimon
ID: 13997023
In Delphi 7, I used import typ library, and seleted mscorlib.tlb, then click Create Unit.
It took a long time and no response. I know that mscorlib is belong to .NET framework 1.1,
May be Delphi cannot converts all variable type. Any clue?

ysimon
0
 

Author Comment

by:ysimon
ID: 13999663
Although no response, the unit was created. Now there is no error when compiling.
I cheched the unit .pas file, there are some error messages inside, I am still worry about
if all functions OK when I use mscorlib_tlb.

ysimon
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month9 days, 20 hours left to enroll

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question