justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: I'm trying GetOpenFileName for multiple files [bit.ly/WpS5J6]. Works OK on Windows, but crashes on Wine. What do you use?
Asked by Rodrigo (187.58.227.x) on December 19 2012, 11:20pm
Reply on December 20 2012, 3:31am:
    I'd just allocate a big buffer and hope for the best... If you malloc() a large buffer and only write the beginning of it, it won't actually reserve physical RAM for the buffer that is unused, so while it will temporarily waste some address space, it won't actually be using the RAM.

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2024 Justin Frankel. | RSS