Problem with dasHard2006.dll

SUITE2-BC SUITE2-EC SLESA-U8

Moderators: simonB, nick, florent, dylan, Ben

Post Reply
jflavoie
Posts: 1
Joined: Mon May 24, 2010 2:13 pm

Problem with dasHard2006.dll

Post by jflavoie » Tue May 25, 2010 12:55 pm

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

guillaumesmo
Posts: 2
Joined: Sun Dec 26, 2010 1:57 pm

Re: Problem with dasHard2006.dll

Post by guillaumesmo » Fri Jan 21, 2011 8:22 pm

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) :

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;
}
Traduction : La commande DHC_INIT me retourne toujours -1. Que puis-je faire ?

marcoardi
Posts: 2
Joined: Thu Oct 23, 2014 6:47 pm

Re: Problem with dasHard2006.dll

Post by marcoardi » Thu Oct 23, 2014 6:53 pm

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

simonB
SuperMaxi Forumor
Posts: 1630
Joined: Thu Sep 17, 2009 1:50 pm

Re: Problem with dasHard2006.dll

Post by simonB » Thu Oct 30, 2014 11:14 am

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

rcourtney319
Posts: 3
Joined: Wed Nov 18, 2015 12:36 am

Re: Problem with dasHard2006.dll

Post by rcourtney319 » Wed Dec 16, 2015 10:30 pm

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?

Post Reply