Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Code Samples & Tips > Additional Libraries
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.


LizMa LizenzManager for PocketPC


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-03-2009, 12:02 PM
Amalkotey's Avatar
Knows the basics
 
Join Date: Feb 2009
Location: Oberhausen, Germany
Posts: 65
Send a message via AIM to Amalkotey Send a message via Skype™ to Amalkotey
Default LizMa LizenzManager for PocketPC

Moin, Moin,

ich möchte euch meine Librarie "LizMa LizenzManager for PocketPC" vorstellen. LizMa berechnet einen Serial-Code, damit man Software für einen bestimmten Anwender registieren kann.

Zur Berechnung des SerialCodes werden fünf Parameter übergeben:
  1. Lizenz-Nummer als String
  2. ProgrammNamen als String
  3. Anwendernamen als String
  4. eMail-Adresse des Anwenders als String
  5. Kaufdatum als String
Über den Konstruktor wird das Passwort übergeben, welches zum Password-Schlüssel berechnet wird. Wird das Password nicht angegeben, wird automatisch die IMEI verwendet.

Damit man einen Lizenzschlüssel berechnen kann, habe ich das Programm "MakeKey.exe" erstellt. Dieses ist selbsterklärend.

Weiter Informationen entnehmt bitte der Hilfe und dem Demo-Programm.

Freundliche Grüsse
Amalkotey


Hello,

I would like to introduce my Librarie "LizMa licence managers for PocketPC" to you. LizMa calculates a serial code so that one can register software for a certain user.

For the calculation of the serial code five parameters are submitted:
  1. licence number as a string
  2. program names as a string
  3. user names as a string
  4. e-mail address of the user as a string
  5. purchase date as a string
About the constructor the password which is calculated to password key is submitted. If this becomes password not given, the IMEI is used automatically.

So that one can calculate a license key, I have made the programme "MakeKey.exe". This is self-explanatory.

Please, information gathers from the help and the demo programme far.

Best regards
Amalkotey

_
Attached Files
File Type: zip LizMa LizenzManager.zip (182.8 KB, 15 views)
__________________
Software developer for PC, Smartphone and PocketPC
Certifies when MCP, MCSA and Cisco CCMA
----------------------------------------------------
visit: http://www.esdaso.de/
----------------------------------------------------
Devices: Samsung SGH-i900 Omnia / Dell Axim X30

Last edited by Amalkotey : 10-17-2009 at 08:45 PM.
Reply With Quote
  #2 (permalink)  
Old 09-03-2009, 10:41 PM
Amalkotey's Avatar
Knows the basics
 
Join Date: Feb 2009
Location: Oberhausen, Germany
Posts: 65
Send a message via AIM to Amalkotey Send a message via Skype™ to Amalkotey
Default Update auf V1.04 / 1.01.

Moin, Moin,

ich Librarie "LizMa LizenzManager for PocketPC" erweitert. LizMa ´ermittelt in der Klasse LizMA jetzt auch die IMSI-Nummer. Des Weiteren wurde eine weitere Klasse hinzugefügt mit den Namen "SIM". Die Klasse SIM hat nachfolgenden Methoden:
  • Ermittlung der Mobilfunk-Rufnummer von der SIM-Karte;
  • Ermittlung des Providers von der SIM-Karte;

Den Download-Link findet ihr in Post #1. Viel Erfolg bei euren Entwicklungen.

Mit freundlichen Gruss
Amalkotey


Hello,

i Librarie "LizMa licence manager for PocketPC" enlarged. The IMSI number investigates LizMa ' in the class LizMA now, too. Furthermore another class was added with the names "SIM". The class SIM has following methods:
  • determination of the mobile telephone phone number of the SIM card;
  • inquiry of the provider of the SIM card;

You find the download link in post #1. Much success in your developments.

best regards
Amalkotey
__________________
Software developer for PC, Smartphone and PocketPC
Certifies when MCP, MCSA and Cisco CCMA
----------------------------------------------------
visit: http://www.esdaso.de/
----------------------------------------------------
Devices: Samsung SGH-i900 Omnia / Dell Axim X30

Last edited by Amalkotey : 09-03-2009 at 10:52 PM.
Reply With Quote
  #3 (permalink)  
Old 10-09-2009, 12:46 PM
Junior Member
 
Join Date: Aug 2009
Posts: 24
Default

hi amalkotey,

ich möchte deine lizma.dll datei zusammen mit samlib.dll aus diesem forum in das koponentenverzeichnis laden. Es kommt aber eine fehlermeldung, die besagt, dass beide dateien den selben schlüssel verwenden würden und so nicht gleichzeitig geladen werden können.

kennst du eine möglichkeit das problem zu beheben?
beide .dll's, separat geladen, funktionieren einzeln schon, nur nicht zusammen.

Vielen Dank
Ben
Reply With Quote
  #4 (permalink)  
Old 10-09-2009, 01:25 PM
Amalkotey's Avatar
Knows the basics
 
