[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 192
  • Last Modified:

Creating delphi 5 dll for use in vb.aspx Visual Studio 2003

Hi experts,

I'm in the situation that I need functionality written in Delphi 5 in my Visual Basic aspx Files.
I have Delphi 5 code that does compressing, decompressing files and read certain content out of it. (User- ids, rights etc.)

Its a busload of code and we dont want to rewright it in VB. How can I create a short delphi5 dll that I can use in my aspx File?
(New to dll stuff)

I tried to create a sample delphi5 dll and tried to add a reference to this sample dll in my aspx file.
I got the message that it is "not a valid assembly or com component".









0
duke63
Asked:
duke63
  • 2
1 Solution
 
Mohammed NasmanSoftware DeveloperCommented:
You have to write your dll as Com dll, not standard dll
0
 
Mohammed NasmanSoftware DeveloperCommented:
I don't have Delphi 5, but I think you could create com dll as

File > new > other > ActiveX > Com Object

or something similar
0
 
duke63Author Commented:
yes, thanks ;)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now