Welcome, Guest. Please Login
Back to main page
  News:
Welcome to the ShadowFlare's Realm Forums.  New registrations are by request only.  To be considered for a new forum account, send an e-mail with the user name and display name you want and the reason you want to register.
  Home SFRealm HelpSearchLogin  
 
Pages: 1
Send Topic Print
Using SFMpqApi (Read 2140 times)
gex
Peon
*
Offline

I love YaBB 1G -
SP1!

Posts: 1

Using SFMpqApi
Mar 17th, 2008, 6:11pm
 
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:
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
Pages: 1
Send Topic Print