You are not logged in. This forum allows only logged in users to post. If you want to post in the forum, please log in.
Descargar
Desarrollar
Cuenta
Descargar
Desarrollar
Entrar
Forgot Account/Password
Crear Cuenta
Idioma
Ayuda
Idioma
Ayuda
×
Entrar
Nombre de usuario
Contraseña
×
Forgot Account/Password
Translation Status of Español
Categoría:
Software
Gente
PersonalForge
Magazine
Wiki
Buscar
OSDN
>
Buscar Software
>
System
>
Hardware
>
FeliCa Library
>
Foros
>
Ayuda
>
C#のサンプルで「カード読み取り失敗」エラー
FeliCa Library
Descripción
Project Summary
Developer Dashboard
Página Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Historial
Descargas
List of Releases
Stats
Código Fuente
Code Repository list
Subversion
Ver Repositorio
Incidencia
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
Wiki
FrontPage
Title index
Recent changes
Doc Mgr
List Docs
Communication
Foros
List of Forums
Ayuda (2)
Open Discussion (1)
Mailing Lists
list of ML
Noticias
Foros:
Ayuda
(Thread #18238)
Return to Thread list
RSS
C#のサンプルで「カード読み取り失敗」エラー (2008-04-10 11:05 by
cis05
#35966)
PaSoRiを利用して、SuicaとPASMOからIDを取得するプログラムをつくりたいと考えています。
C# での利用方法
http://sourceforge.jp/projects/felicalib/wiki/CSharp
を確認して、プロジェクトにfelicalib.dllを追加して、C#のサンプルを実行してみたのですが、
public void Polling(int systemcode)
{
felica_free(felicap);
felicap = felica_polling(pasorip, (ushort)systemcode, 0, 0);
if (felicap == IntPtr.Zero)
{
throw new Exception("カード読み取り失敗");
}
}
felicap に0がはいり、throw new Exception("カード読み取り失敗");になってしまいます。
カードはPASMOを利用しているのですが、Pollingまでなら関係ないと考えていたのですが、違うのでしょうか?
WindowsXP(SP2)、VisualStudio2005です。