Page 1 of 1
viewer .dll question
Posted: Fri Oct 06, 2006 9:36 am
by FRED_EMMERICH_(Guest)
In 8.1 (DBase) I had an app that called the viewer .dll. The only files I needed to make this app run for everybody was the .dll files and my .rsw. I upgraded to Infinity and I am doing another app (SQL) and now I need the rswrun.exe file as well. I thought the .exe was used in a different manner than the .dll. Ideally I want my app to require as few files as possible, and I would like to statically link the .dll into my project.____Is this possible? ALso, can someone explain how/what the differences are between my two versions of R&R in this regard, I^m stumped!____thanks__Fred
=> RE: viewer .dll question
Posted: Sun Oct 08, 2006 8:51 pm
by kfleming
The runtime DLL is just a way to interface to the runtime executable. You always need the runtime EXE to run the report.____Kathleen__R&R Support
==> RE: viewer .dll question
Posted: Mon Oct 09, 2006 10:27 am
by FRED_EMMERICH_(Guest)
Does this mean that the SQL version is set up differently than the Dbase verion (or just from prior versions)? A .dll is just a .exe by another name. It seems that if you statically link a .dll, and have the header file, and the .lib, you should not need the .exe. In fact I thought rswrun.exe was designed to be called from something like a .bat file or other place where you are not actually in the code, and that it used various control files to obtain the data it needed to run the reports.____thanks__Fred
===> RE: viewer .dll question
Posted: Mon Oct 09, 2006 2:43 pm
by kfleming
You do need the EXE for both SQL and Xbase when you are using the DLL interface.____Kathleen__R&R Support
====> RE: viewer .dll question
Posted: Tue Oct 10, 2006 9:57 am
by FRED_EMMERICH_(Guest)
Did this change recently? I have an 8.1 Dbase app where I do not need the .exe.