Hello Ajay,

FWIW, when running the compiled executables with embedded resources, all resources, including the Engine DLLs are temporarily unloaded into the Windows memory to be available for the front-end. With Microsoft's on-going tighten security efforts, this creates a false-positive warning and delays the execution of compiled executable,
even if those unloaded DLLs are marked as exception.

The best practice is to keep everything outside, including all DLLs & Plugins (.RBM)
in the same folder with compiled executable(s).

In this case, the shortcut for executable should also include the "-A" parameter.

Try it! You will be surprised with the execution/load time and the performance.

Take a close look at the compiled applications, executables, and the typical setup for your last attended R:BASE X.5 Enterprise (Version 10.5) Super Advanced Training
Sample Applications folder.

C:\RBTI\RBGX5E_SAT

RBGX5E_SAT.exe
RBGX5E_SAT.RX1
RBGX5E_SAT.RX2
RBGX5E_SAT.RX3
RBGX5E_SAT.RX4
RBENGINEX5E.cfg
RBENGINEX5E.dll

Notice that all resources, especially, .CFG and DLL files are external (not embedded).

Application shortcut:

Target: C:\RBTI\RBGX5E_SAT\RBGX5E_SAT.exe -A
Start in: C:\RBTI\RBGX5E_SAT

Hope that explains!

Enjoy!

Razzak


At 07:05 AM 7/13/2019, Ajay Sanghvi wrote:

Hi Razzak

I have always embedded the Engine in my compiled application with no issues.
The reason I have chosen to do this is to ensure that every new compile will
always have the latest engine.
However, what is the advantage of not embedding it? And if not embedded
where should the DLL reside?
Ajay

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of A. Razzak Memon
Sent: Friday, July 12, 2019 3:00 PM
To: [email protected]
Subject: RE: [RBASE-L] - FW: RBase error

Jim,

I recommend to remove the option to embed Engine DLL in R:Compiler.
There are advantages of
not embedding the engine in all your compiled applications.

Hope it helps!

Razzak

At 11:37 AM 7/12/2019, Jim Roberts wrote:

>Never mind. For some reason our compiled application is looking for the
>RBENGINEX5.dll and wasn't finding it. I don't know why it's looking for
>that DLL when it's compiled to include the engine, but we're still
>looking into that.




--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/201907121859.x6CIxtSb005012%40atl4mhob22.registeredsite.com.
For more options, visit https://groups.google.com/d/optout.

--
**** Berje plant and office personnel will observe summer hours and will
close at 1:30 pm each Friday in July and August. In the event you need to
reach a Customer Care Representative, we have extended our coverage and
will be at your service until 3:00 pm.**Please have a safe and happy
summer! ****

--
*Berjé Inc. *- an SQF Level 3 Quality Certified Supplier No. 7751 and
Certified by WQS.

--
_** Markets are moving rapidly, please note all prices and volume offers
are kindly to be considered subject final confirmation, including any
pending tariff changes, unless otherwise stated. **Â _

--


--

--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/529bd4b2b354a521c2dc4ebfed79251b%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/201907131336.x6DDa8v2015699%40atl4mhob25.registeredsite.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to