LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-23-2012, 04:09 AM   #1
wwba
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
Question How to create a new GType using dbus-Glib?


Hi,

I'm trying to use the DBUS connection to communicate with the Marxbot medulla. But when I want to use the interface to send a "SetSpeed" event using the method "SendEventName", I need to create a new GTYPE "DBUS_TYPE_G_INIT16_ARRAY" which is an array of int16.

I found this function
"#define DBUS_TYPE_G_INIT16_ARRAY (dbus_g_type_get_collection("GArray",Int16))"
but it doesn't know the type Int16.

Note that I'm writing this code with C and I'm using the library "dbus-glib.h"

Please help me
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dbus-glib-0.98 failed devilboy09 Linux From Scratch 7 12-22-2011 04:01 PM
Using dbus in C (without glib) Elv13 Programming 1 03-14-2009 04:15 PM
dbus-glib-1 -- where to get it from? byte weaver Linux - General 3 02-09-2008 11:16 AM
dbus library with glib binding Micky_123 Programming 5 01-30-2008 05:32 AM
dbus-glib-1 version error when installing xfce4.4 epoo Slackware 2 01-28-2008 01:03 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration