[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HashNums 32.dll and Visual Basic 6



PureBytes Links

Trading Reference Links

Emmanuel,

Did you call the DLL before ?

You have to write:

Private declare function getStrNo lib "HashNums32.dll" Alias "getStrNo"
(ByVal or ByRef * as Type) as Type

*you can pass geStrNo's input into the DLL by Value or by Reference
The Alias name is the format in which the functions are exported from the
DLL.
Some DLL compilers export them in upper case format only.

When you test you code in VB6 (before having compiled the EXE file) you have
to put your DLL in c:\windows\system.

Once compiled, it can be in the current directory or
 in C:\windows\ directory
 in C:\windows\system directory
 in C:\windows\system32 directory
in the EXE file directory directory

Greetings from Paris
Philippe
----- Original Message -----
From: "evrard_eng" <evrard_eng@xxxxxxxxxxxxx>
To: <omega-list@xxxxxxxxxx>
Sent: Friday, December 31, 1999 5:23 AM
Subject: HashNums 32.dll and Visual Basic 6


> Hello,
>
>
> I am using the HashNums 32.dll . I woud like to know if somebody does know
> how to use
> the command getStrNo under VB6 ?
>
> I try the example :
>
> Dim buff As String
> buff = String(255, 0)
> X% = getStrNo(objIndexText.text, x, buff)
>
>