PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.c > Re: Very basic Include a function in a program
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: Very basic Include a function in a program

Réponse
 
LinkBack Outils de la discussion
Vieux 25/05/2008, 09h41   #1
Flash Gordon
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Very basic Include a function in a program

Atropo wrote, On 25/05/08 07:15:
> Hi all,
> All that I have done in c is a hello word, but I'm RTFM. I have to
> extract the time from a usb-key from HASP-HL Aladdin. The software
> that came with this brings me the code in c that do this
>
> this is :
>
> hasp_status_t status;
> hasp_time_t time;


<snip>

> So i tried to include in a main but throws a lot of undeclare
> 'hasp_status_t','hasp_time','status','handle' and a lot of parse
> errors too.


<snip>

> how could I accomplish this


I would assume that the library also came with a header which you need
to include which provides declarations for all the times, prototypes for
functions etc. I'm sure if you look at the documentation and/or example
code they tell you what you need to include.
--
Flash Gordon
  Réponse avec citation
Vieux 25/05/2008, 15h38   #2
Atropo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Very basic Include a function in a program

On 25 mayo, 03:41, Flash Gordon <s...@flash-gordon.me.uk> wrote:
> Atropo wrote, On 25/05/08 07:15:
>
> > Hi all,
> > All that I have done in c is a hello word, but I'm RTFM. I have to
> > extract the time from a usb-key from HASP-HL Aladdin. The software
> > that came with this brings me the code in c that do this

>
> > this is :

>
> > hasp_status_t status;
> > hasp_time_t time;

>
> <snip>
>
> > So i tried to include in a main but throws a lot of undeclare
> > 'hasp_status_t','hasp_time','status','handle' and a lot of parse
> > errors too.

>
> <snip>
>
> > how could I accomplish this

>
> I would assume that the library also came with a header which you need
> to include which provides declarations for all the times, prototypes for
> functions etc. I'm sure if you look at the documentation and/or example
> code they tell you what you need to include.
> --
> Flash Gordon


Thanks a lot Flash. I'll look for those headers, but don't have
much hope on their documentation.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h14.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08073 seconds with 10 queries