Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / December 2005

Tip: Looking for answers? Try searching our database.

Problem creating web service wrapper for VB6 COM DLL that calls C++ DLL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike K - 07 Dec 2005 16:52 GMT
Howdy,

I'm trying to wrap an existing VB 6 COM DLL as a VB.NET 2003 web
service.  I was able to create web methods for each of the COM DLL's
methods I want to expose, but the one method in the COM DLL that
subsequently calls a C++ DLL fails.  I get an error from the VB6 DLL:
ERROR: (453) Can't find DLL entry point PPD in MyDLL32.dll

The same method call works fine if I call the COM DLL from a compiled
VB6 client application.

I get the same DLL entry point error if I try to use the client VB6 app
in the VB6 IDE (COM DLL is alway compiled, never run in the VB6 IDE).

I'm not sure if VB.NET web services behave the same as the VB6 IDE in
some way, but essentially, I need find a way to make it work.

Any suggestions (other than re-write the C++ DLL) will be appreciated.

Thanks
Mike
Mike K - 07 Dec 2005 20:07 GMT
Uh.  Nevermind.

Used filemon to figure out where the webservice was looking for the C++
DLL and discovered another version of the C++ DLL that was missing the
entry point I had specified.

I guess I was confused by the places that the webservice did look for
the C++ DLL.  It did not look in the
\inetpubs\wwwroot\<webservicename>\ directory, which is where it found
the COM DLL.  It checked the framework directory and the rest of my
environment path variable, but not in the actual webservice directory.
Oh well.  Live and learn.

Cheers,
Mike

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.