Lost Password?


Go Back   CodeCall Programming Forum > Software Development > General Programming

General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-28-2006, 09:42 AM
roger roger is offline
Newbie
 
Join Date: May 2006
Posts: 16
Rep Power: 10
roger is on a distinguished road
Arrow ListAll not working?

Has anyone successfully used the ListAll() function under Linux?

No matter what I do it always returns -1 and fails to fill in the parameters. Immediately before it I'm doing a GetFirmwareVersion() which gives the right result.

Here's the code:

long productIDList[127];
long serialnumList[127];
long localIDList[127];
long powerList[127];
long calMatrix[127][20];
long numberFound;
long res1, res2;

memset(productIDList, 0, 127*sizeof(long));
memset(serialnumList, 0, 127*sizeof(long));
memset(localIDList, 0, 127*sizeof(long));
memset(powerList, 0, 127*sizeof(long));
memset(calMatrix, 0, 127*20*sizeof(long));
numberFound = 0;
res1 = 0;
res2 = 0;

long res = ListAll(productIDList, serialnumList, localIDList, powerList, calMatrix, &numberFound, &res1, &res2);
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 05-28-2006, 01:20 PM
RobSoftware RobSoftware is offline
Programmer
 
Join Date: Nov 2005
Posts: 143
Rep Power: 12
RobSoftware is on a distinguished road
Default

This looks like C++, is that right?
What is the ListAll function?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not working... Cosmet C and C++ 1 12-21-2006 10:27 PM
Timer component not working in Service Application smith C# Programming 5 11-28-2006 09:22 AM
Working with TADO Table MrDiaz Pascal/Delphi 0 07-03-2006 07:28 PM
Line breaks not working dirkfirst PHP Forum 4 06-16-2006 06:20 PM
Why this isnt working? Creature Java Help 1 06-16-2006 08:23 AM


All times are GMT -5. The time now is 01:36 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 98%

Ads