Author Topic: hi,how i can use dll in qb64 like vb6 ??  (Read 340 times)

Atabey72

  • Newbie
  • *
  • Posts: 3
hi,how i can use dll in qb64 like vb6 ??
« on: August 12, 2017, 08:48:22 am »
hi ,

there is my codes in vb6 :

Private Declare Function Login Lib "XXXX.dll" (ByVal ModuleID As String, ByVal DeviceParameter As String) As String
Private Declare Function CheckLicence Lib "XXXX.dll" (ByVal SessionID As String, ByVal LicenceKey As String) As String

 Public Property Get MyCheck() As String
   
    session_id = Login("Modul No", "Device Paremeter") ' modul and  DeviceParameter  is string constant
    MyCheck = CheckLicence(session_id, "New Codes")  ' New Codes is a very long string  (120 charecter) constant
 
     End Property


how can i write tihs codes in QB64 ???

Ashish

  • Hero Member
  • *****
  • Posts: 518
  • Eat.... Sleep.... CODE.... Repeat.....
if (Me.Success) {Me.Improve();} else {Me.TryAgain();}

aKFrameWork - http://bit.ly/aKFrameWork
p5js.bas - http://bit.ly/p5jsbas
Menu System - http://bit.ly/guiMenuBar

OpenGL Demos - http://bit.ly/openGLdemos

Clippy

  • Hero Member
  • *****
  • Posts: 19397
  • I LOVE π = 4 * ATN(1)    Use the QB64 WIKI >>>
    • Pete's Qbasic Site
QB64 WIKI: Main Page
Download Q-Basics Demo: Q-Basics.zip
Download QB64 BAT, IconAdder and VBS shortcuts: QB64BAT.zip
QB64 SDL