Re: [info-performer] pfInit() and pfExit()

Date view Thread view Subject view Author view

From: Alexandre Naaman (naaman++at++sgi.com)
Date: 10/21/2005 15:57:22


Hi Erman,

  I would change the first few lines of your code from:

#include <process.h>
#include <pfdu.h>
#include <pf.h>
#include <pr.h>
__declspec(dllimport) int pfInit(void);
__declspec(dllimport) void pfExit(void);

to:

#include <process.h>
#include <Performer/pr.h>
#include <Performer/pf.h>
#include <Performer/pfdu.h>

and don't specify the declspec stuff for pfInit() and pfExit().

Then make sure you add libpf.lib and libpfdu-util.lib to your link
line and you should be in business.

A+,

Alex.


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Oct 21 2005 - 15:59:55 PDT