 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Aivar Annamaa Guest
|
Posted: Wed Mar 30, 2005 12:54 pm Post subject: MidasLib works, midas.dll doesn't (dll is registered) |
|
|
Hi!
I used to compile midas into my application exe with MidasLib unit.
Then I wanted to reduce the size of main exe and took MidasLib out and
deployed exe with midas.dll.
After this change most users noticed no difference but one usert can't start
application anymore: "program has generated errors and ....". When I put
MidasLib back then it works again.
I guess this user had previously midas.dll in another directory, but not
anymore.
I use InnoSetup for installing application with midas.dll and I suppose the
installer does the registration of all dll-s. I also tried to register
midas.dll manually (regsvr32 "c:program filesMyProgmidas.dll"), it said
registration successful but it didn't help. Program is run and dll
registration is done under non-admin user on win2000.
When I use DependencyWalker on my application exe then everything seems OK.
Where should I look next?
thanks in advance!
Aivar
|
|
| Back to top |
|
 |
Ed Blanchard Guest
|
Posted: Thu Mar 31, 2005 7:43 pm Post subject: Re: MidasLib works, midas.dll doesn't (dll is registered) |
|
|
In article <424aa16d (AT) newsgroups (DOT) borland.com>, [email]aivar.annamaa (AT) reg (DOT) agri.ee[/email]
says...
| Quote: | Hi!
I used to compile midas into my application exe with MidasLib unit.
Then I wanted to reduce the size of main exe and took MidasLib out and
deployed exe with midas.dll.
After this change most users noticed no difference but one usert can't start
application anymore: "program has generated errors and ....". When I put
MidasLib back then it works again.
I guess this user had previously midas.dll in another directory, but not
anymore.
I use InnoSetup for installing application with midas.dll and I suppose the
installer does the registration of all dll-s. I also tried to register
midas.dll manually (regsvr32 "c:program filesMyProgmidas.dll"), it said
registration successful but it didn't help. Program is run and dll
registration is done under non-admin user on win2000.
When I use DependencyWalker on my application exe then everything seems OK.
Where should I look next?
|
This might be too obvious, but are you using the same version of
midas.dll on user's workstation as you have on development PC when using
midaslib?
EdB
|
|
| Back to top |
|
 |
Aivar Annamaa Guest
|
Posted: Sat Apr 02, 2005 7:05 am Post subject: Re: MidasLib works, midas.dll doesn't (dll is registered) |
|
|
"Ed Blanchard" <edwardb at sgci dot com> wrote
| Quote: | In article <424aa16d (AT) newsgroups (DOT) borland.com>, [email]aivar.annamaa (AT) reg (DOT) agri.ee[/email]
says...
Hi!
I used to compile midas into my application exe with MidasLib unit.
Then I wanted to reduce the size of main exe and took MidasLib out and
deployed exe with midas.dll.
After this change most users noticed no difference but one usert can't
start
application anymore: "program has generated errors and ....". When I put
MidasLib back then it works again.
I guess this user had previously midas.dll in another directory, but not
anymore.
I use InnoSetup for installing application with midas.dll and I suppose
the
installer does the registration of all dll-s. I also tried to register
midas.dll manually (regsvr32 "c:program filesMyProgmidas.dll"), it
said
registration successful but it didn't help. Program is run and dll
registration is done under non-admin user on win2000.
When I use DependencyWalker on my application exe then everything seems
OK.
Where should I look next?
This might be too obvious, but are you using the same version of
midas.dll on user's workstation as you have on development PC when using
midaslib?
EdB
|
Yeah, they both came with my Delphi.
|
|
| Back to top |
|
 |
Ed Blanchard Guest
|
Posted: Sun Apr 03, 2005 4:51 pm Post subject: Re: MidasLib works, midas.dll doesn't (dll is registered) |
|
|
In article <424e4429 (AT) newsgroups (DOT) borland.com>, [email]aivarannamaa (AT) hotmail (DOT) com[/email]
says...
| Quote: | I guess this user had previously midas.dll in another directory, but not
anymore.
I use InnoSetup for installing application with midas.dll and I suppose
the
installer does the registration of all dll-s. I also tried to register
midas.dll manually (regsvr32 "c:program filesMyProgmidas.dll"), it
said
registration successful but it didn't help. Program is run and dll
registration is done under non-admin user on win2000.
When I use DependencyWalker on my application exe then everything seems
OK.
Where should I look next?
This might be too obvious, but are you using the same version of
midas.dll on user's workstation as you have on development PC when using
midaslib?
EdB
Yeah, they both came with my Delphi.
|
Have you searched through registry for "midas.dll" - maybe you can find
if there was another directory used (c:winntsystem32 is a pretty good
bet). If so, drop midas.dll in that path (if it isn't already there) and
"deregister" with regsvr32 /u "pathmidas.dll"
You might need admin rights for this.
Then register manually.
EdB
|
|
| Back to top |
|
 |
Jan Doggen Guest
|
Posted: Mon Apr 04, 2005 8:18 am Post subject: Re: MidasLib works, midas.dll doesn't (dll is registered) |
|
|
Hello Aivar
As Ed suggested, check the existence of other versions of midas.dll on the
disk.
I have had terrible errors when I had different version in the borland
directory and the system32 directory ;-)
Jan
"Aivar Annamaa" <aivar.annamaa (AT) reg (DOT) agri.ee> wrote
| Quote: | Hi!
I used to compile midas into my application exe with MidasLib unit.
Then I wanted to reduce the size of main exe and took MidasLib out and
deployed exe with midas.dll.
After this change most users noticed no difference but one usert can't
start
application anymore: "program has generated errors and ....". When I put
MidasLib back then it works again.
I guess this user had previously midas.dll in another directory, but not
anymore.
I use InnoSetup for installing application with midas.dll and I suppose
the
installer does the registration of all dll-s. I also tried to register
midas.dll manually (regsvr32 "c:program filesMyProgmidas.dll"), it said
registration successful but it didn't help. Program is run and dll
registration is done under non-admin user on win2000.
When I use DependencyWalker on my application exe then everything seems
OK.
Where should I look next?
thanks in advance!
Aivar
|
|
|
| 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
|
|