<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>11 May 2016 15:22:02 Z</lastBuildDate><pubDate>8 May 2016 21:41:32 Z</pubDate><description>Hi!&#13;
&#13;
I`m brand new with windev (at the moment I use the express edition), and will try to implement the wibu codemeter dongle in a project.&#13;
&#13;
How I can access an Wibu Codemeter (Dongle)&#13;
&#13;
In c:&#13;
&#13;
[code]&#13;
CMACCESS cmAcc;&#13;
memset(&amp;cmAcc, 0, sizeof(cmAcc));&#13;
&#13;
cmAcc.mflCtrl |= CM_ACCESS_NOUSERLIMIT;&#13;
cmAcc.mulFirmCode = 104711;&#13;
cmAcc.mulProductCode = 114711;&#13;
&#13;
HCMSysEntry hcmse = CmAccess(CM_ACCESS_LAN, &amp;cmAcc);&#13;
&#13;
if(NULL == hcmse)&#13;
{&#13;
    // No fitting license entry or CmContainer found.&#13;
}&#13;
else&#13;
{&#13;
    // The handle to the wanted license entry or CmContainer&#13;
    // in the wanted subsystem is returned.&#13;
}&#13;
[/code]&#13;
&#13;
Here is my starting point:&#13;
[code:wl]&#13;
hInst is int&#13;
hInst = LoadDLL("WibuCm32.DLL")&#13;
IF hInst = 0 THEN&#13;
	Error(ErrorInfo())&#13;
ELSE&#13;
	Info("DLL loaded")&#13;
&#13;
&#13;
	CallDLL32("WibuCm32", "CmGetInfo", par1, par2)&#13;
	&#13;
	FreeDLL(hInst)&#13;
END&#13;
&#13;
How can I build a C structure like this:&#13;
[/code]&#13;
&#13;
[code]&#13;
typedef struct __CMACCESS {&#13;
  CMULONG mflCtrl;&#13;
  CMULONG mulFirmCode;&#13;
  CMULONG mulProductCode;&#13;
  CMULONG mulFeatureCode;&#13;
  CMULONG mulUsedRuntimeVersion;&#13;
  CMULONG midProcess;&#13;
  CMUSHORT musProductItemReference;&#13;
  CMUSHORT musSession;&#13;
  unsigned char    mabIPv4Address[4];&#13;
  CMBOXINFO mcmBoxInfo;&#13;
} CMACCESS;&#13;
&#13;
[/code]</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle/read.awp</link><title>How I  can access an Wibu Codemeter (Dongle)</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>satmax</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle-57605/read.awp</comments><pubDate>11 May 2016 15:22:02 Z</pubDate><description>PC Soft gives me the answer:&#13;
The size of a structure is returned by the Dimension() command.&#13;
&#13;
http://doc.windev.com/en-US/?30…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle-57605/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle-57605/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle/read.awp">How I  can access an Wibu Codemeter (Dongle)</source><title>Re: How I  can access an Wibu Codemeter (Dongle)</title></item><item><author>markus.ratzesberger</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle-57590/read.awp</comments><pubDate>10 May 2016 20:33:00 Z</pubDate><description>no, lenght() works only for strings. but not for structures or array of structures:&#13;
&#13;
stCmEntryInfo is STCMBOXENTRY2&#13;
arrPBuffe…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle-57590/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle-57590/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle/read.awp">How I  can access an Wibu Codemeter (Dongle)</source><title>Re: How I  can access an Wibu Codemeter (Dongle)</title></item><item><author>Sebastian Arnold</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle-57583/read.awp</comments><pubDate>10 May 2016 16:10:15 Z</pubDate><description>Markus,&#13;
&#13;
this sounds pretty much like length of a string. Try &#13;
&#13;
[code:wl]&#13;
Length( stCmEntryInfo )&#13;
[/code]&#13;
&#13;
http://doc.wi…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle-57583/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle-57583/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle/read.awp">How I  can access an Wibu Codemeter (Dongle)</source><title>Re: How I  can access an Wibu Codemeter (Dongle)</title></item><item><author>markus.ratzesberger</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle-57581/read.awp</comments><pubDate>10 May 2016 15:25:55 Z</pubDate><description>THX, I found it before I see this post. :) Yes, I'm also on the windevforum.de. :)&#13;
&#13;
I'm looking now for sizeof(stCmEntryInfo),…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle-57581/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle-57581/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle/read.awp">How I  can access an Wibu Codemeter (Dongle)</source><title>Re: How I  can access an Wibu Codemeter (Dongle)</title></item><item><author>Sebastian Arnold</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle-57553/read.awp</comments><pubDate>9 May 2016 12:34:59 Z</pubDate><description>Hi Markus,&#13;
&#13;
welcome to WinDev.&#13;
&#13;
Please have a look at the API() function:&#13;
&#13;
http://doc.windev.com/en-US/?3014005&#13;
&#13;
[code:w…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle-57553/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle-57553/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57544-how-can-access-wibu-codemeter-dongle/read.awp">How I  can access an Wibu Codemeter (Dongle)</source><title>Re: How I  can access an Wibu Codemeter (Dongle)</title></item></channel></rss>
