Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CanNot resolve type in Simphony

Status
Not open for further replies.

fsalinas

Systems Engineer
Oct 3, 2019
13
PR
From the "System Interface Module (SIM) Manual" Release 2.9, I copy and paste the ejample that appear at the end of the appendix F (Windows DLL access).

The C# side define a "TestClass" class and in the SIM side a reference to this class is made with: NetImport SimTest from &"C:\YCS\YcsCard\CMicros\SimTest.dll"

I defined a button link to an event in order to use this class.

The script is as follow:

Code:
NetImport SimTest from &"C:\YCS\YcsCard\CMicros\SimTest.dll"
event inq : 220
    var obj:object = new TestClass()
endevent

When the event is executed, It launch an exception: "CANNOT RESOLVE TYPE"

Any help?
 
I builded the aplication using framework 4.0 and it works
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top