forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Error loading VDS 3 (and 4)

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous
View previous topic :: View next topic  
Author Message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Sun May 30, 2004 11:51 am    Post subject: Error loading VDS 3 (and 4) Reply with quote

For some time I've often been having problems loading VDS 3 (same applies to v. 4). I get a program error:

"The instruction at "x (some address)" referenced memory at "x (same address)". Memory could not read.

The program then just bombs out and cannot start. I'm suspecting the Petite compression coz I have the
same problem with another program compressed with Petite.

Anyone got an idea concerning this? A fix, workaround or something coz this really freaks me out.

Greetz
Dr. Dread

PS: OS = WinXP Home + Pro + W2K

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun May 30, 2004 1:16 pm    Post subject: Reply with quote

Do you have the latest builds of all of the versions? Smile
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Sun May 30, 2004 2:03 pm    Post subject: Reply with quote

Of course!

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sun May 30, 2004 2:41 pm    Post subject: Reply with quote

It bombs out pvds too.
I believe it has something to do with COM objects in the VDS runtime which are unchanged in VDS 5 and initially - I think the dll tries to load at a diff address - but after some time it fails. - just my guess.
It has never been fixed - till date - and guess it to be unlikely as it may involve quite some time - and as a side effect it may even benefit - by preventing questions on older VDS versions.

Just to spark discussion - Take no offence

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Sun May 30, 2004 5:54 pm    Post subject: Reply with quote

I seem to recall when working on VDS 5 that I detected something that had been in there since VDS 3 (and possibly earlier) that potentially could cause an access violation during start-up. I think it may have had to do with the DDE unit, but it was a long time ago and I could be wrong about that. Actually there were a few things I found that made me think "how on earth has nobody spotted that!"
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Mon May 31, 2004 8:46 am    Post subject: Reply with quote

I'm having that problem too (when using VDS5) Sad

Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Mon May 31, 2004 9:25 am    Post subject: Reply with quote

I still suspect Petite because the other program I mentioned comes with a compressed and an uncompressed
EXE. The compressed one gives me exactly this error while the uncompressed program always
loads without problems...

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon May 31, 2004 12:17 pm    Post subject: Reply with quote

I thought that VDS 5 wasn't compressed with Petite though this time. Confused
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Mon May 31, 2004 12:24 pm    Post subject: Reply with quote

Even I thought/think so
_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Mon May 31, 2004 1:24 pm    Post subject: Reply with quote

The VDS IDE is not compressed with anything. The run-time DLLs are compressed with UPX.

If it's something to do with OLE, as CodeScript suggests, then it's entirely possible that Microsoft has changed the behavior of some shared DLL so as to disagree with the way Delphi uses it. This would explain why the problem hasn't come to light until now, and why only certain people are seeing it. The VDS IDE doesn't use OLE or ActiveX directly, but the Delphi VCL code that gets called by the IDE code may use it.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Mon May 31, 2004 2:10 pm    Post subject: Reply with quote

Hi Julian

I had mentioned about that problem long time back and if these info help in resolving it:

1. The problem can be traced to the vdsruntime.
2. Almost the same time as IDE bombs out even the stand-alone exes made using older VDS versions like dialog designer etc for example encounters the problem.
3. VDS5 runtime need to be loaded/unloaded several times before the error begins.
4. Inially the error is intermittent but it soon becomes permanent.
5. Once the error starts the older runtime will re-load only after a complete reboot on XP. A logoff and relogin doesn't help.
6. I haven't encountered the problem on Win 98( but I hardly use Win 98 - so not too sure).
7.PVDS is stronger than VDS 3/4 in withstanding the problem.

I think older version of Prakash's VDSIPP (?made in older Delphi version) has the same conflict with VDS 5.x.
This may favour your thinking that it has got something to do with Delphi.
Also something in Global memory etc goes wrong - related to COM objects or otherwise (vds 5 runtime leaves behind something on unload) as the solution is always a complete reboot.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous All times are GMT
Page 1 of 1

 
Jump to:  
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
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group