Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-24-2011, 02:58 PM
Junior Member
 
Join Date: Jul 2011
Posts: 1
Smile C # DLL import And Unity3D Web Player in Swfkit

Hi All:
1: swfkit, you can info Unity3d Web Player do? If you can, please send code to me?

2: How do I correct the C # DLL import in Swfkit

C # code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TestCom {
public class StrAddClass {
public string testStr (string str1, string str2) {
return "Messages:" + str1 + str2;
}
}
}


ffish code:

var mydll = getAdditionalFile ("TestCom.dll");
dllimport mydll stdcall String StrAddClass ();
var Test = StrAddClass ();
trace ("Test =" + testStr ("hello", "Swfkit"));


Erorr takes place after preview:

Warning: using undefined variable "StrAddClass"
Warning: call a undefined function
Warning: using undefined variable "testStr"
Warning: call a undefined function
Test = undefined

I am a beginner, looking for Swfkit Dll function using a custom method, hope you give me help, thanks!

My English is very poor, more than the contents of the translation software from google ^ _ ^
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:18 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.