INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

DLL created with VB .NET (COM Class) won't work

DLL created with VB .NET (COM Class) won't work

(OP)
I'm trying to create a basic DLL in .NET and use a function from it in Centura.  I created the DLL, registered it using regasm.exe (not sure if necessary as .NET claims it does it automatically), and created an .APL file for it.  I then included the APL file as a Library in my Centura application.  When I try to use the function from the DLL, however, it gives me the following error:

"Unrecoverable Error: This External Function can't be found.  Check the DLL and Ordinal Number."

Is Centura unable to read DLL files created in .NET even when it was intentionally created as a COM DLL?  Any help is appreciated.

RE: DLL created with VB .NET (COM Class) won't work

(OP)
Strange.

I continued messing around and decided to create a Visual C++ DLL.  Using the same function, naming conventions, and implementation in Centura; it works!

Not exactly sure why a VB dll wouldn't work but a C++ one would, but my problem is solved.

RE: DLL created with VB .NET (COM Class) won't work

Vary helpfull i'm looking to activex dll for guptura? C++ is not on my computer ill try look for a programer software. good too know visual basics net won"t go.

much thank!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close