![]() |
|
#1
|
|||
|
|||
|
Is it possible to call a visual basic activeX dll from my delphi application? The code below is a dll-function that i want to call from my app, i have no experience with Delphi using dll's so can anyone give me an example how to call this function?
Function AString(ANumber As Long) As String 'not important code End Function Thanks |
|
#2
|
|||
|
|||
|
Hi, I could go through the whole "Calling DLL Procs/Functions" stuff, but Delphi has great help with it, Just Type CallDLL anywhere in a Unit, position the cursor under it and hit Ctrl-F1 to see the fully explained help.
However, it seems to me (and I could be wrong), that this procedure simply converts a Long (Integer) to a String. The delphi Function: IntToStr(Long) will do exactly that with any integers up to 64bit (8 byte) integers. Hope this helped! Ryan |
![]() |
| Thread Tools | |
| Display Modes | |
|
|