Go Back   FlashFXP Forums > >

Programming Need help with C/C++/Delphi? Ask here and make us all laugh.

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 01-10-2004, 09:09 AM   #1
dasOp
Member
 
Join Date: Jan 2003
Posts: 91
Default Few suggestions...

Mostly about the headers we use for shmem or otherwise.

1: Includeguards? And wouldn't it make sense for headers depending on other headers to include them? Right now, dependencies is a nightmare.

2: Per installation, put the headers in ioftpd\source\include\ioFTPD so we can spec <pathtoio>\source\include as an additional includepath and do #include <ioFTPD\VFS.h> and so on, to avoid filename clashes.


Might be silly, but after having spent 45 mins fixing mainly the issues in 1 above just to recompile my io-specific libraries to match 5.4+, I just thought I'd get it off my chest.
dasOp is offline  
Old 01-10-2004, 09:26 AM   #2
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Include ioftpd.h it includes everything neccessary, and is always right
darkone is offline  
Old 01-10-2004, 09:34 AM   #3
dasOp
Member
 
Join Date: Jan 2003
Posts: 91
Default

Guess that told me.

Thanks for pointing out the obvious.
dasOp is offline  
Old 01-10-2004, 11:00 AM   #4
dasOp
Member
 
Join Date: Jan 2003
Posts: 91
Default

Just noticed that ioMemory.h declares the not so name-unique macros Allocate and Free. Are those macros/functions things we outside developers have any use for?
dasOp is offline  
Closed Thread

Tags
fixing, headers, mins, silly, spent

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:04 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)