search for: info4

Displaying 2 results from an estimated 2 matches for "info4".

Did you mean: info
2007 Apr 09
2
GridTableBase problem
Trying to setup a GridTableBase to hold some floating point numbers for a Grid. Getting an error with the following: table = Wx::GridTableBase.new Error: C:/ruby/work/wxtest/test.rb:151:in `on_find'': uninitialized constant Wxruby2::Gr idTableBase (NameError) from c:/ruby/lib/ruby/gems/1.8/gems/wx_sugar-0.1.14/lib/wx_sugar/event_c onnector.rb:123:in `call''
2003 Dec 01
0
No subject
...es*sizeof(SAM_DISPINFO_3)))) + return NT_STATUS_NO_MEMORY; + } disp_ret = init_sam_dispinfo_3(p->mem_ctx,ctr->sam.info3, &num_entries, &data_size, q_u->start_idx, grps); if (disp_ret != NT_STATUS_NO_PROBLEMO) return disp_ret; break; case 0x4: - if (!(ctr->sam.info4 = (SAM_DISPINFO_4 *)talloc(p->mem_ctx,num_entries*sizeof(SAM_DISPINFO_4)))) - return NT_STATUS_NO_MEMORY; + if (num_entries) { + if (!(ctr->sam.info4 = (SAM_DISPINFO_4 *)talloc_zero(p->mem_ctx,num_entries*sizeof(SAM_DISPINFO_4)))) + return NT_STATUS_NO_MEMORY; + } disp_ret = in...