#1  
Old 11th August 2015, 08:06 AM
mmitton mmitton is offline
Junior Member
 
Join Date: Sep 2011
Posts: 21
Send a message via Skype™ to mmitton
Default Exceptions on startup

Hi All,

I am having some exceptions when my application is started up. We have recently upgraded from NxDB2 to NxDB4 (4.0010).

I have a server app that compiles and runs fine with the new Nexus version and a desktop app that throws out the attached errors. Both were fine with the old NxDB2 components.

Dev system is a VM with XP SP2, C++ builder 2007 and NexusDB 4.0010.

Does anyone have any ideas what is going on here?

Regards
Mark
Attached Images
File Type: png Screen Shot 2015-08-10 at 21.39.20.png (16.5 KB, 4 views)
File Type: png Screen Shot 2015-08-10 at 21.39.46.png (16.1 KB, 1 views)
File Type: png Screen Shot 2015-08-10 at 21.40.09.png (16.8 KB, 2 views)
__________________
Mark Mitton
  #2  
Old 11th August 2015, 01:51 PM
Shane Stump
 
Posts: n/a
Default Re: Exceptions on startup

Howdy Mark!

Hope married life is doing you right!

My live app is running with the same setup you have except Windows 10!

I have updated my beta version to XE8 and my app is running fine!!

Are you using packages?

Thanks,

Shane
  #3  
Old 12th August 2015, 06:44 AM
mmitton mmitton is offline
Junior Member
 
Join Date: Sep 2011
Posts: 21
Send a message via Skype™ to mmitton
Default

Hi Shane

Things are great thanks! Long time no speak.

My usual setup is "Build with runtime packages" off, "Dynamic RTL" on.

That said I have tried every combination of these plus the "Disable incremental link" and "Generate import library" options but no difference.

Cheers
Mark
__________________
Mark Mitton
  #4  
Old 12th August 2015, 07:20 AM
Rodrigo Gomez [NDX]
 
Posts: n/a
Default Re: Exceptions on startup

Hello Mark,

I've been always a only-dynamic-everything with my C++Builder apps. It's too prone to
errors to do otherwise, IMHO.

If it's the same to you, or at least to know if that could work, could you try with
Runtime packages, Dynamic RTL, and I believe there is another option for dynamic-stuff in
the linker options. Set all of them to on.

And, in your project source, manually link the Nexus BPI files of the packages you are
using. The IDE is very bad when checking for dependencies, so even if you have enabled
Dynamic Packages, it is quite possible there are packages linked statically. For this I
usually have this line in the main cpp for each of the package of Nexus I'm using:

#pragma link "NexusDB400db190.bpi"

It also helps if you remove some unit which contains Nexus components from your project
and add it again, so the IDE can see what components are used and, supposedly, add the
packages to the needed parts of the project. This works also, of course, for statically
linked projects.

Do you have other packages/dlls in you project, or is it just a single EXE?

HTH,

--
Rodrigo Gómez [NDX]
México, GMT-6
  #5  
Old 12th August 2015, 07:46 AM
Shane Stump
 
Posts: n/a
Default Re: Exceptions on startup

On 8/11/2015 1:44 PM, mmitton wrote:
> Hi Shane
>
> Things are great thanks! Long time no speak.
>

Yep! We need to get together later in the year and have a "skype" beer
<lol>!


Could you email me the EXACT errors? I am unable to download.

One other idea: try uninstalling NexusDB 4.x, do a search to make sure
there are NO NexusDB*.* lying around in a directory, reinstall NexusDB.

I just had a similar problem on a new machine and some how one of my
NexusDB directories was out of kilt!

Have a great evening!

Shane
  #6  
Old 19th August 2015, 07:00 AM
mmitton mmitton is offline
Junior Member
 
Join Date: Sep 2011
Posts: 21
Send a message via Skype™ to mmitton
Default

Hi Guys

Thanks for the help and apologies for the delay! None of it worked though and I have less hair. Managed to fix it the old way. Fresh windows vm, reinstalled full dev system and it compiles and links fine!

Cheers
Mark
__________________
Mark Mitton


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nexus DB server 1.08 startup issues DiPersiaTech nexusdb.public.support 3 26th October 2011 04:52 PM
Switching Transports at Startup John Turner nexusdb.public.support 5 25th October 2005 03:38 AM
D2005 Startup. Nexus, you should be here! John E. Wilfong Binaries 0 6th October 2005 05:29 PM
Server startup time Bo Nielsen nexusdb.public.support 8 26th August 2003 11:05 AM
nxServer B4 Startup Option (like FF2) HHLee nexusdb.public.support 3 16th July 2003 09:18 PM


All times are GMT +11. The time now is 03:20 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.