BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MidasLib works, midas.dll doesn't (dll is registered)

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Aivar Annamaa
Guest





PostPosted: Wed Mar 30, 2005 12:54 pm    Post subject: MidasLib works, midas.dll doesn't (dll is registered) Reply with 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
Ed Blanchard
Guest





PostPosted: Thu Mar 31, 2005 7:43 pm    Post subject: Re: MidasLib works, midas.dll doesn't (dll is registered) Reply with quote



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





PostPosted: Sat Apr 02, 2005 7:05 am    Post subject: Re: MidasLib works, midas.dll doesn't (dll is registered) Reply with quote




"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





PostPosted: Sun Apr 03, 2005 4:51 pm    Post subject: Re: MidasLib works, midas.dll doesn't (dll is registered) Reply with quote

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





PostPosted: Mon Apr 04, 2005 8:18 am    Post subject: Re: MidasLib works, midas.dll doesn't (dll is registered) Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) 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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.