Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET 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 April 14th, 2007, 02:37 AM
Registered User
 
Join Date: May 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Converting VB6 DLL call to asp.net

I need to convert a VB6 application to a ASP.NET web application. The VB6 application call a dll written in C++. The DLL does not get register. Instead, it must be in the same directory as the application.

Below is one of dozens of function calls that need to be convert.

Can someone tell me/explain to me how the code below should be written in ASP.NET?

Thank you,


Private Declare Function swe_azalt Lib "swedll32.dll" _
            Alias "swe_azalt_40" ( _
             ByVal tjd_ut As Double, _
             ByVal calc_flag As Long, _
             ByRef geopos As Double, _
             ByVal atpress As Double, _
             ByVal attemp As Double, _
             ByRef xin As Double, _
             ByRef xaz As Double _
            ) As Long 'geopos must be the first of three array elements







Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use vb6.0 ocx or dll in asp.net 1.1 Pramods ASP.NET 1.0 and 1.1 Basics 1 June 22nd, 2007 06:32 AM
VB6 DLL in ASP.NET 2.0 thenoseknows ASP.NET 2.0 Professional 1 March 2nd, 2007 05:04 PM
How to call VC++ DLL from ASP/ASP.net? leesoon Classic ASP Professional 0 December 9th, 2004 10:06 PM
How to call .net winform from VB6 Cracker999 VB How-To 0 September 5th, 2003 12:09 PM





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