DLL DLL DLL DLL DLL DLL 
Author Message
 DLL DLL DLL DLL DLL DLL

Hello Visual Basic programmer,

I have a question about DLL's.

for example:
Installing Word for Windows on a PC (using his own COMPDLG.DLL).

Installing my beautiful program in a subdirectory  to copuy all the DLL and
OCX etc.

Starting Word, great it workes perfect.
Ouit Word.

Start MyProgram, great it workes perfect.
I still have my program active when I start Word and Word workes perfect.

Quit Word and Quit MyProgram.

Start Word and then start MyProgram, MyProgram comes with the error that
the COMPOBJ.DLL is an old version.

Please help me.

Does anybody Know how to solve this problem??????

Frank



Mon, 31 May 1999 03:00:00 GMT  
 DLL DLL DLL DLL DLL DLL

You have your CompObj.DLL in the directory with your program.

Start your program and that CompObj.DLL is loaded.

Start Word and it has no problems with the newer version of CompObj.DLL.

Close both. There are no references to your newer CompObj.DLL, so it is unloaded
from memory.

Start Word. It loads CompObj.DLL from Windows\System -- the older CompObj.DLL is
now in memory.

Try to start your program. CompObj.DLL is already running in memory, so yours is
not loaded. But the one in memory is older, and your program can't use it. Ergo,
error.

Solution -- copy your newer CompObj.DLL to Windows/System. (Save the old one
elsewhere, just in case)

  >Hello Visual Basic programmer,

  >I have a question about DLL's.

  >for example:
  >Installing Word for Windows on a PC (using his own COMPDLG.DLL).

  >Installing my beautiful program in a subdirectory  to copuy all the DLL and
  >OCX etc.

  >Starting Word, great it workes perfect.
  >Ouit Word.

  >Start MyProgram, great it workes perfect.
  >I still have my program active when I start Word and Word workes perfect.

  >Quit Word and Quit MyProgram.

  >Start Word and then start MyProgram, MyProgram comes with the error that
  >the COMPOBJ.DLL is an old version.

  >Please help me.

  >Does anybody Know how to solve this problem??????

  >Frank



Tue, 01 Jun 1999 03:00:00 GMT  
 DLL DLL DLL DLL DLL DLL

Quote:

> Hello Visual Basic programmer,

> I have a question about DLL's.

> for example:
> Installing Word for Windows on a PC (using his own COMPDLG.DLL).

> Installing my beautiful program in a subdirectory  to copuy all the DLL and
> OCX etc.

> Starting Word, great it workes perfect.
> Ouit Word.

> Start MyProgram, great it workes perfect.
> I still have my program active when I start Word and Word workes perfect.

> Quit Word and Quit MyProgram.

> Start Word and then start MyProgram, MyProgram comes with the error that
> the COMPOBJ.DLL is an old version.

> Please help me.

> Does anybody Know how to solve this problem??????

> Frank

I guess You have 2 versions of Compobj.dll.
Because: When You first load a dll, it resides in memory, and other
programs calling this dll get it from memory instead of loading a new
copy.

Out of Your info above, I guess that the WORD version of the dll is the
old version.

Check if Compobj.dll are in the word-directory, and then check the date
of the dll.

E.g: search for the occurence of compobj.dll on Your HD, if several
copy's then
put the newest one to WINDOWS\SYSTEM-directory. But beware:

( take care that You still have a copy of the different dll's, cause the
DATES could be changed.)

Or even better:
In FIlemanager You might hold down [ALT] key, and then doubleclick the
file, to see
the version-info.
Put the higest version to WIN\SYS -dir and delete the other ones. ( keep
a backup for safety, thoug...)

Hope this helps.
______________________________________________________
Asbjoern Aamot   ( or in norwegian: Asbj?rn Aamot)
Snailmail: P.b. 562  N-6901 Floroe   (N-6901 Flor? )
Telephone: +47 90 07 05 40



Tue, 01 Jun 1999 03:00:00 GMT  
 DLL DLL DLL DLL DLL DLL

Quote:

>Starting Word, great it workes perfect.
>Ouit Word.

>Start MyProgram, great it workes perfect.
>I still have my program active when I start Word and Word workes perfect.

>Quit Word and Quit MyProgram.

>Start Word and then start MyProgram, MyProgram comes with the error that
>the COMPOBJ.DLL is an old version.
>Does anybody Know how to solve this problem??????

I suspect that Word has it's own version, that's OK for Word, but too
old for your program. Obviously, the newer version is OK for both.

So, you must have two different files with the same filename somewhere
on your hard drive.

Delete the older version, and make sure that the other one is
available for all programs, so put it in the Windows or System
directory or so. BTW neither program may run at that time.

Now, everything should work alright.

Gent (Ghent, Gand), Belgium,
Europe,
3rd planet from the sun.



Thu, 03 Jun 1999 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Problems building install file - AutPrx32.dll, AutMgr32.dll, RACMGR32.dll, CLIREG32.exe NOT FOUND

2. REQ: OLEPRO32.DLL, MFC40.DLL, MSVCRT40.DLL from VB4.0 Standard CD

3. MSVCRT.DLL, MSVCRT20.DLL and MSVCRT40.DLL

4. Anyone knows where I can find declarations for shell32.dll, kernel32.dll, comcat.dll and gdi32.dll?

5. Jet VBA File (VBAJet.dll VBAJet32.dll) Initialization failure

6. Vbajet32.dll & vbajet.dll

7. DLL MSLDBUSR.DLL

8. DLL MSLDBUSR.DLL

9. Check DLL-File (Exist DLL-File?)

10. Office2k: vbe6intl.dll / Sprach-dll

11. VB6 DLLs and Windows 2000 DLLs

12. Looking for Emsmdb32.dll DLL

 

 
Powered by phpBB® Forum Software