JLogan3o13
Contributor
Contributor

Receiving a DLL error when launching one part of a thinapped application

I am new to ThinApp, but have had pretty decent success thus far. I have one application, however, that is giving me fits; if anyone could assist it would be greatly appreciated. The application in question is called HEAT, it is a call ticket tracking app for our Helpdesk folks. The app runs off an Oracle 10g database structure. I thinapped Oracle 10g by itself, then Heat by itself, and then set the path to the oracle exe under required applinks in the .ini for HEAT. This seems to work for most of the modules in the main application, they all start and run flawlessly. The main executable, though, throws an error that references a missing or unregistered .dll file. The specific error is Unable to locate BCGPOleAcc.dll. To see this demo properly, you need to put BCGPOleAcc.dll to your path and register it.

On a physical install of the application, this dll gets put into the System32 folder, and puts two entries into the registry - one under HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18(current user)\Components\8DA0F8E859E886D4F85A92FD4F1A7D41 and the other under HKLM\Software\Microsoft\Windows\CurrentVersion\SharedDLLs. In the thinapp directory, I have confirmed that the dll is there in the %SystemSystem% folder. I have also confirmed the above two entries under the HKEY_LOCAL_MACHINE.txt. Also, when building, I see that it states the dll has been added successfully (see attached). Thus far, after reading through literally all 58 pages on this discussion board, I have tried the following: changing between merged and write copy isolation on the main package, changing the isolation in the HKEY_LOCAL_MACHINE.txt for those entries from Write Copy to Full, specifying the dll under Required Applinks in the .ini, and even just having the .dll already existing on the machine before I try to run the thinapp - pointing the app to the physical dll file. So far, none of this has worked for me, yet all other modules in this application work fine. If anyone could provide some suggestions, or point out what I may be missing in registering this dll, that would be great.

Reply
0 Kudos
BjornDW
Contributor
Contributor

What is the isolation mode from the attributes.ini where the dll resides inside the package ?

If you launch a virtual cmd and virtual regedit, can you actually see the dll and see the registry entries ?

What says the logmonitor when you launches this part (if you search for the dll). You can also check the filemon too.

Reply
0 Kudos
JLogan3o13
Contributor
Contributor

Sorry it has taken so long to respond. Other isses have been forcing this onto the back burner. To answer the questions posed:

The isolation mode started at WriteCopy. I also tried Merged and Full, but with the same results.

I launched the virtual regedit, and can see the dll in the same registry key as it would be on a physical install. I am, however, receving an error when attempting to launch the virtual CMD.

I guess I cannot figure out why it can't see this one particular dll, when all the others in that directory are working fine.

Reply
0 Kudos
thinapper
Contributor
Contributor

We have successfully virtualized the application "HEAT" without any problem. Which version of ThinApp you are using?

The BCGPOleAcc.dll must be located in %SystemSystem% - Isolation for this folder must be "WriteCopy"

Leave the registry as it is.

Isolation Mode in package.ini: Merged

Compression: Fast

Holger Kühn

vExpert 2009

perinova IT-Management

Reply
0 Kudos
JLogan3o13
Contributor
Contributor

Glad to hear you were able to virtualize this successfully. I am currently using the latest version, still in my tria period. I can see the .dll file in the %SystemSystem% folder, and can see it successfully added during the build process. I started with WriteCopy isolation but tried all the others just to see if they would have different results. I did try the Merged Isolation in the package.ini, but did not do Fast Compression. I will try it again to see if this makes any difference. Just out of curiosity, what version of Heat are you on, and are you using an Oracle backend?

Reply
0 Kudos
thinapper
Contributor
Contributor

We are not using an Oracle backend.

Our Heat version is 8.4.5

Please give me some more info´s:

Are you packaging under Vista?

Which ThinApp Version do you use

Which Oracle client Version do you use

Holger Kühn

vExpert 2009

Perinova IT-Management GmbH

www.perinova.de

Reply
0 Kudos
JLogan3o13
Contributor
Contributor

We are using Heat 8.4.4 with an Oracle 10g backend.

I am packaging on XP SP3 (have tried SP2 as well).

I am using Thinapp 4.0.2

As I mentioned, all modules except call logging work just fine (Admin Console, Alert Monitor, Answer Wizard, QuickStart Wizard, etc.). Only the call logging fails.

Reply
0 Kudos
Bryanbph
Contributor
Contributor

Just curious if you ever got this working - I'm running into the same issue. Thanks

Reply
0 Kudos
JLogan3o13
Contributor
Contributor

Unfortunately, I have not yet gotten it working. My company is

working with our VMWare rep, however, who has promised to get me in

touch with one of their engineers. If I find a resolution, I will

definitely share it on this post.

Jeremiah Logan

Desktop Administrator

Information Services Department

ACCIDENT FUND

JeremiaL@AccidentFund.com

517-367-7494 - voice

Reply
0 Kudos
Bryanbph
Contributor
Contributor

I think I have a solution - Give this a try:

Add the following ExternalDLL command in the BuildOption section of the package.ini file. There should already be the BuildOptions branch, so just

add the ExternalDLLS line somewhere in that section. Keep me posted on how it goes as this solved my issue.

ExternalDLLs=BCGPOleAcc.dll

View solution in original post

Reply
0 Kudos
bwboyd4341
Contributor
Contributor

I realize this is an incredibly old post but I was wondering if you were ever able to get HEAT running in a ThinApp? We are running HEAT 8.4.5 with a SQL 2000 backend but I can't get the thinapp to work.

Reply
0 Kudos