Running C Code & Inserting it into SQL
Moderator: General Moderators
-
fecophobia
- Forum Newbie
- Posts: 11
- Joined: Sun Mar 05, 2006 9:59 pm
Running C Code & Inserting it into SQL
I want to modify osDate to do astrology searches, so I need to insert astrological data into the database, but my source for the calculations is written in C. Should I make it an ActiveX control, or is there some way I can get it to execute server side and insert the data without downloading anything? What is the best way to integrate C code into a server-side application?
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
I'm pretty sure thats what was meant...fecophobia wrote:Port it to what, PHP?
Honestly...if you have to ask that question your better off following the path of least resistance...that being port the code to PHP.
IMHO ActiveX would not be a very good solution...especially if it's written in C...
ATL is the only library that should be used to write anything ActiveX