3,417 Topics
![]() | |
I needed a way to buffer into memory an entire wav sound file to be played back a moments notice, as if for a game. So i created this class, simple instantiate it by passing to it a string and a bool indicating if you should buffer it to memory. … | |
Hi, I am creating as API using XML-RPC in php to fetch a database record that matches id of that record. It works well but i could not fetch all records that matching the criteria unless it returns only one record or the last record. What should be the server … | |
I'm trying to get some user data into an INSERT query using the Mysql C API (don't know if this belongs rather in the Mysql forum, let me know...) I have the following code taking some pointers from the Mysql webpage forum, but to no avail: [CODE] #include <mysql.h> #include … | |
So I'm using Mysql to make a text-to-speech engine. Basically any given phrase by the database is returned to my script, which has to say every word and number, if any, by way of voice . For the voices I'm using Asterisk, but that's another problem of my own lol … | |
Hi, I am trying to embed python in c++. everything is working fine apart from couple of issue. what exactly i am doing is creating an API for C++ functions in my application to be accessible using python script. When i run a script its runs fine and when i … | |
Hi everyone, I have quite a problem. I have a text pane and three menu items which are cut copy and paste. In my textpane i have some text and an embedded icon. when i select all the contents of the textpane and click cut all the contents of the … | |
I need an API function that disconnects the computer from internet! does type of connection matter? eg dial up, adsl or.. :) | |
I've been working on a simple little PyGTK app that shows an icon in the system tray. When you right-click, the pop-up menu appears as expected. However, first the menu appears with just some up and down scroll arrows, and I have to scroll down before it fills in and … | |
Are there any rainbow tables api's available for sha1, crc32 and crc32b. | |
in Windows Task Manager --> Processes there is a list of running exe files. I am going to write a program that lists these running exe files. How can I obtain the list? I use Windows XP :$ & Windows API!:) | |
I have a problem with CJ API. Don't know if this is the right place to ask. The problem is that categories with the same name exist, so when I retrieve advertisers I don't get the correct entries. | |
I have been working with popen to run iwlist and get essid from the output but that is making the code sloppy. Is there an API I could use instead to get SSID and other information? Iwlist is in the package wireless-tools in linux Thanks. | |
Hi Im writing an application that uses the Microsoft Tablet PC api's When im trying to set the FACTOID for an ink recogniser, im getting an OLE Error that i cant seem to find a plausable explanation for The code is this [code] vPicture := (Components[i] as TInkPicture); case vPicture.Tag … | |
Hi Guys I am trying to build a small CMS. One of the features is the ability for users to add a Flickr URL of one of their Flickr albums so it's then embedded in their profile. So I have a field in the users db called flickr_url. I have … | |
Hi There I have come across some code in someone's API that I wish to use myself and I wonder if anyone could advise me on how to use properly.. I am able to call function <?php playerProfile($array); ?> without any return value. Subsequently, in my php I can retrieve … | |
Cause of Problem. Issue is generating from OCI API. When we select same fields multiple times in a query. then OCI API is not returning record count of same table. it is generating/adding new record into same table? i.e if MNAME with VARCHAR2(30) then in new record MNAME field value … | |
when I right click a file ( with .ghh extension) a menu appears in Windows. How can I add a tab to it? when I select the tab my program runs & processes the file. (API programming) | |
Hi, I've just installed GraphicsMagick-1.3.7 under MinGW on Windows Vista OS. I'm trying to compile an exemplary piece of code included in the documentation using the C++ API (Magick++). [code=c++] #include <string> #include <iostream> #include <Magick++.h> using namespace std; using namespace Magick; int main(int /*argc*/,char **/*argv*/) { try { // … | |
I apologize in advance for this being quite a long post... but, any help is great! I have a website (coded in PHP) which publishes content provided by users in a revenue sharing model. We pay each contributor a certain amount for every 1,000 "views" that their articles get. In … | |
I started making a game in XNA and I've also been making a parallel version in Java so that it can run on computers(I know XNA makes PC games but I hear it's primarily a Xbox API...hopefully I haven't gone off topic in the linux forums). Overall I prefer C# … ![]() | |
I am building applications targeting Windows Mobile, I need to read and write files. I am not sure whether to use the C++ standard library (iostreams) or the Windows API (ReadFile(), WriteFile()...). I think the Windows API is faster than the C++ standard library, but they are not object oriented, … | |
Hello, could someone please tell me how to add buttons, list boxes, tabs, etc. to the main window that shows up with the menu when you first create a win32 windows application? I've been searching for this on Google for about two weeks now and keep coming up dry, any … | |
hello ppl, I need your small help regarding my approach.. Coding in :- VB.net database:- Mssql2005 I have an web application(Changepoint a tool for project management) whose database is in mssql they have provided us the web service API's by which we can load the data into their database. e.x. … | |
Hi, how is it possible to make vertices in maya (3d s/w ) react to wind ( dynamic effects ). Brgds, kNish | |
Hi, I am using Dev-C++ 4.9.9.2 with g++ compiler. I recently made a DLL in c++ that shows a window using Windows API. I discovered that the text shown inside are large and bold, which aren't looking very good. I want to change this, so I used the following code … | |
Hey everyone, How would I go about creating a simple chat bot? I have finally just recently got an API running for a chat application called Steam, and I can send and receive messages with this program and moderate everything that goes through, too. So, I was hoping on getting … | |
Hi folks, I have been trying to figure this out for the last few days, and it's really getting me nowhere. I'm pretty new to PHP and really new to cURL. I'm trying to connect to my [URL="http://highrisehq.com/"]highrise[/URL] account via their [URL="http://developer.37signals.com/highrise/"]API[/URL] I'm trying to implement this through php. Browsing … | |
Ok so heres what I am trying to do to help you understand my question. I am making my WINAPI load hidden so it's not in the taskbar and is only running as a process using ShowWindow(hwnd, SW_HIDE) on case WM_CREATE: Now what I am trying to do is make … | |
Hi, I'm completely new to Java, and I'm already lost with the installation. :p I'm on the custom install page and I see Source Code: Source code for classes that comprise the public API of Java. Public JRE: The standalone JRE. Any application can use this JRE. It registers Java … | |
I need to be able to modify the Yahoo maps Ajax API to fill the javascript cities array from my Access database. var cities = [ {name: "3909 N. Ocean Blvd Fort Lauderdale", pop: "7.554.236"}, {name: "Bimini Bahamas", pop: "115.918"}, {name: "Scottsdale Arizona", pop: "587.891"}, {name: "Stamford", pop: "A-1 ALUMINUM … | |
We're trying to have PayPal Express Checkout payment for a shopping cart (for a live website). Once the Authorization is completed, we are able to retrieve the Shipping information [I]GetExpressCheckout[/I] from the Buyer account (we've successfully tested this on sandbox). However, is there any 'billing information' that we can get … | |
I've played around with HTMLEditorKit and HTMLDocument, and while I've managed to do the parsing I needed, I also need the complete source code of the document to pass along to a webkit renderer. Java's existing document throws out some tags after I read it in. [code] HTMLEditorKit kit = … | |
I am trying to code a calculator and I am stuck. How do I set the resultField.setText to values ? [CODE]import java.awt.*; //Contains all of the classes for creating user interfaces and for painting graphics and images import java.applet.*; import java.awt.event.*; //Provides interfaces and classes for dealing with different types … | |
Hello, We've recently developed a PHP library for access to AdWords API. It's a middle-tier tool that helps developers code quickly and interact easily with the AdWords API. It may be very useful in programmers work, but hardly understood by others. We're closely watching the online market to find a … | |
Hi to all, I am developing a traveling web site. In which i am using kayak.com API for searching flights and hotels. The problem with this API is that, In hotel search they are not providing any hotel images in the result XML I have to show images of the … | |
Hi, I read this line in creating window example with win32 API: [CODE]LRESULT CALLBACK WindowProcedure(HWND,UINT,WPARAM,LPARAM);[/CODE] please, can someone explain it to me..! i googled but i can't find enough explanation regards iammfa | |
Hello, I try to use POSIX Message Queue API and in the doc it says that: [CODE]#include <mqueue.h> int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio); [/CODE] [I]The mq_send() function shall add the message pointed to by the argument msg_ptr to the message queue specified by mqdes. The … | |
What if you had access to the millions of tweets that flow to and from Twitter users every day? Perhaps you'd build something like [url=http://www.daniweb.com/news/story240308.html]PostRank[/url], which amasses them along with other data from social media sites to trackcyber-reaction to posted articles. Or maybe you would filter them by demographic and … | |
hi, im doing my final year project. im using some api's. i was reasearching on speaker dependent systems. but i wanted to know about speaker independent AP's but after searching for several hours i realised there are some api's so that the user do not have to do those put … | |
i successfully edited windows registry using java API... BUT THE PROBLEM IS whether i need to reboot os or not... because after editing it has no effect... if i need to reboot then how can i skip it(i strictly dont like to reboot...)... any java snippet available,, plz.... | |
Hii, i am asish.i am an embedded Programmer.i am programming RTOS Q2686 for gps/gprs based vehicle tracking system.i am creating one file management API in C.i am writing with help of A&D API.i am storing some root information in a cell.But when i am reading the root,Entire Cell i am … | |
I am using SWIG to extend Python to C++. Understand that there is a different forum for SWIG users but I am still waiting for a response on that list. But the questions I have consists of basic Python C API releated. I hope this list will be able to … | |
I got this to compile, but it's not popping my Dialog box. The tutorial from [url]www.winprog.org/tutorial[/url] didnt necessarily specify where my AboutDlgProc() is suppose to go ? I assumed it went above the Default but I am unsure... I'm trying to understand why it's not popping my Aboout Dialog when … | |
I am developing an application in asp.net to run on face book. I want to prompt the user to grant various permissions on first login. this is my sample code: [code]List<string> list=new List<string>();[/code] [code] list.Add("publish_stream");[/code] [code] list.Add("email");[/code] [code] this.Api.Auth.Permissions.BeginPermissionsMode(); [/code] [code]this.Api.Auth.Permissions.GrantApiAccess(this.ApiKey.ToString(),list);[/code] [code] this.Api.Auth.Permissions.EndPermissionsMode();[/code] some error #100 is occuring. Is there … | |
Hey everyone, I'm having this problem with the aforementioned API. Here is the code to initialize the common controls i want to use..(commctrl.h is already included in my program) [CODE] INITCOMMONCONTROLSEX icex; icex.dwSize=sizeof(INITCOMMONCONTROLSEX); icex.dwICC=ICC_BAR_CLASSES; InitCommonControlsEx(&icex); [/CODE] However, when I try to build , it gives me this error: [I] 1>tkud.obj … | |
I'm having trouble understanding the concept of an API. Could someone please explain what exactly and API does? A simple code example (if that's possible with this subject) would be really useful and much appreciated. | |
Compiler: DEV BloodShed C++ (latest release) I am following this windows api tutorial and am at this step [url]http://www.winprog.org/tutorial/menus.html[/url] [CODE] //FILE: resource.h // the below code is in a resource.h file // as stated in the instructions. #define IDR_MYMENU 101 #define IDI_MYICON 201 #define ID_FILE_EXIT 9001 #define ID_STUFF_GO 9002 [/CODE] … | |
hi, I use a software called HD-speed to test the speed of my USB hard dirve. when I test the write speed, it destroy the data in my hard dirve. can I restore my data back? I find that the method used by HD_Speed to read/write is the following Win32 … | |
Hi everyone, Daniweb has helped me a lot in the past and for once I haven't found the solution in a previous thread. Here is my issue. I simply cannot figure out what to do to send/receive XML using PHP SOAP functions. It sounds simple enough, but I have been … | |
how do edit windows registry using java... any windows java api is avail.. |
The End.