[ros-kernel] RosGetTimeFormat and GetTimeFormatA
Richard Campbell
eek2121 at comcast.net
Fri Apr 16 21:56:42 CEST 2004
it is possible to use pointers in vb (ever hear of the varptr function?
also, study up on ByRef and ByVal), and i believe you mean vbNullChar or
vbNullString Anyways i won't argue the merits/drawbacks of visual
basic, each language has it's strengths and weaknesses, I for one
dislike when people bang on vb, saying it's a bad language, when they
don't know it's inner functionality.
Richard
Nate DeSimone wrote:
> While VB offers the ability to write programs very quick, and easily,
> it doesn't have some of the really nice features found in C, for
> example pointers. Last time I checked VB does dynamic memory using
> arrays that have to be resized, why can't it just have a something
> like a vector class from the C++ Standard Libary? Also it would be
> nice if NULL didn't have to be written as &H0 (or something like that,
> can't remember exactly.)
> Richard Campbell wrote:
>
>> Eh? Substandard? I bet anything you can do in C i can do better in
>> VB :)
>>
>> tombrett-reactoskernel4718 at mailblocks.com wrote:
>>
>>> Hah!
>>>
>>> I _WISH_ functions like this would return the actual value, as
>>> opposed to
>>> the position of the pointer of the value in memory.
>>>
>>> It would make life a WHOLE lot easier!
>>>
>>> especially for sub-standard programming languages like V.B!!
>>> Tom.
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Kohn Emil Dan <emild at cs.technion.ac.il>
>>> To: ReactOS Kernel List <ros-kernel at reactos.com>
>>> Sent: Mon, 12 Apr 2004 08:28:29 +0300 (IDT)
>>> Subject: [ros-kernel] RosGetTimeFormat and GetTimeFormatA
>>>
>>> Hello everybody,
>>>
>>> I've been lurking on this project for some time, without
>>> contributing too
>>> much. I'm amazed by the amount of progress you guys are doing. Keep
>>> on the
>>> great work!
>>>
>>> I want to contribute with a minor patch to the RosGetTimeFormat() and
>>> GetTimeFormatA() functions.
>>>
>>> 1) RosGetTimeFormat() has a small bug. The last statement should be
>>>
>>> return nPos;
>>>
>>> and not
>>>
>>> return cchTime;
>>>
>>>
>>> 2) GetTimeFormatA() is not implemented. I have written an
>>> implementation
>>> for it, which calls GetTimeFormatW(), and converts the string
>>> parameters
>>> back and forth.
>>>
>>> Both these contributions are included in the patch attached to this
>>> message. Anyone caring to commit it?
>>>
>>>
>>> Regards,
>>>
>>> Emil
>>>
>>> _______________________________________________
>>> Ros-kernel mailing list
>>> Ros-kernel at reactos.com
>>> http://reactos.com/mailman/listinfo/ros-kernel
>>> _______________________________________________
>>> Ros-kernel mailing list
>>> Ros-kernel at reactos.com
>>> http://reactos.com/mailman/listinfo/ros-kernel
>>>
>>
>> _______________________________________________
>> Ros-kernel mailing list
>> Ros-kernel at reactos.com
>> http://reactos.com/mailman/listinfo/ros-kernel
>>
>>
>
> _______________________________________________
> Ros-kernel mailing list
> Ros-kernel at reactos.com
> http://reactos.com/mailman/listinfo/ros-kernel
>
More information about the Ros-kernel
mailing list