Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using DLLs
Message
From
17/02/2004 06:56:55
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00877592
Message ID:
00877880
Views:
30
First Thanks for reply even not a clear message...

Oh!.. Using DLL is a sophisticated issue me plus speaking another language from native (English). I'll try again.

Open Object Browser,
select a DLL,
drag and drop into code editor.
You'll see like that:

I couldn't use these codes (codes below). these codes don't run anything and return .t. alltime. what i must to do?
x=NEWOBJECT("myclass")

DEFINE CLASS myclass AS session OLEPUBLIC

	IMPLEMENTS ISMSSend IN "SMS3ASuiteLib.SMS_SuiteAdapter"

	PROCEDURE ISMSSend_CreateShortMsg() AS VARIANT;
 				HELPSTRING "method CreateShortMsg"
	* add user code here
	ENDPROC

	PROCEDURE ISMSSend_Send(pSMS AS VARIANT) AS VOID;
 				HELPSTRING "method Send"
	* add user code here
	ENDPROC

	PROCEDURE ISMSSend_GetLastError() AS VARIANT;
 				HELPSTRING "method GetLastError"
	* add user code here
	ENDPROC

	PROCEDURE ISMSSend_Terminate() AS VOID;
 				HELPSTRING "method Terminate"
	* add user code here
	ENDPROC

	PROCEDURE ISMSSend_StartListeningEvents() AS VOID;
 				HELPSTRING "method StartListeningEvents"
	* add user code here
	ENDPROC

ENDDEFINE
and a second question. I understood what you said in recent message but which word my dll's reference name on object browser?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform