CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Chan1314

Search: Search took 0.03 seconds.

  1. [RESOLVED] Methods, Properties, Fields with lock icon?

    I just found that some of my methods, properties and fields has a lock icon. what is the lock mean?
    http://i221.photobucket.com/albums/dd202/chan1314/doubt.jpg

    Thx
  2. Replies
    15
    Views
    1,858

    Re: Backgroundworker

    delegate void pizza();

    private void upload_Click(object sender, EventArgs e)

    {

    backgroundWorker1.RunWorkerAsync();

    }
  3. Replies
    4
    Views
    1,043

    Re: custom control event return array?

    when the event is fire, it will get data from another dll, the dll will request data from custom hardware. after get the data , and it return data array. my custom control will the data, and update...
  4. Replies
    4
    Views
    1,043

    Re: custom control event return array?

    hi
    i wanted to pass data array to custom control, not getting data from control.
    when user access the event function, it will get data from other dll, and pass to my control.
    this is auto...
  5. Replies
    4
    Views
    1,043

    custom control event return array?

    i have created a custom control , and it has an event




    public delegate byte[] get_data();

    public event get_data EE_Read_clicked;
  6. Re: how to create an event for enum type value changed?

    problem solved.
    i added code into the function Period_Type_Select.

    chan
  7. [resolved]how to create an event for enum type value changed?

    i creating an user control library , vs 2008, .net framework3.5,

    how can i add a event trigger for an enum type?


    public enum period_type { Text, TrackBar };

    private...
  8. Replies
    1
    Views
    5,351

    Re: assembly noob, error: junk at end of line

    gcc able to assembler ?
    i thought it only support inline assembly
    try gas or nasm
  9. Replies
    9
    Views
    9,836

    Re: how can ShutDown Windows using c#.net

    System.Diagnostics.Process.Start(@"C:\WINDOWS\system32\Shutdown", "-s -f -t 00");
    able to shutdown ur pc
  10. Replies
    2
    Views
    840

    Re: SerialPort class

    hello

    why you need to control those pin ? some pin is used for handshaking, and some is for hardware flow control.
    you can use parallel port which have 5 input and 8 output port if not mistaken....
  11. Replies
    10
    Views
    1,533

    Re: VB Array Address Problem

    problem solved. is the stack problem
    the default function in dll is declare is __cdecl which didn't clear the stack after return.
    to solve this this problem, i have to clear the stack before i...
  12. Replies
    10
    Views
    1,533

    Re: VB Array Address Problem

    there is another problem, which i cannot debug in VB. i have to make into executable, if in debug mode, it will show runtime error "49" Bad Dll Calling if i calling any function or sub with pass in...
  13. Replies
    10
    Views
    1,533

    Re: VB Array Address Problem

    by refer to address, in the memory map look from dll, both should be same. the Declare ByRef msg as Byte and as Any gave me same result.


    Dim ABC As String
    ABC = GetErrorTextVB(stat)
    ...
  14. Replies
    10
    Views
    1,533

    Re: VB Array Address Problem

    problem solved.
    Declare Function Write2 Lib "testlib32" (ByRef msg As Any) As Long
    and in c++ i declare as Char . so i can get my data.

    i face another problem.

    Label2.Caption =...
  15. Replies
    10
    Views
    1,533

    Re: VB Array Address Problem

    i not sure about the increment of the pointer, and i tried to monitor the address around the address range. i found that +- 30 bytes around the address i get msg(0) doesn't contain any data for my...
  16. Replies
    10
    Views
    1,533

    VB Array Address Problem

    Declare Function Write2 Lib "testlib32" (ByRef msg As Integer) As Integer

    Dim msg(3) As Byte
    msg(0) = &HEF
    msg(1) = &HEE
    msg(2) = &HED
    msg(3) = &HEC

    ...
Results 1 to 16 of 17


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)