Wrox Programmer Forums
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 2nd, 2004, 04:19 PM
Authorized User
 
Join Date: Dec 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I noticed another thing

If the program that calls the dll contains a

Public Declare Function multiplicar Lib "proyecto1.dll" _
    (x As Double, y As Double) As Double

the error is 453 (cannot find the entry point "multiplicar"

if I comment the Declare statement out, the error becomes

430, this class doesn't admitt Automation or doesn't addmit the expected interface (or something similar, I am translating from Spanish)

Does it help in getting some light in the problem?

thanks

 
Old January 2nd, 2004, 05:29 PM
Authorized User
 
Join Date: Dec 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It already works.

It was my fault, the reference in the VB code pointed to an old version of the dll, ... I have referenced it back and works as expected...

anyway, using the Public Declare .... still doesn't find the entry point, but doesn't matter, because without that statement it works anyway....

sorry for any inconvenience caused by this stupid mistake of my own






Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating dll prafullaborade General .NET 1 July 4th, 2008 01:50 PM
Creating Active X DLL CoolEJ VB Databases Basics 7 November 30th, 2007 02:29 PM
How to convert .NET dll to COM dll used by VB 6.0 gvprashanth .NET Framework 1.x 0 December 4th, 2006 05:05 AM
Creating a DLL at runtime jai2k Beginning VB 6 1 January 5th, 2005 01:23 PM
creating an activex dll amc VB Components 7 June 25th, 2004 05:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.