|
|
| Author |
Message |
< Erlang ~ erl_interface troubles |
| duqueGZ |
Posted: Mon May 28, 2012 3:11 pm |
|
|
|
Joined: 28 May 2012
Posts: 2
|
Hello.
I'm having some troubles using erl_interface.
I have a C++ program where I receive (in a void *, let's call it bufp from here on advance) a payload with the binary representation of an erlang term, generated by another Erlang program (on the example I'm trying with, the term is a tuple with two elements).
I make a cast to an unsigned char * so I can use this payload containing an erlang term with the erl_interface functions.
If I use erl_ext_size and erl_ext_type, I am able to verify in my C++ code that bufp contains a tuple with two elements. Until here, all work fine for me.
But when I try to use erl_decode for decode this payload to an ETERM *, I obtain NULL as result of erl_decode function. And I don't understand the reason.
Can anyone help me? Thanks in advance! |
|
|
| Back to top |
|
| duqueGZ |
Posted: Wed May 30, 2012 8:03 am |
|
|
|
Joined: 28 May 2012
Posts: 2
|
I think I have just found the problem in my program, so I don't need help with this issue anymore.
Thanks! |
|
|
| Back to top |
|
| number |
Posted: Mon Jun 04, 2012 8:23 am |
|
|
|
User
Joined: 04 Jun 2012
Posts: 18
|
|
| Back to top |
|
| dongdongwu |
Posted: Thu Sep 20, 2012 5:46 am |
|
|
|
User
Joined: 19 Sep 2012
Posts: 236
|
His good friend Diane said: "Christian Louboutin Men Shoes was a magician, he make shoes is immediately put his female people with legs and advantage. He understands women wanted to do and can make them into beautiful Cinderella." Madonna often in its concert wearing Christian louboutin high heels , and some famous superstar like Angelina jolie, mariah Carey, beyonce Knowles, the famous Japanese singer YaYouMei Hamasaki helps Christian Louboutin Men Shoes set up its powerful position. The youngest customers will count Tom cruise's daughter sully cruz. Louboutin made for only a pair of handmade Christian Louboutin high heel Shoes! Want to be more fashion? Put on Christian Louboutin Outlet !
Candy colors of the chalaza high-heeled shoes with lolita type allure, set full finely gem blue "neon shoes" is to need to use "sexy" to describe. Each pair are worth careful appreciation of lithe and graceful fairy ludaoli, what kind of most let you move?Christian Louboutin Men Shoes that one brush red is always cannot resist the temptation, Christian Louboutin men outlet continue to use the days of high 8cm above slender heel proclaim the sexy and luxuriant. The bowknot on black pointed high-heeled shoes with sharp rivet concomitant, wild python met enchanting color printing grain, It is that pairs of high-heeled shoes lets Carrie more feminine flavour. Like Christian Louboutin for men her word. |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|