www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - linking works with windows Dll, but access violations occur

reply OK <HerrSauronII lavabit.com> writes:

I followed the recommended threads on linking windows Dlls
Using the described tool "coffimplib" I was able to link to executables.

However, sometimes when using function from the windows library I get :
object.Error: Access Violation
during execution.
Is this problem known to someone and is there some standard solution
(I guess not :()

Best regards, Oliver
Sep 07 2010
parent Kagamin <spam here.lot> writes:
You probably mess calling convention.
Sep 07 2010