#11  
Old 15th March 2018, 11:03 PM
kts kts is offline
Junior Member
 
Join Date: May 2013
Posts: 12
Default Still not working...

Hi,

I just upgraded and tried version 4.1201, and still no solution to this problem.

If you could prioritize this soon, it would be very much appreciated!

Regards.
  #12  
Old 15th March 2018, 11:14 PM
Shane Stump
 
Posts: n/a
Default Re: Access violation when link with runtime packages = off

Howdy fell C Builder Users!

Couple of questions:

1) What version of C Builder are you on?

2) When does the error occur (i.e. startup / showndown)?

I have only had the problem once and I no longer do in the latest
version(s) of Rad Studio (Tokyo 10.2.x) and I have my own modified shutdown.

My statically linked main application is over 800+ modules and ~120MB
statically linked.

All the best,

Shane
  #13  
Old 16th March 2018, 11:26 PM
kts kts is offline
Junior Member
 
Join Date: May 2013
Posts: 12
Default

Hi,

Thanks for your feedback. It is very interesting that it works for you. Which nexus versions are you running? Are you running as embedded server? We run nexus as embedded server in our application.

1) I did run Rad Studio 10.2.2, and now just installed 10.2.3 with Nexus version 4.1302.

2) It happens when launching the application. I get the following error in a simple test application:

First chance exception at $006BBD75. Exception class $C0000005 with message 'access violation at 0x006bbd75: write of address 0x0088c0d4'. Process Project1.exe (9484)
  #14  
Old 17th March 2018, 04:54 AM
Shane Stump
 
Posts: n/a
Default Re: Access violation when link with runtime packages = off

Howdy!
On 3/16/2018 7:26 AM, kts wrote:
> Hi,
>
> Thanks for your feedback. It is very interesting that it works for you.
> Which nexus versions are you running? Are you running as embedded
> server? We run nexus as embedded server in our application.
>
> 1) I did run Rad Studio 10.2.2, and now just installed 10.2.3 with Nexus
> version 4.1302.

I am not running 10.2.3 with NexusDB 4.13.02

>
> 2) It happens when launching the application. I get the following error
> in a simple test application:
>
> First chance exception at $006BBD75. Exception class $C0000005 with
> message 'access violation at 0x006bbd75: write of address 0x0088c0d4'.
> Process Project1.exe (9484)


I am having no such issues but I did for once back with version 10.2.2
and I was briefly forced to link with packages (which I cannot release
my application with).

I do NOT use embedded NexusDB any longer just the client / server. For
embedded, I am using SQLITE.

Are you linking pure static? That is, no RTL and no link with Delphi
RTL? What is your default character (i.e. char or w_char)? Mine is w_char.

Also, have you gone through the NexusDB group project file and made sure
that ALL c++ files are generated (the default install does NOT).

Hope some of this helps!

Have a great weekend!

Shane
  #15  
Old 17th March 2018, 04:56 AM
Shane Stump
 
Posts: n/a
Default Re: Access violation when link with runtime packages = off

On 3/16/2018 12:54 PM, Shane Stump wrote:
> Howdy!
> On 3/16/2018 7:26 AM, kts wrote:
>> Hi,
>>
>> Thanks for your feedback. It is very interesting that it works for you.
>> Which nexus versions are you running? Are you running as embedded
>> server? We run nexus as embedded server in our application.
>>
>> 1) I did run Rad Studio 10.2.2, and now just installed 10.2.3 with Nexus
>> version 4.1302.

> I am not running 10.2.3 with NexusDB 4.13.02
>
>>
>> 2) It happens when launching the application. I get the following error
>> in a simple test application:
>>
>> First chance exception at $006BBD75. Exception class $C0000005 with
>> message 'access violation at 0x006bbd75: write of address 0x0088c0d4'.
>> Process Project1.exe (9484)

>
> I am having no such issues but I did for once back with version 10.2.2
> and I was briefly forced to link with packages (which I cannot release
> my application with).
>
> I do NOT use embedded NexusDB any longer just the client / server. For
> embedded, I am using SQLITE.
>
> Are you linking pure static? That is, no RTL and no link with Delphi
> RTL? What is your default character (i.e. char or w_char)? Mine is w_char.
>
> Also, have you gone through the NexusDB group project file and made sure
> that ALL c++ files are generated (the default install does NOT).
>
> Hope some of this helps!
>
> Have a great weekend!
>
> Shane


That should have been "now" running with 10.2.3 + NexusDB 4.13.02!
  #16  
Old 23rd March 2018, 12:00 AM
kts kts is offline
Junior Member
 
Join Date: May 2013
Posts: 12
Default

Hi again and thank you very much for your answers.

I am linking pure static (no RTL and no link with Delphi RTL). If you mean the project option setting: _TCHAR maps to, I am using wchar_t.

I did not edit the group project file. I tried to do this after your recommendation, but I am not sure if I am doing it correctly.
  • I did open NexusDB4Package250.groupproj
  • I did go trough all "projects" and verified or changed the setting Delphi Compiler->Output -C/C++ -> C/C++ Output file generation to: Generate all C++ Buillder files (including package libs). There was only one(NExusDB413mr250.bpl that had Generate DCUs only.
  • I tried compile all from RAD Stuido.
  • I tried to run the compileall.bat script manually.

Tried all this but still not able to get it to work.

Thanx again.


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
Access Violation when package part of sparelib or packages David Charron Support Newsgroups 11 21st September 2007 04:55 AM
Access Violation when package part of sparelib or packages David Charron nexusdb.public.support.cbuilder 11 21st September 2007 04:55 AM
Access Violation when package part of sparelib or packages (Sample Project) <= For nexusdb.public.support.cbuilder David Charron Binaries 0 14th September 2007 06:03 AM
Access violation Konstantin nexusdb.public.support 1 12th September 2007 07:48 AM
access violation Alexandre Eduardo.ยท. nexusdb.public.support 3 7th June 2007 05:16 AM


All times are GMT +11. The time now is 03:00 PM.


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