🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #731

Re: Updated FrameMaker FDK documentation???

#731
From: Rick_Quatro
Date: Mon, 22 Sep 2008 20:02
87 lines
2412 bytes
I don't know if this will help exactly, but I got some help from Scott Prentice when I switched to VS 2003:

Hi Rick...

Here's what I've added to the code to compile FDK8 apps in VC7 (VS2003) ..

// FDK8 required in VC7
#include <sys/types.h>
#include <sys/stat.h>
int _stat32( const char *path, struct _stat *buffer ) { return
_stat(path, buffer); }
int _wstat32( const wchar_t *path, struct _stat *buffer ) { return
_wstat(path, buffer); }
long _ftol( double );
long _ftol2_sse( double dblSource ) { return _ftol( dblSource ); }

I'm successfully compiling with VC8 (VS2005 Standard) .. I don't know
about the "Express Edition". Note that if you want to build an
import/export client you must use VC8, but you can build regular clients
using older versions of the compiler.

If you need more info, you might want to try the "frame_dev" Yahoo group.

Cheers,

...scott

Scott Prentice
Leximation, Inc.
www.leximation.com
+1.415.485.1892

Rick Quatro wrote: 

      According the FrameMaker 8 FDK Supplement, I can compile FDK 8 clients
      in Visual C++ 2003 (7.1). On page 22, it says to put the following lines
      in the source code of the FDK client:





      extern "C" { long _ftol2(double); long _ftol2_sse(double dblSource) {
      return _ftol2(dblSource); } }





      When I do that and attempt to build the plugin, I get a synax error pointing
      to the line





      extern "C"





      The error is





      error C2059: syntax error: 'string'





      Any help would be appreciated. Thanks.





      Rick Quatro Carmen Publishing 585-659-8267 www.frameexpert.com





      _______________________________________________
Technical Details
Message-ID: <59b68d3e.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!npeer.de.kpn-eurorings.net!npeer-ng1.kpn.DE!fu-berlin.de!news4us.nl!webcrossing
References: <59b68d3e.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,19e65b01b40be246
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Rick_Quatro@adobeforums.com
Newsgroups: adobe.framemaker.sgml
Subject: Re: Updated FrameMaker FDK documentation???
Message-ID: <59b68d3e.0@webcrossing.la2eafNXanI>
Date: Mon, 22 Sep 2008 13:02:05 -0700
References: <59b68d3e.-1@webcrossing.la2eafNXanI>
Lines: 65
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!npeer.de.kpn-eurorings.net!npeer-ng1.kpn.DE!fu-berlin.de!news4us.nl!webcrossing