CPB Mailing List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GetProcAddress



I have not looked but I am sure that somewhere in BCB compiler options
there is a setting as to whether or not to generate underscores.  It is
quite common for c compilers to generate underscores.

There are all kinds of issues associated with name mangling and DLL
calls.  As for your last question - you could do as I have had to.  Use
implib on the DLL to get an import libray and impdef to generate a def
file so you can see what the function names are actually generated as.
Also the same applies for supplying DLL's.  We usually supply two
different import libraries - one with underscores and one without.

Aint life grand :-)

-- Mike

//------------------------------------------------------------------------------------------
// That which does not kill you, can still irritate you alot :-)
//------------------------------------------------------------------------------------------


W Komornicki's Home Page | Main Index | Thread Index