Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2001, 01:57 AM
Q-smile Q-smile is offline
Junior Member
 
Join Date: Jul 2001
Posts: 5
Default Using Visual Basic ActiveX-DLL

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
Reply With Quote
  #2  
Old 09-16-2001, 09:53 AM
Ryan Ryan is offline
Senior Member
 
Join Date: Feb 2001
Posts: 417
Default RE: Using Visual Basic ActiveX-DLL

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
Reply With Quote
Reply

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 On
HTML code is On

Forum Jump


All times are GMT. The time now is 03:50 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.