Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #6037 > unrolled thread
| Started by | Jesus Zertuche <jzertucherodriguez@gmail.com> |
|---|---|
| First post | 2013-10-08 11:38 -0700 |
| Last post | 2013-10-11 10:00 +0000 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Delphi to VO Jesus Zertuche <jzertucherodriguez@gmail.com> - 2013-10-08 11:38 -0700
Re: Delphi to VO Mathias <mathias.hakansson@consultec.se> - 2013-10-10 00:22 -0700
Re: Delphi to VO Mathias <mathias.hakansson@consultec.se> - 2013-10-10 23:45 -0700
Re: Delphi to VO "Joachim Duerr (ADS)" <jojo.duerr@gmx.de> - 2013-10-11 10:00 +0000
| From | Jesus Zertuche <jzertucherodriguez@gmail.com> |
|---|---|
| Date | 2013-10-08 11:38 -0700 |
| Subject | Delphi to VO |
| Message-ID | <184dce3e-0f38-4eef-a257-181fb5d90436@googlegroups.com> |
I have a DLL made with Delphi which includes the following function: function Recupera(Name : string) : TError; stdcall; external 'CFDLib.dll'; what would be the way to be translated into VO ? Thanks in advance...
[toc] | [next] | [standalone]
| From | Mathias <mathias.hakansson@consultec.se> |
|---|---|
| Date | 2013-10-10 00:22 -0700 |
| Message-ID | <1710599a-5fec-44c7-a7f8-fc25dcda6fd0@googlegroups.com> |
| In reply to | #6037 |
Hi Jesus, the problem with this function is that it returns TError which I guess is a pointer to an object. In VO you could recieve the pointer, but it would be hard to investigate the information in the object. Maybe something like this... _dll function Recupera(Name as psc) as ptr pascal:CFDLib.Recupera /Mathias Den tisdagen den 8:e oktober 2013 kl. 20:38:19 UTC+2 skrev Jesus Zertuche: > I have a DLL made with Delphi which includes the following function: > > > > function Recupera(Name : string) : TError; stdcall; external 'CFDLib.dll'; > > > > what would be the way to be translated into VO ? > > > > Thanks in advance...
[toc] | [prev] | [next] | [standalone]
| From | Mathias <mathias.hakansson@consultec.se> |
|---|---|
| Date | 2013-10-10 23:45 -0700 |
| Message-ID | <d67158cd-7d5f-46a8-b901-1f1ed3d437a5@googlegroups.com> |
| In reply to | #6052 |
Sorry, it should be: _dll function Recupera(Name as psz) as ptr pascal:CFDLib.Recupera /Mathias Den torsdagen den 10:e oktober 2013 kl. 09:22:31 UTC+2 skrev Mathias: > Hi Jesus, > > > > the problem with this function is that it returns TError which I guess is a pointer to an object. In VO you could recieve the pointer, but it would be hard to investigate the information in the object. > > > > Maybe something like this... > > > > _dll function Recupera(Name as psc) as ptr pascal:CFDLib.Recupera > > > > /Mathias > > > > Den tisdagen den 8:e oktober 2013 kl. 20:38:19 UTC+2 skrev Jesus Zertuche: > > > I have a DLL made with Delphi which includes the following function: > > > > > > > > > > > > function Recupera(Name : string) : TError; stdcall; external 'CFDLib.dll'; > > > > > > > > > > > > what would be the way to be translated into VO ? > > > > > > > > > > > > Thanks in advance...
[toc] | [prev] | [next] | [standalone]
| From | "Joachim Duerr (ADS)" <jojo.duerr@gmx.de> |
|---|---|
| Date | 2013-10-11 10:00 +0000 |
| Message-ID | <bbq0h4Fbfp5U1@mid.individual.net> |
| In reply to | #6037 |
Jesus Zertuche wrote: >function Recupera(Name : string) : TError; stdcall; external >'CFDLib.dll'; using a string is very specific to Delphi and even inDelphi you need to include additional units (header files) to make it work. I guess that this function is not portable to anything other than Delphi or CBuilder. -- Joachim Duerr, Advantage Presales ADS books available on http://pocketguide.jd-engineering.de
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web