Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

usbcfg.exe problems

9 views
Skip to first unread message

Lars Erdmann

unread,
Oct 13, 2012, 3:16:49 AM10/13/12
to
Hallo Pete,

in case you are reading this:

http://svn.netlabs.org/usb/ticket/29

We had discussed this already. You are incorrectly parsing the buildlevel
string from the USB HC drivers.
If we can agree on the interface I could write a DLL for you to use that
will properly parse the buildlevel info from a device driver file.


I currently don't know which version of usbcfg.exe the problem reporter is
using.

Lars

Peter Brown

unread,
Oct 13, 2012, 5:05:15 AM10/13/12
to
Hi Lars

Lars Erdmann wrote:
> Hallo Pete,
>
> in case you are reading this:
>
> http://svn.netlabs.org/usb/ticket/29
>
> We had discussed this already. You are incorrectly parsing the
> buildlevel string from the USB HC drivers.


And all other drivers...


> If we can agree on the interface I could write a DLL for you to use that
> will properly parse the buildlevel info from a device driver file.
>


Either that or use bldlevel I guess.


>
> I currently don't know which version of usbcfg.exe the problem reporter
> is using.
>
> Lars


Probably 071


I'm away for a few days so will email you early next week about building
a DLL file as my attempts to make a pascal unit out of your c code is
not getting anywhere - I simply do not know c well enough.


Regards

Pete

Lars Erdmann

unread,
Oct 13, 2012, 4:45:20 PM10/13/12
to
Ok. As long as you know how to call a DLL routine from your code:
either we go for the default OS/2 calling convention (that is: syscall) or
your Pascal compiler needs the DLL to use the pascal calling convention.
And then we have this Pascal string thingy going on (1 byte string length
followed by the string WITHOUT any zero terminator).
I guess you will have to browse your documentation ....

P.S.: I'd prefer a DLL over calling buildlevel, that will avoid the hassle
of piping stdout etc. etc. etc.


Lars



"Peter Brown" <losepeteS...@ntlworld.com> schrieb im Newsbeitrag
news:g9aes.290818$PU2....@fx23.am4...
0 new messages