PDA

Click to See Complete Forum and Search --> : Help me with an API declaration please.


Thomas Halsvik
Jun 19th, 2000, 07:21 PM
Can anyone help me complete with this API declaration?

Declare Function rtcCallByName Lib "Msvbvm60.dll"
(AClass As Variant,
Procedure As String,
Something As Long) As Long

As you see I am trying to use an API call to VB6's CallByName to use it with VB5 and/or VBA. The declaration function as it is, crashes when I call it. I am not quite sure of the declaration types of CallByName. Anyone with VB6 can see the types when they fill in the parameters, but I don't have VB6. Can anyone help me solve this?

Jun 19th, 2000, 07:39 PM
Dont cross-post ;)

http://forums.vb-world.net/showthread.php?threadid=20086

Thomas Halsvik
Jun 19th, 2000, 08:27 PM
Hehe. Well. Hard to know which forum to post it. This forum is for those who know the ways of API, while the other is read by more ppl and maybe a higher chance of a reply.
:-)