Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-12-2006, 03:27 PM   #1
helenoksen
Member
ioFTPD Foundation User
 
Join Date: Oct 2005
Posts: 75
Default Walkthrough: How to compile a simple hello world program using shared mem

How do you compile a simple hello world program using shared mem in Visual Studio? What files do you need and what configuration settings to set in Visual Studio?

Thanks,

helenoksen
helenoksen is offline   Reply With Quote
Old 05-12-2006, 04:57 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Quote:
Originally Posted by helenoksen
How do you compile a simple hello world program using shared mem in Visual Studio?
A "hello world" application is not relevant here, printing text to stdout has nothing to do with shared memory. You should probably read up on the various interprocess communication (IPC) methods Windows implements.

If you need a starting point, I wrote wrapper functions for all of ioFTPD's shared memory functions (alcoWinIoShm.h and alcoWinIoShm.c). These functions are meant to be used from a Tcl extension, so they would require some trivial modifications to be used elsewhere.

Quote:
Originally Posted by helenoksen
What files do you need and what configuration settings to set in Visual Studio?
There is nothing specific to Visual Studio that needs to be changed, but that could depend on what language you're programming in.
neoxed is offline   Reply With Quote
Old 05-12-2006, 05:37 PM   #3
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Hmm you gave me an idea.

I'll try and make a small SDK (with working examples) for people writing shared memory applications for ioFTPD.

Edit: Give me about a day and I'll have something ready for public consumption (I have drinking/hockey watching to do tonight ).
neoxed is offline   Reply With Quote
Old 05-14-2006, 08:20 PM   #4
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

http://www.inicom.net/forum/showthread.php?p=129769
neoxed is offline   Reply With Quote
Old 05-14-2006, 11:59 PM   #5
helenoksen
Member
ioFTPD Foundation User
 
Join Date: Oct 2005
Posts: 75
Default

Cool! this will def. get me started. Hopefully ill have more time after school term to start some serious coding. Thanks a lot for sharing!

helenoksen
helenoksen is offline   Reply With Quote
Reply

Tags
compile, mem, shared, studio, visual

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 Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:11 AM.

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