 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Yassine Sohbi Guest
|
Posted: Mon Apr 30, 2007 7:35 pm Post subject: [Link Error] Fatal: Access violation. Link terminated. |
|
|
Hello,
My problem seems to be very simple.
In my application, under BCB6, XP, a RAM of 4Go, I do static allocation as :
#define BETHA 64
MyType Table[BETHA]
When I increase BETHA ( 128, 512 , 1024) and rebuilt my project ,
in some cases I got this message : "[Link Error] Fatal: Access
violation. Link terminated.".
My question is how to solve this problem.
Thank you for your response,
Regards,
Y. Sohbi |
|
| Back to top |
|
 |
dhoke Guest
|
Posted: Mon Apr 30, 2007 10:54 pm Post subject: Re: [Link Error] Fatal: Access violation. Link terminated. |
|
|
May be irrelevant but curious, What is the size of "MyType" ( sizeof(MyType)
== ?) ?
"Yassine Sohbi" <sohbi (AT) grignon (DOT) inra.fr> wrote in message
news:4635fe74 (AT) newsgroups (DOT) borland.com...
| Quote: | Hello,
My problem seems to be very simple.
In my application, under BCB6, XP, a RAM of 4Go, I do static allocation as
:
#define BETHA 64
MyType Table[BETHA]
When I increase BETHA ( 128, 512 , 1024) and rebuilt my project ,
in some cases I got this message : "[Link Error] Fatal: Access violation.
Link terminated.".
My question is how to solve this problem.
Thank you for your response,
Regards,
Y. Sohbi |
|
|
| Back to top |
|
 |
Yassine Sohbi Guest
|
Posted: Wed May 02, 2007 8:10 am Post subject: Re: [Link Error] Fatal: Access violation. Link terminated. |
|
|
dhoke a écrit :
| Quote: | May be irrelevant but curious, What is the size of "MyType" ( sizeof(MyType)
== ?) ?
|
The size of my .exe doesn't exceed 500 Ko,
and MyType size is very "normal" so a size like 300 octets.
| Quote: |
"Yassine Sohbi" <sohbi (AT) grignon (DOT) inra.fr> wrote in message
news:4635fe74 (AT) newsgroups (DOT) borland.com...
Hello,
My problem seems to be very simple.
In my application, under BCB6, XP, a RAM of 4Go, I do static allocation as
:
#define BETHA 64
MyType Table[BETHA]
When I increase BETHA ( 128, 512 , 1024) and rebuilt my project ,
in some cases I got this message : "[Link Error] Fatal: Access violation.
Link terminated.".
My question is how to solve this problem.
Thank you for your response,
Regards,
Y. Sohbi
|
|
|
| Back to top |
|
 |
Yassine Sohbi Guest
|
Posted: Wed May 02, 2007 2:29 pm Post subject: Re: [Link Error] Fatal: Access violation. Link terminated. |
|
|
Other detail
with
#define BETHA 512
I rebuilt my project, It turns well and,
my .exe size is exactely 551 Ko.
with
#define BETHA 1024
I have got this message
[Link Error] Fatal: Access violation. Link terminated.
Yassine Sohbi a écrit :
| Quote: | dhoke a écrit :
May be irrelevant but curious, What is the size of "MyType" (
sizeof(MyType) == ?) ?
The size of my .exe doesn't exceed 500 Ko,
and MyType size is very "normal" so a size like 300 octets.
"Yassine Sohbi" <sohbi (AT) grignon (DOT) inra.fr> wrote in message
news:4635fe74 (AT) newsgroups (DOT) borland.com...
Hello,
My problem seems to be very simple.
In my application, under BCB6, XP, a RAM of 4Go, I do static
allocation as :
#define BETHA 64
MyType Table[BETHA]
When I increase BETHA ( 128, 512 , 1024) and rebuilt my project ,
in some cases I got this message : "[Link Error] Fatal: Access
violation. Link terminated.".
My question is how to solve this problem.
Thank you for your response,
Regards,
Y. Sohbi
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|