NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: sukhendu on April 09, 2012, 12:23:39 PM
-
I'm changing a single EXE app (which works) into multiple dll setup. I've been following the example20.
Here is my setup:
MainExe.app
wcbs0.app (data dll)
websrv.app
wcbs2.app
When I add wcbs2 in the multi-dll tab of the websrv app's global extension/NTWS, I get bunch of unknown procedure label errors. The unknown procedures are all defined in wcbs2 and the export flag is ON for all of them. But if I remove the wcbs2 from the multi-dll tab, the websrv complies fine. But I get page not found" message on the browser.
TIA,
Sukhendu
NT6.26
-
Yeah you need to add them all (well just the web ones) to your main exe as external.
Also just a tip, if you add server side code to a "new" embed in a dll you need to recompile your main exe as well otherwise the code never gets called.
-
Thanks Kevin.
When I define a procedure in the websrv.app, it works. But if I move that procedure to wcbs2.app, make it export, and make the procedure external in websvr.app I get "No Records found' message. The multi dll tab on the websvr.app global extension has wcbs2.
What I'm I missing?
Sukhendu
-
You may need to post an example as it's just guess work without seeing how all the parts fit together.
-
Hi,
What is the order of the apps in the Multi-DLL example (there is no solution file)?
Thanks
Charl
-
allfiles is the data dll.
customer contains some web server procedures
webserver contains the web server and web handler procedures
mainexe is the exe.
cheers
Bruce