Does anybody knows how to pass parameters to DLL, maked with MinGw GCC/G++ compiler. I tried diferent calling conventions (__stdcal, __cdecl, __pascal), but always i resieve 1-st parameter=pcount, second=1st caled, third=Something (usualy 1), forth=2nd caled, 5th=something(usualy 1) and so on. VO program works fine if i modify only return value, if i try to modifi value of parameter (via PTR) i recieve Access Violation.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.