View previous topic :: View next topic |
Author |
Message |
DanTheMan Contributor
Joined: 15 Mar 2002 Posts: 56 Location: Sweden
|
Posted: Thu Apr 04, 2002 12:51 pm Post subject: VDS 4.50 and Win95 |
|
|
Seemes to be a problem with the externals when using Win95 & VDS 4.50
My app. using one external, external vdsdll.dll, *regcode*
Everything workes fine on Win98, Win2000 but I get an Error 28 when
running on Win95. I've moved the .dll to both c:\windows and c:\windows\system and to my application directory, but with no luck ??
HELP !!!
Tackar!
DanThe.... |
|
Back to top |
|
|
Serge Professional Member
Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Thu Apr 04, 2002 1:53 pm Post subject: |
|
|
Did you by chance read my post? I have the same problem!!!
I have isolated a problem that i think points to a bigger one - doing a @windir() on W95 returns c:\:\windows. I have a similar problem with
and
My program runs well under W98/ME but not W95. What seems to help is to use @shortname() all the time eg.
Code: | @shortname(@windir())
|
I placed a post but no one has gotten back to me as yet so . . .?!??! May be no one is using VDS 4.5 and W95!?!??!?!?
Serge _________________
|
|
Back to top |
|
|
Serge Professional Member
Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Thu Apr 04, 2002 2:10 pm Post subject: |
|
|
Let me clarify my findings. I had code that gave me the same error message when trying to load the dll file. The code works under W98/ME but not 95.
Prior to loading the dll file via the EXTERNAL command, i had:
Code: | directory change, @path(%0) |
I assume that if the directory change was not completed successfully, then my program could not load the dll file and it would give me the correct error that the dll file is missing. I did not put in a check that the directory change was effected as i assumed that it would be ok!
I found out earlier that @windir() returned c:\:\windows. But using @shortname(@windir()) worked ok.
So, putting the 2 together, i assume that there is a problem with VDS and W95 when it comes to these commands/functions: @windir(), @path(%0), directory change.
Can you confirm these findings? I don't run W95 and hence cannot confirm these findings - i am going on what a beta tester for me has told me.
Can you also check if @shortname(@windir()) works ok, and @shortname(@path(%0)) too?
Hope all this makes sense.
I placed a querry concerning these matters at the VDS forum and am waiting for an answer,
Serge _________________
|
|
Back to top |
|
|
Henrik Valued Newbie
Joined: 09 Jul 2000 Posts: 35 Location: Copenhagen, Denmark
|
Posted: Thu Apr 04, 2002 6:35 pm Post subject: |
|
|
Hey !
Hopefully this only pertains to VDS 4.5 / VDS running on windows 95 ?
Henrik _________________ Henrik Skov
Email: henrikskov@mail.dk |
|
Back to top |
|
|
Serge Professional Member
Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Sun Apr 07, 2002 1:05 am Post subject: |
|
|
It appears that Win95 is happy to load dll's using EXTERNAL but not all dll's are happy to be loaded. The one i had trouble with is vdsutil.dll and gave up on trying to get it loaded.
I don't know enough about dll's to know why some can be loaded while others can't under Win95.
Hope this helps,
serge _________________
|
|
Back to top |
|
|
|