CPB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Strange thing about Dll
Hi everyone!
Using BCB3 I've made an application (.exe file) that calls some functions
from a Dll. That Dll I've also made using BCB3.
I included .lib file for this Dll in the project for my .exe.
Now strange thing happens sometimes:
I modify some function in my Dll. I DO NOT modify its declaration, return
type, calling convention etc!
I ONLY modify its body! One even does not need to re-link any exe file
which uses that Dll after such modification of the Dll, right?
HOWEVER, when after such modification of my Dll I re-link my .exe file
(which uses that Dll) and try to run it I quite often can't run it at all!
It fails with "Access violation" exception somewhere before WinMain, namely
somewhere near the label VCL_Linkage or something like this.
Am I doing something wrong? Am I mistaken? Has anyone experienced such a
problem?
(I do not use Strings as parameters or return types , be sure :-))
W Komornicki's Home Page |
Main Index |
Thread Index