Posted by Malcolm Dew-Jones on 11/21/05 22:19
Sillaba atona (NOSPAM@tin.it) wrote:
: 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
parameters correctly?
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.
$0.10
Navigation:
[Reply to this message]
|