Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Avoid loading dlls? 2

Status
Not open for further replies.

Robertio

Programmer
Oct 9, 2000
87
GB
Our program uses 3rd party postcode software to retrieve addresses. The problem is that we support multiple pieces of postcode software, and when the program starts up it auto checks for the dlls (the declarations are in definition units) and won't start if it can't find them.

This is inconvenient as the users are likely to only have one of these postcode programs on their machine, so we would have to ship the dlls for each program just so our program can start up.

Anyone know of a way of getting around this problem, by only looking for dlls once the program is up and running? (at which point we will know which dlls we should try to load)


Thanks
 
Cheers muchly, looks like just what I was after, have a star
 
Ever got the feeling you spoke too soon?

Following the above links instructions the program falls over when the dllfunc(parameters) is called it seems to be calling mov [ebx],ax thousands of times, resulting in an access violation.

The routine I am calling in the dll is a function, but that appears to be about the only difference, any ideas?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top