Hi,
I am having problems using dasHard2006.dll with a SIUDI 8C unit I just purchased. I am only trying to make the slmini sample application work. There is no crash, but the DHC_OPEN call always returns -1. The DHC_INIT command returns correctly (so the DLL is found). I am on WinXP SP3, I installed the latest drivers available on the website and everything seemed to install fine. Is there anything I am missing ?
Thanks for any help !
Jeff
Problem with dasHard2006.dll
Moderators: simonB, nick, florent, dylan, Ben
-
- Posts: 2
- Joined: Sun Dec 26, 2010 1:57 pm
Re: Problem with dasHard2006.dll
Update : DHC_INIT is causing an error, not DHC_OPEN. DHC_INIT returns -1 everytime.
Can someone help me please ? (Changing the dll filename makes the app crash so the app finds the dll correctly. Idem for "DasUsbCommand") Here is my code (output: -1, function returns 1) :
Traduction : La commande DHC_INIT me retourne toujours -1. Que puis-je faire ?
Can someone help me please ? (Changing the dll filename makes the app crash so the app finds the dll correctly. Idem for "DasUsbCommand") Here is my code (output: -1, function returns 1) :
Code: Select all
HINSTANCE g_dasusbdll;
typedef int (*DASHARDCOMMAND)(int, int, unsigned char*);
DASHARDCOMMAND DasUsbCommand;
int ref_open;
int HardDllOpen()
{
g_dasusbdll = LoadLibrary(L"DasHard2006.dll");
if (g_dasusbdll){
DasUsbCommand = (DASHARDCOMMAND)GetProcAddress(g_dasusbdll, "DasUsbCommand");
}
if (DasUsbCommand){
Debug::WriteLine(DasUsbCommand(DHC_INIT,0,NULL));
return 1;
}
return 0;
}
Re: Problem with dasHard2006.dll
Hi to all,
I have a SIUDI 8c.
I wrote an application in VB6 for a previous SIUDI 6C that worked in some manner
Driver upgraded
Firmware version 1.08
Using "tools" I'm able to control a sample led light
But:
Using example VB6 project, led light is not controlled enad blinks
I encountered the same error in addition. (-1 in DHC_OUTOFF)
Has anyone some VB6 or C++ code sample of how to correctly use a SIUDI 8C?
Help would be VERY appreciated
I have a SIUDI 8c.
I wrote an application in VB6 for a previous SIUDI 6C that worked in some manner
Driver upgraded
Firmware version 1.08
Using "tools" I'm able to control a sample led light
But:
Using example VB6 project, led light is not controlled enad blinks
I encountered the same error in addition. (-1 in DHC_OUTOFF)
Has anyone some VB6 or C++ code sample of how to correctly use a SIUDI 8C?
Help would be VERY appreciated
Re: Problem with dasHard2006.dll
If you would like to send me an e-mail I'll forward this to the developer responsible for the developer kit
Simon
--
Sales/Support
--
Sales/Support
-
- Posts: 3
- Joined: Wed Nov 18, 2015 12:36 am
Re: Problem with dasHard2006.dll
I know this post is over a year aged. I was able to get the dll to work but need guidance with the standalone
memory mode.
Were you successful with your projects?
memory mode.
Were you successful with your projects?