View Single Post
  #31 (permalink)  
Old 07-17-2007, 07:25 AM
hetaldp's Avatar
hetaldp
VIP Member
Offline
Location: Nashik, India
 
Join Date: May 2007
Posts: 286
Reputation: 2236
hetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Imports System.Runtime.InteropServices

Public Class mySPC
<Runtime.InteropServices.DllImport("PPST_Keygen.dl l", EntryPoint:="GetSPC")> Public Shared Function GetSPC1(ByVal src As Double) As Long
' Leave function empty - DLLImport attribute forwards calls to GetSPC to

Private Sub btnGetSPC_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGetSPC.Click
txtSPC.Text = "FAILED"
txtSPC.Text = GetSPC1(5407309929)
End Sub
End Class



I have Created this Program and tried to Import the the Dll and run getSPC Function but Getting Error








Reply With Quote