FabulaTech Forum (http://www.fabulatech.com/forum)
Serial Port Solution >> Virtual Serial Port Kit >> Building with the NSPK API
(Message started by: rhayek on Aug 10th, 2005, 6:45am)

Title: Building with the NSPK API
Post by rhayek on Aug 10th, 2005, 6:45am
In trying to add the NSPK API to my VC++ project, every time I try to compile after including ApiDll.h, I get two reports of the following error:
error C2653: 'NspkServiceApi' : is not a class or namespace name.

These are the steps I followed to use the NSPK API in my VC++ project:
1. Copied ApiDll.h, ApiDll.dll, and ApiDll.lib into the project's code directory, and copied ApiDll.dll into the debug directory
2. Inserted ApiDll.h into the Header Files folder of the project in the project workspace view
3. In the Project Settings window, clicked the Link tab, and typed "ApiDll.lib" into the Object/Library Modules edit box
4. #included ApiDll.h in my project's cpp file

Is there a step missing from my list? I'd appreciate any help.

Title: Re: Building with the NSPK API
Post by Andrew on Aug 10th, 2005, 7:16am
Please re-download fixed nspkapi.zip file.

Title: Re: Building with the NSPK API
Post by rhayek on Aug 11th, 2005, 6:24am
Where do I download it from? I was given a link to download the version I currently have for trial from Fabulatech.

On a last check before sending this email, the files accessible though the link have not changed.

Title: Re: Building with the NSPK API
Post by Andrew on Aug 11th, 2005, 6:58am
Please use the same download link as was sent you by Kate.

nspkapi.zip file has updated on our website already.