adding functions into php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

marker5a
Forum Commoner
Posts: 29
Joined: Wed May 19, 2004 9:18 pm

Post by marker5a »

Ok
I found this great site, http://www.devnewz.com/2002/0909.html, that shows you how to do it on windows, my os. One huge problem, it says you need microsoft visual c++ 6.0, and I am a newb, so I obviously dont have this. Is there any way to do this without spending money? Thanks

Chris
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

Well you could download the free Dev-C++ IDE just like I did :D
marker5a
Forum Commoner
Posts: 29
Joined: Wed May 19, 2004 9:18 pm

Post by marker5a »

sounds good. :)
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

Yes its great and you can get it here:

http://www.bloodshed.net/
marker5a
Forum Commoner
Posts: 29
Joined: Wed May 19, 2004 9:18 pm

Post by marker5a »

well, i tried installing the thing from bloodshed, but i am getting wierd error messages when I am trying to install it. any other suggestions?
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

An error message!, what is this error message and are you sure you have selected the appopiate package? Also, why do you require a C++ compiler, is it really necessary for this project?
marker5a
Forum Commoner
Posts: 29
Joined: Wed May 19, 2004 9:18 pm

Post by marker5a »

when i ruin the devcpp4990setup.exe file, i get a message that says

The HTVDM CPU has encountered an illegal instruction.
CS:numbers IP:numbers OP:numbers. Choose 'Close' to terminate the application.

The site I mentioned said to open up the microsoft visual c++ 6.0 compiler to create extensions. If anyone knows any other method for installing extensions on a windows 2000 server os, please help

Chris
marker5a
Forum Commoner
Posts: 29
Joined: Wed May 19, 2004 9:18 pm

Post by marker5a »

User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

There is a possibility you could use perl for that! Also, their is loads of other free C++ compilers out there :D
marker5a
Forum Commoner
Posts: 29
Joined: Wed May 19, 2004 9:18 pm

Post by marker5a »

ok, thanks
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

no problem ;)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you could download the Visual C++ Compiler... You won't get the IDE, but the compiler is rockin'..

http://www.microsoft.com/downloads/deta ... laylang=en
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

Interesting, I have never heard of that :D
marker5a
Forum Commoner
Posts: 29
Joined: Wed May 19, 2004 9:18 pm

Post by marker5a »

Ok, I got the visual c++ compiler, and I am trying to follow the directions on the page i sent earlier, but the page is talking about going into all of these menues. feyd, is there any way you can describe to me how to use the command line compiler to create extensions?

Chris
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

all the menu things are just setting command line options.. so you just need to look through the documentation to match up which option in the menus goes with the right command line options.. there are a lot, but once you have it set up, you can stick it inside a batch file so it's a lot easier to create/build your extensions.
Post Reply