Page Index Toggle Pages: 1
Topic Tools
Normal Topic Using SFMpqApi (Read 2188 times)
gex
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Mar 17th, 2008
Using SFMpqApi
Mar 17th, 2008 at 5:11pm
Post Tools
Hi,

I have two questions:

a) is it possible to use the dll with JAVA?

b) If not how do I make it run using c? I tried to include the sfmpqapi.h file into my c program, but it gives me these errors:
Code
Select All
SFmpqapi/sfmpqapi.h:167: error: syntax error before "SFMpqCompareVersion"
SFmpqapi/sfmpqapi.h:167: warning: data definition has no type or storage class
SFmpqapi/sfmpqapi.h:281: error: syntax error before "MPQARCHIVE"
SFmpqapi/sfmpqapi.h:281: warning: no semicolon at end of struct or union
SFmpqapi/sfmpqapi.h:282: warning: data definition has no type or storage class
SFmpqapi/sfmpqapi.h:287: error: syntax error before '*' token
SFmpqapi/sfmpqapi.h:287: warning: data definition has no type or storage class
SFmpqapi/sfmpqapi.h:293: error: syntax error before '*' token
SFmpqapi/sfmpqapi.h:293: warning: data definition has no type or storage class
SFmpqapi/sfmpqapi.h:294: error: syntax error before '*' token
SFmpqapi/sfmpqapi.h:294: warning: data definition has no type or storage class
SFmpqapi/sfmpqapi.h:295: error: syntax error before '*' token
SFmpqapi/sfmpqapi.h:295: warning: data definition has no type or storage class
SFmpqapi/sfmpqapi.h:298: error: syntax error before "MpqHeader"
SFmpqapi/sfmpqapi.h:298: warning: data definition has no type or storage class
SFmpqapi/sfmpqapi.h:301: error: syntax error before '}' token
SFmpqapi/sfmpqapi.h:306: error: syntax error before "MPQFILE"
SFmpqapi/sfmpqapi.h:306: warning: no semicolon at end of struct or union
SFmpqapi/sfmpqapi.h:307: warning: data definition has no type or storage class
SFmpqapi/sfmpqapi.h:310: error: syntax error before '*' token
SFmpqapi/sfmpqapi.h:310: warning: data definition has no type or storage class
SFmpqapi/sfmpqapi.h:311: error: syntax error before '*' token
SFmpqapi/sfmpqapi.h:311: warning: data definition has no type or storage class
SFmpqapi/sfmpqapi.h:323: error: syntax error before '*' token
SFmpqapi/sfmpqapi.h:323: warning: data definition has no type or storage class
SFmpqapi/sfmpqapi.h:325: error: syntax error before '}' token
SFmpqapi/sfmpqapi.h:395: error: syntax error before "FILELISTENTRY"
 



So, how do I do it without errors?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools