Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Architectural question
- Sillaba atona
November 21, 2005, 8:06 pm
rate this thread
- Malcolm Dew-Jones
November 21, 2005, 8:19 pm
Re: Architectural question
: I need to integrate a dll made by myself in C++ with PHP. Is it possible?
: In any case, in which format should I save my C++ code to fix this problem?
What is the problem you are having when you try to do this?
I have no idea of the mechanics of using a Windows .DLL from PHP but
some general DLL advice would be...
C++ will create function names (in the compiled code) that are not the
same as the function names in the source code unless you flag them as C
functions. Perhaps that is your problem.
Also, a DLL has various requirements on the way that functions handle
their parameters. Are you sure that your functions are handling their
Are you using the necessary resource definitions to create a proper DLL in
the first place?
Have you made a test dll that is simple and dynamically linked it from a
simpler application. For example, use Visual Basic to load your test .DLL
to check that it works at all.
- Nicholas Sherlock
November 22, 2005, 6:50 am
- » how to allow different companies to use a site without logging in?
- — Previous thread in » PHP Scripting Forum