Click here to Skip to main content
15,914,410 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can we set BackGround Color & Text Color in the ListBox? Pin
valikac7-Oct-02 10:28
valikac7-Oct-02 10:28 
GeneralRe: How can we set BackGround Color & Text Color in the ListBox? Pin
Anonymous7-Oct-02 14:03
Anonymous7-Oct-02 14:03 
GeneralRe: How can we set BackGround Color & Text Color in the ListBox? Pin
valikac7-Oct-02 15:29
valikac7-Oct-02 15:29 
GeneralStatically link .lib file Pin
Wim Jans7-Oct-02 9:33
Wim Jans7-Oct-02 9:33 
GeneralRe: Statically link .lib file Pin
Joaquín M López Muñoz7-Oct-02 9:38
Joaquín M López Muñoz7-Oct-02 9:38 
GeneralRe: Statically link .lib file Pin
Navin7-Oct-02 10:55
Navin7-Oct-02 10:55 
GeneralRe: Statically link .lib file Pin
Chris Losinger7-Oct-02 11:53
professionalChris Losinger7-Oct-02 11:53 
GeneralRe: Statically link .lib file Pin
Wim Jans8-Oct-02 2:26
Wim Jans8-Oct-02 2:26 
Hi,

Thanks for your answer. Everything is very clear to me now, but I still have one question.
As Oracle moves along to new versions, they tend to rename the dll's too.
So I used a Oracle 8i lib file, but I tried the program on a computer which had a Oracle 7 client installed and the program failed, because some dll's had the version number in their name.

So, the best way to go is to use LoadLibrary and GetProcAddress as you pointed out.
Now, my question is: is it possible to generate some sort of a header file out of a lib file. Although the dll names changed over time, the actual function names stayed the same.

So if I should be able to generate a header file, which maps the dll functions to a GetProcAddress(..., ...), the only thing I have to write then is a LoadLibrary part.



Wim
GeneralUsing checkboxes only in certain items of a listctrl (using the standard listctrl) Pin
Joan M7-Oct-02 9:28
professionalJoan M7-Oct-02 9:28 
GeneralRe: Using checkboxes only in certain items of a listctrl (using the standard listctrl) Pin
Max Santos7-Oct-02 12:16
Max Santos7-Oct-02 12:16 
GeneralObject Design Question Pin
Richard Longhorn McHoney7-Oct-02 9:17
sussRichard Longhorn McHoney7-Oct-02 9:17 
GeneralRe: Object Design Question Pin
Joaquín M López Muñoz7-Oct-02 9:31
Joaquín M López Muñoz7-Oct-02 9:31 
GeneralRe: Object Design Question Pin
Richard Longhorn Mchony7-Oct-02 13:37
sussRichard Longhorn Mchony7-Oct-02 13:37 
GeneralRe: Object Design Question Pin
Paul M Watt7-Oct-02 20:17
mentorPaul M Watt7-Oct-02 20:17 
GeneralClistctrl and insertItem Pin
ns7-Oct-02 9:08
ns7-Oct-02 9:08 
GeneralRe: Clistctrl and insertItem Pin
Joaquín M López Muñoz7-Oct-02 10:04
Joaquín M López Muñoz7-Oct-02 10:04 
GeneralRe: Clistctrl and insertItem Pin
ns8-Oct-02 1:15
ns8-Oct-02 1:15 
GeneralQuick SDI Question Pin
Anonymous7-Oct-02 9:02
Anonymous7-Oct-02 9:02 
GeneralRe: Quick SDI Question Pin
Jörgen Sigvardsson7-Oct-02 10:02
Jörgen Sigvardsson7-Oct-02 10:02 
GeneralRe: Quick SDI Question Pin
Anonymous7-Oct-02 10:12
Anonymous7-Oct-02 10:12 
Generalc++ to c# question Pin
Duckworth7-Oct-02 8:57
Duckworth7-Oct-02 8:57 
GeneralRe: c++ to c# question Pin
Jörgen Sigvardsson7-Oct-02 10:09
Jörgen Sigvardsson7-Oct-02 10:09 
GeneralSerial Ports and WaitCommEvent( ) Pin
SportyDan7-Oct-02 8:35
SportyDan7-Oct-02 8:35 
GeneralRe: Serial Ports and WaitCommEvent( ) Pin
Joaquín M López Muñoz7-Oct-02 9:56
Joaquín M López Muñoz7-Oct-02 9:56 
Questionwhat's wrong here? Pin
Kash7-Oct-02 8:29
Kash7-Oct-02 8:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.