Libreria dll VB import delphi
es compatible una dll realizada en visual basic con delphi ??
siempre da error al llamar a la función. function cobrar(decTotalAmount :real; UserName,ServerIpAddress, ServerName, TicketNumber,outInsertedDetail: string;outInsertedAmount:integer;outChangeDetail:string;outChangeAmount:integer):string; stdcall external 'PayStation.dll' name 'cobrar'; en VB Public Function iniciar(ByVal decTotalAmount As Decimal, ByVal UserName As String, ByVal ServerIpAddress As String, ByVal ServerName As String, ByVal TicketNumber As String, ByRef outInsertedDetail As String, ByRef outInsertedAmount As Integer, ByRef outChangeDetail As String, ByRef outChangeAmount As Integer) As DialogResult Imports PayStation Dim f As New PayStation.Cobrar Dim result As DialogResult = f.iniciar(Me.txtresult.Text, "PayStation", ip, My.Computer.Name, numOperacion.ToString, outInsertedDetail, outInsertedAmount, outChangeDetail, outChangeAmount) Muchas gracias por vuestros comentarios |
Cita:
Recuerda poner los tags al código fuente, ejemplo: Gracias :) |
de acuerdo, muchas gracias.
|
Echa un vistazo a estos enlaces:
http://www.delphibasics.info/home/de...ngdllsindelphi http://www.tek-tips.com/viewthread.cfm?qid=572723 Espero que te sirvan. |
La franja horaria es GMT +2. Ahora son las 17:50:41. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi