AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Problem importing a type library

Ein Thema von Mr.Sade · begonnen am 24. Jun 2003 · letzter Beitrag vom 25. Jun 2003
Antwort Antwort
Seite 1 von 2  1 2      
Mr.Sade

Registriert seit: 25. Feb 2003
17 Beiträge
 
Delphi 6 Enterprise
 
#1

Problem importing a type library

  Alt 24. Jun 2003, 18:17
Hello,
I dont know if this is the right place to ask this.

I am trying to use a type library on delphi 6.
The problem is that delphi6 ask me to choose a file.
This is a registered type library that is not inside a exe, dll, tlb, etc.
Using Visual Basic I have no problem because the type library shows in the list, but in delphi6 it does not show.

the type library is "Messenger API Type Library"
Thank You
Mr.Sade
  Mit Zitat antworten Zitat
Benutzerbild von 1PM
1PM

Registriert seit: 27. Dez 2002
Ort: Ludwigshafen
145 Beiträge
 
#2
  Alt 24. Jun 2003, 19:19
Is it possible, the type libary couldn't be used in Delphi?


Greets
1PM
How can I know what I think before I hear what I say?
  Mit Zitat antworten Zitat
Benutzerbild von S - tefano
S - tefano

Registriert seit: 16. Dez 2002
Ort: Dülmen
477 Beiträge
 
Delphi 2009 Professional
 
#3
  Alt 24. Jun 2003, 19:27
Hello,

well, if that type library is not inside a exe, dll, tlb, etc., where is it then?
Is it a kind of an ActiveX-Library, maybe in an .ocx file?
What kind of library is it? Maybe it is just a Unit (.pas / .dcu) which only has to be "written" into the uses-List...

Yours,

S - tefano
"Sir, we are surrounded!" - "Excellent, we can attack in every direction!"
  Mit Zitat antworten Zitat
Mr.Sade

Registriert seit: 25. Feb 2003
17 Beiträge
 
Delphi 6 Enterprise
 
#4
  Alt 24. Jun 2003, 19:40
I dont know.
this is a library that controls the msn messenger 6 from Microsoft.
maybe delphi does not support this kind of libraries, because delphi does not show all registered types.

with visual basic or visual c, I have no problem, because the library shows in their list of type libraries.
I this microsoft is hiding it, so it can not be use with third party software, like delphi, and they work with Microsoft products maybe.
Mr.Sade
  Mit Zitat antworten Zitat
Benutzerbild von S - tefano
S - tefano

Registriert seit: 16. Dez 2002
Ort: Dülmen
477 Beiträge
 
Delphi 2009 Professional
 
#5
  Alt 24. Jun 2003, 19:59

I don't understand how it is possible that you don't know the type / kind of that library when there are noe problems importing it in visual basic / visual c...
Maybe it is helpful for us to know how you import that library in visual basic oder visual c.
"Sir, we are surrounded!" - "Excellent, we can attack in every direction!"
  Mit Zitat antworten Zitat
Mr.Sade

Registriert seit: 25. Feb 2003
17 Beiträge
 
Delphi 6 Enterprise
 
#6
  Alt 24. Jun 2003, 20:10
in visual basic or visual c I dont import anything, the library is already in the list.
Mr.Sade
  Mit Zitat antworten Zitat
Benutzerbild von S - tefano
S - tefano

Registriert seit: 16. Dez 2002
Ort: Dülmen
477 Beiträge
 
Delphi 2009 Professional
 
#7
  Alt 24. Jun 2003, 20:43
Hmmm...
trying to find a solution a little bit difficult in that case. I have never used visual basic or visual c before. Maybe there is a function for exporting libraries, or a "place" in the settings where the paths to the libraries are saved. So you could find out where the library is located, or if it's probably an ActiveX control.
ActiveX controls can be imported via "component->import activex control" in delphi.
"Sir, we are surrounded!" - "Excellent, we can attack in every direction!"
  Mit Zitat antworten Zitat
Mr.Sade

Registriert seit: 25. Feb 2003
17 Beiträge
 
Delphi 6 Enterprise
 
#8
  Alt 24. Jun 2003, 20:59
yeah in vb the path is like this
D:\Program File\Messenger\msmsgr.exe\3

when I try to import the library in delphi using this file D:\Program File\Messenger\msmsgr.exe another library appears, but I need another one.
Mr.Sade
  Mit Zitat antworten Zitat
Benutzerbild von S - tefano
S - tefano

Registriert seit: 16. Dez 2002
Ort: Dülmen
477 Beiträge
 
Delphi 2009 Professional
 
#9
  Alt 24. Jun 2003, 21:41
Is it really 'msmgr.exe' + '\3' ?
Maybe the library you're searching for is compiled into the .exe as a resource which is extracted at runtime. Like for expample the moricons.dll wicht contains many icons.
You'll probably be able to get your library out of the .exe by using a kind of resource-manager or something like that...
Unfortunately I have no idea how that could be done in detail.
Maybe one of the other members are able to help you there...

Yours,

S - tefano
"Sir, we are surrounded!" - "Excellent, we can attack in every direction!"
  Mit Zitat antworten Zitat
Benutzerbild von sakura
sakura

Registriert seit: 10. Jun 2002
Ort: München
11.412 Beiträge
 
Delphi 11 Alexandria
 
#10
  Alt 24. Jun 2003, 21:51
Do you have the latest updates on Delphi 6. THe version, that shipped originally, as well as the first update have this bug importing a type library, update 2 should resolve it.

......
Daniel W.
Ich bin nicht zurück, ich tue nur so
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 1 von 2  1 2      


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 12:35 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz