The Corsair User Forums  

Go Back   The Corsair User Forums > Corsair Product Discussion > Corsair Utility Engine (CUE) 1.x and 2.x > CUE 1.x and 2.x SDK

Thread Tools Search this Thread Rate Thread Display Modes
Old 09-19-2015, 10:42 AM
cosacee cosacee is offline
Registered User
Join Date: Sep 2015
Posts: 8
POST ID # = 808834
cosacee Reputation: 10
Default sdk help (VB6?)

hi now that the SDK has been released and i do not know C++ , C or Lua i was hoping someone could write up a little simple function to handshake(if its required) with a k70 RGB in Visual Basic 6 i kind of have a rough idea the functions and subs need called separately but i was having trouble understanding the SDK manual because it seems primarily written for the C language and not having an understanding makes it quite hard, if i could get to grips to the way the SDK and dll interacts with Visual Basic maybe just a simple few ways to turn on a led or maybe a few by assigned key press it would help me on my way to learning more. If anyone can help feel free to post here or send me a PM thanks alot guys (and girls!) this kind of gives the idea of what i need...

Declare Function CorsairSetLedsColors Lib "CUESDK_2013.dll" (ByVal idforled As Integer, cred As Integer, cblue As Integer, cgreen As Integer)

this throws errors obviously. sorry for seeming blunt and to the point im very tired and iv had no sleep :P im only interested as i used to do a little bit of playing around with VB6 back in the day and feel i could be comfortable with getting it to do basic things such as colour choosing and patterns if i can learn the advanced stuff from the help of the lovely forum and the awesome programmers iv seen on here :)
Old 10-26-2015, 12:28 PM
Jucko13 Jucko13 is offline
Registered User
Jucko13's PC Specs
Join Date: Nov 2014
Posts: 9
POST ID # = 816374
Jucko13 Reputation: 10

I just gave a quick look into the SDK examples and from what i have seen is that the dll does not have those functions exported for Winapi. You could write a wrapper dll to call those functions.

If you really want to script in vb6 and don't know how to make a wrapper dll I could send you my project that does not need this sdk to set the lighting. (the project is written in vb6 and uses libusb drivers to communicate with the keyboard. K70RGB Only).

I am too looking for a way to use the SDK in vb6. Just so i dont need any libusb drivers anymore. So maybe in a few weeks i will write the wrapper myself.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump

All times are GMT -4. The time now is 03:19 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.