chesterpolo / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

C# DLLImport Error "mg_set_option" #196

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I build _mongoose.dll successful,but the C# example has some bug.

here bug

public int set_option(string option_name, string option_value)
    {
        return mg_set_option(this.ctx, option_name, option_value);
    }

I'm debug now

Original issue reported on code.google.com by liplke1...@yahoo.com.cn on 21 Oct 2010 at 2:39

GoogleCodeExporter commented 9 years ago
I don't have resources to support C# binding, so you need to fix the problem 
yourself.
First, please look at mongoose.h header file.
There is no mg_set_option() function anymore, so please adhere to the changed 
API.

Original comment by valenok on 15 Nov 2010 at 9:51

GoogleCodeExporter commented 9 years ago
/*******************************************************************************
********
Thank you for your help!
I think the "mongoose" is very good,I will change some code for my project 
in order to support C# ,VB,or compact framework 2.0 ,If I am free.
If I do,I will open source in your web site.

Now I use Appweb lib ,and use json tool for my decode/encode engine with 
Json-c.

So After this project on my hand doing now.
I will do "mongoose" some change with json decode/encode engine for my
next project.

/*******************************************************************************
********

--- 10年11月15日,周一, mongoose@googlecode.com <mongoose@googlecode.com> 
写道:

发件人: mongoose@googlecode.com <mongoose@googlecode.com>
主题: Re: Issue 196 in mongoose: C# DLLImport Error "mg_set_option"
收件人: liplke1224@yahoo.com.cn
日期: 2010年11月15日,周一,下午5:52

Original comment by liplke1...@yahoo.com.cn on 18 Nov 2010 at 7:40