1
I’m using Apache to upload a Rest server made in Delphi, when I use the module in Delphi in the 32-bit version, I put it in the modules folder of Apache and the run simply gives error and does not start Apache, already the 64-bit version works normally. Tested in win 7 32 and 64.
Edit: I created a datasnap webbroker server and chose the Apache Dynamic link module option, I did the functions I need to search from the database, until then everything right. I installed apache on the 32 bit machine, working properly, when I put the dll generated by Delphi in the modules folder and put the Loadmodule in the httpd.conf file and start apache it simply from error and does not start.
Edit the question and show a little of what you did. That way it’s too wide/not clear enough.
– Junior Moreira
Already explained, the very exception showed you the answer, a DLL in Delphi for Apache must contain only 1 Datamodule.
– Junior Moreira
But the strange that works in 64 bit version with the same code
– MatheusP
Junior Moreira, it would be good to put your comment as a response to be voted as the solution?
– Cleber Griff