Search found 21 matches
- Mon Mar 15, 2010 1:41 pm
- Forum: C/C++
- Topic: Writing an export function in ec, accepting a pointer
- Replies: 5
- Views: 54766
Writing an export function in ec, accepting a pointer
Hello, Let me start. I need to write a dll with an export function to be called from another C/C++ program. I write following: //library.ec public struct MqlStr {int len; char *string;}; public dllexport int f2(MqlStr * pStr){ return 1; } when I try to call my f2 function from another program - it c...