PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Titan
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 07-17-2007, 07:25 AM
hetaldp's Avatar
VIP Member
Offline
Pocket PC: HTC Touch
Carrier: Reliance
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
  #32 (permalink)  
Old 07-17-2007, 09:45 AM
fronz's Avatar
PPCGeeks Regular
Offline
Pocket PC: Omnia
Carrier: cricKet
Threadstarter
 
Join Date: Dec 2006
Posts: 52
Reputation: 5
fronz is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
WOW \/ Your on the right track!!!! what software created that ?
__________________
HTC VOGUE w/cricket EVDO
HTC Tilt ...jus for show-n-tell
HTC Titan w/cricKet EVDO
Reply With Quote
  #33 (permalink)  
Old 07-17-2007, 10:23 AM
fronz's Avatar
PPCGeeks Regular
Offline
Pocket PC: Omnia
Carrier: cricKet
Threadstarter
 
Join Date: Dec 2006
Posts: 52
Reputation: 5
fronz is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
is that .net? were can I get it?
Reply With Quote
  #34 (permalink)  
Old 07-17-2007, 10:25 AM
fronz's Avatar
PPCGeeks Regular
Offline
Pocket PC: Omnia
Carrier: cricKet
Threadstarter
 
Join Date: Dec 2006
Posts: 52
Reputation: 5
fronz is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
excellent progress, you have any ideas about the errors
Reply With Quote
  #35 (permalink)  
Old 07-17-2007, 11:17 AM
Vinny's Avatar
PPCGeeks Regular
Offline
Pocket PC: EVO 4G
Carrier: Sprint
Location: Texas
 
Join Date: Jul 2007
Posts: 56
Reputation: 0
Vinny is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
I am assuming "5407309929" is your phone number? Have you tried it with your msl code? Or as GetSPC() without any parameters? Or, I know there is a lot of "ors", they could be returning the value of the SPC as parameter and an error code from the return.
Reply With Quote
  #36 (permalink)  
Old 07-17-2007, 11:18 AM
Vinny's Avatar
PPCGeeks Regular
Offline
Pocket PC: EVO 4G
Carrier: Sprint
Location: Texas
 
Join Date: Jul 2007
Posts: 56
Reputation: 0
Vinny is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by fronz
is that .net? were can I get it?
without paying a crapload of money.. go for visual studio express...
Reply With Quote
  #37 (permalink)  
Old 07-17-2007, 12:16 PM
fronz's Avatar
PPCGeeks Regular
Offline
Pocket PC: Omnia
Carrier: cricKet
Threadstarter
 
Join Date: Dec 2006
Posts: 52
Reputation: 5
fronz is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
thnx vinny. are you having any luck? what else if anything is needed to make some more progress, I have a mogul at our disposal
Reply With Quote
  #38 (permalink)  
Old 07-18-2007, 03:38 AM
hetaldp's Avatar
VIP Member
Offline
Pocket PC: HTC Touch
Carrier: Reliance
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)
Nothing !!!

The Post have been Deleted
Reply With Quote
  #39 (permalink)  
Old 07-18-2007, 12:36 PM
fronz's Avatar
PPCGeeks Regular
Offline
Pocket PC: Omnia
Carrier: cricKet
Threadstarter
 
Join Date: Dec 2006
Posts: 52
Reputation: 5
fronz is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
check the patch ppst file. i believe it involved in the proccess also
Reply With Quote
  #40 (permalink)  
Old 07-18-2007, 02:13 PM
isosdcftp's Avatar
N00b
Offline
Pocket PC: **
Carrier: **
 
Join Date: Jun 2007
Posts: 40
Reputation: 20
isosdcftp is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
I've looked at the code for GetSPC and it looks like it takes 2 parameters, not just one. The function starts like this
Code:
STMFD   SP!, {R4-R8,LR} - store register values
SUB     SP, SP, #0xA0 - initialize stack
MOV     R4, R0 - store parameter 1 to R4
MOV     R7, R1 - store parameter 2 to r7
So, there is another parameter that is needed, I'm going too look at the rest of the files today if I have enough time. Maybe I can figure out what those parameters are.

Also, I'm new to the CDMA scene, I'm from IDEN originally. Is there a good faq or text available to learn of what all these codes/acronyms are used for?

EDIT: Parameter 1 looks to be a structure, where the first dword is a pointer to a string of '1234', and the second dword is NOT 0.
Code:
.text:0010251C                 LDR     R1, =a1234_0    ; char * - Load address of string '1234'
.text:00102520                 LDR     R0, [R4]        ; char * - Load first DWORD in parameter1's structure
.text:00102524                 BL      strcmp - Compare both Strings
.text:00102528                 CMP     R0, #0 - Check return Value
.text:0010252C                 BNE     ReturnFALSE - If the strings are not the same jump to return 0
.text:00102530                 LDR     R0, [R4,#4] - load second dword in parameter1's structure
.text:00102534                 CMP     R0, #0 - check if 0
.text:00102538                 BEQ     SetErrorTo_0x1D30C_AndReturn - jump to set last error and return
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Titan


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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 11:41 AM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com