Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create buffer

Status
Not open for further replies.

jdidier

Programmer
Jul 8, 2004
2
0
0
CH
I'm programming with tasm32 under windows.

I'm wondering if there's another way for the following:

I created a buffer with the API GlobalAlloc, its size being based on GetFileSize. Then I create two more buffers with the same size.

Is it possible to define in the data setion these two additional buffer as uninitialized, with their sizes based on the first buffer?

This way I could avoid two API calls.

Thanks for your help

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top