Join Date: Feb 2009
Location: Oberhausen, Germany
Posts: 65
Send a message via AIM to Amalkotey Send a message via Skype™ to Amalkotey
Default

Quote:
Originally Posted by BehindA View Post
hi amalkotey,

ich möchte deine lizma.dll datei zusammen mit samlib.dll aus diesem forum in das koponentenverzeichnis laden. Es kommt aber eine fehlermeldung, die besagt, dass beide dateien den selben schlüssel verwenden würden und so nicht gleichzeitig geladen werden können.

kennst du eine möglichkeit das problem zu beheben?
beide .dll's, separat geladen, funktionieren einzeln schon, nur nicht zusammen.

Vielen Dank
Ben
Hallo Ben,

ich habe meine LizMa.dll mit einem neuen Schlüssel compiliert. Downloade bitte die neue Zip-Datei und teste mal durch, ob der Konflikt noch existiert. Ich werde mir gleich mal das Update von Ariel anschauen.

Gruss
Bodo (Amalkotey)
Attached Files
File Type: zip LizMa LizenzManager.zip (90.5 KB, 3 views)
__________________
Software developer for PC, Smartphone and PocketPC
Certifies when MCP, MCSA and Cisco CCMA
----------------------------------------------------
visit: http://www.esdaso.de/
----------------------------------------------------
Devices: Samsung SGH-i900 Omnia / Dell Axim X30

Last edited by Amalkotey : 10-09-2009 at 10:16 PM.
Reply With Quote
  #5 (permalink)  
Old 10-09-2009, 01:43 PM
Junior Member
 
Join Date: Aug 2009
Posts: 24
Default

Quote:
Originally Posted by Amalkotey View Post
Hallo Ben,

ich habe meine LizMa.dll mit einem neuen Schlüssel compiliert. Downloade bitte die neue Zip-Datei und teste mal durch, ob der Konflikt noch existiert. Ich werde mir gleich mal das Update von Arel anschauen.

Gruss
Bodo (Amalkotey)
Hallo Bodo,

Leider immer noch das selbe Problem.
Errormeldung:
An error occured. Ein Element mit dem gleichen Schlüssel wurde bereits hinzugefügt.

Die andere .dll findest du hier:
SamLib - Basic4ppc and Samsung Mobile Phones
Reply With Quote
  #6 (permalink)  
Old 10-09-2009, 02:33 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 3,357
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

I think the the conflict is between with LizMA.My.Resources.Resources in LizMa.dll and BounceDemo.Properties.Resources in SamLib.dll. Basic4ppc appears to ignore namespace qualifications for library objects.

It looks like LizMa is written in VB which automatically puts two extra Namespaces into each assembly. Resources is in one of these which I don't think you can stop. SamLib.dll appears to have been written in C# and Resources added explicitly by Arial.

This problem also arises if two libraries both wrriten in VB are added to a project, and in this case I don't see a way round it (except to switch to using C# ). Perhaps Erel or Arial can comment if they read this.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
  #7 (permalink)  
Old 10-09-2009, 03:13 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 4,533
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Currently Basic4ppc ignores the namespace as agraham wrote.
I will ask Ariel to check if these resources are really required. I guess that it is not required.
__________________
Basic4ppc reference list
Reply With Quote
  #8 (permalink)  
Old 10-09-2009, 04:29 PM
Junior Member
 
Join Date: Aug 2009
Posts: 24
Default

Quote:
Originally Posted by Erel View Post
Currently Basic4ppc ignores the namespace as agraham wrote.
I will ask Ariel to check if these resources are really required. I guess that it is not required.
Thanks so far,
i'm anxious to your solution!
Reply With Quote
  #9 (permalink)  
Old 10-09-2009, 09:06 PM
Ariel_Z's Avatar
Basic4ppc Veteran
 
Join Date: May 2009
Posts: 243
Default

I will post a solution tomorrow - I guess about 12 - 20 hours from now.
Anyway it is my fault for having the Resources object left there.
Reply With Quote
  #10 (permalink)  
Old 10-10-2009, 03:32 PM
Ariel_Z's Avatar
Basic4ppc Veteran
 
Join Date: May 2009
Posts: 243
Default

Fixed - new version uploaded on the first post here:
SamLib - Basic4ppc and Samsung Mobile Phones
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
AT Command in PocketPC reny1978to Questions & Help Needed 1 04-26-2009 11:22 AM
how to get telephone number of your own Pocketpc cotralis Questions & Help Needed 2 09-09-2008 04:49 PM
how to connect SQLlite on pocketpc thaidelphi Questions & Help Needed 1 08-05-2008 05:01 AM
Problem of Getpixel on PocketPC 2000 and PocketPC 2003 hung Bug Reports 3 08-21-2007 01:46 AM
How to identify each pocketpc differently hung Questions & Help Needed 3 07-24-2007 10:05 AM


All times are GMT. The time now is 02:35 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0