#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Location
    Sydney, Auatralia
    Posts
    1
    Rep Power
    0

    Calling a non c/c++ written dll in VC++


    Hi guys,

    I am having problems trying to call functions I have written in a delphi dll into my VC++ project.

    As such I think the dll that I created doesn't have any problems but I would really like to try it out. The calling convention I used was the standard cdecl in delphi. Is this Ok?? If so could someone please give me a skeleton of how i was to call a function say func1(data: mydataType, num: integer) that I have written in delphi within VC++? Also as you see mydataType is a data construct I created myself within delphi, how can I keep this construct without running into errors?

    thanks all,
    ice
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,595
    Rep Power
    4207

IMN logo majestic logo threadwatch logo seochat tools logo