Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > ASP call VB then call cobol dll


Reply
 
Thread Tools Display Modes
  #1  
Old 05-21-2004, 07:56 AM
CodeButcher CodeButcher is offline
Newcomer
 
Join Date: May 2004
Posts: 2
Default ASP call VB then call cobol dll


I am building an ASP on a server. I need to call a cobol DLL to process entered data and return the results to the page.

The ASP succeeds in calling the VB wrapper, but the wrapper returns

WrapEXINCOR error '800a0035'
File not found: Kypos\EXINCOR.DLL

Kypos is a virtual directory with an actual full path name of C:\KYPOS

The DLL is there, and the ISS permissions are set such that web applications should be able to execute them (unless I have missed something)

I am using VB6(SP5)

Here is the code from my cls form.

Private Declare Sub JMPCINT2 Lib "f3biprct.dll" ()
Private Declare Sub JMPCINT3 Lib "f3biprct.dll" ()
Private Declare Sub ADJCLAIM Lib "Kypos\EXINCOR.DLL" (Lactcode As String, Lclmrec As String)


Private Sub Class_Initialize()

Call JMPCINT2

End Sub

Private Sub Class_Terminate()

Call JMPCINT3

End Sub

Public Function CallExincor(actcode As String, clmrec As String)

Call JMPCINT2

Dim Cactcode As String
Dim Cclmrec As String
Cactcode = actcode
Cclmrec = clmrec
Call ADJCLAIM(Cactcode, Cclmrec)
clmrec = Cclmrec

Call JMPCINT3

End Function


Any help greatfully appreciated.
Reply With Quote
  #2  
Old 05-21-2004, 08:09 AM
00100b's Avatar
00100b 00100b is offline
Martian In Disguise

Retired Moderator
* Guru *
 
Join Date: May 2003
Location: Minneapolis, MN
Posts: 9,566
Default

Try specifying the actual full path in the API declaration instead of using the virtual directory.
__________________
The only stupid question is the one that goes un-asked.
Reply With Quote
  #3  
Old 05-21-2004, 09:27 AM
CodeButcher CodeButcher is offline
Newcomer
 
Join Date: May 2004
Posts: 2
Default Additional info on ASP -VB -COBOL dll

Quote:
Originally Posted by 00100b
Try specifying the actual full path in the API declaration instead of using the virtual directory.

I am sorry. I should have gone a bit farther with my description.

I have tried using a full path name. I have tried placing the dll in the local directory and refering to it directly. I have tried using the name of the dll both with and without the extension.

I have checked the path in the environment variables and the path is present. I added my local folder to the path when trying to call it locally to no avail.

I have commented the call in the dll and tested it with success, but without the processing of the data. The variable were passed back (with no change of course) and the entire thing worked as expected. The Application that I am passing the data to is a tested system so I just know I am so close I can smell success.

Please .... any further suggestions?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to export a DLL in VB ziadin General 3 08-11-2003 10:19 AM
VB dll from asp to print output on dos printing mode atujain Web Programming 0 08-06-2003 12:05 PM
Loading a Sprite Termor Game Programming 14 12-07-2002 07:37 AM
Database design - Step 1 help required chansen Database and Reporting 5 10-27-2000 05:44 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->