Delphi module for Apache 32 bit error

Asked

Viewed 201 times

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.

inserir a descrição da imagem aqui

  • Edit the question and show a little of what you did. That way it’s too wide/not clear enough.

  • 1

    Already explained, the very exception showed you the answer, a DLL in Delphi for Apache must contain only 1 Datamodule.

  • But the strange that works in 64 bit version with the same code

  • Junior Moreira, it would be good to put your comment as a response to be voted as the solution?

1 answer

2


  • Matheus, can you put a "snippet" of your code in your answer? This makes it more complete and easier to locate for future references (if the link goes off the air, for example)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.