Your object will have to be created within the DLL and control the object via exported functions.

----- Original Message ----- From: "Charles Parks" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Tuesday, January 11, 2011 6:00 PM
Subject: [RBASE-L] - DLLCall


I have a dll that creates a custom object and gives that object's properties values. I would like to use that object inside of a R:Base program.

I have tried:
set var v1 = (DLCall('SomeDLL.dll','new','12682'))

and I get
-ERROR- DLL function new is not predefined. (3205)

Do I need to change the DLL so that it exports a function instead of an object?

Can I change the STDCall to use custom objects instead of standard data types?

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to search for.
================================================


Reply via email to