[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Borland Turbo Assembler?

Posted on 1999-01-03
5
Medium Priority
?
655 Views
Last Modified: 2012-05-04
Hi...
   I didn't see a category for Turbo Assembler, so I'm hoping that maybe someone in the C++ group will happen to know something about it! :)
  Simple question: Can a Borland Turbo Assembler
application handle long filenames a la Windows 95? If so, can you give an explanation on how it's done?

Thanks
   Shawn Halfpenny
   drumme59@sprint.ca
0
Comment
Question by:aztec
5 Comments
 
LVL 5

Expert Comment

by:scrapdog
ID: 1181446
Yes, you can handle long filenames, if you use the Windows API.  I don't know exactly how to do it, however.  I have found an Windows 95 application written totally in assembly language, but I can't remember where it is...if I happen to find it again, I will let you know.
0
 
LVL 11

Expert Comment

by:alexo
ID: 1181447
Please elaborate.
Do you ask about the product itself (i.e. assembling long-name source files, generating long-name executables, etc.) or the DOS INT21 functions that handle long file names?
In the first case, the answer is no.  In the second case, there is no problem but keep in mind that those functions are not available under plain DOS.
0
 
LVL 1

Accepted Solution

by:
hustch earned 150 total points
ID: 1181448
Yes, there are a new set of int21 dos-functions.

Example: Find First Matching File (int 21H function 4EH) has a long version (int 21H function 714EH).

The new functions have additional parameters and functionality, so you can't just simply subsitute 4E by 714E. You need to find the documentation someware. I found mine on the MSDN library cd's.
0
 

Author Comment

by:aztec
ID: 1181449
Hello Hustch...
   You mention you found the documentation on the MSDN Library CD. You wouldn't happen to still have that documentation would you? If you do, it would be much appreciated if you could just email it off to me at drumme59@sprint.ca. Thanks.

and to Scrapdog: thanks for your response and if you can find that sample program, that would help a lot too!

and to Alexo: Yes, I am inquiring about the DOS INT21 functions. Do you have any code samples you can show me?

Thanks to all!
   Shawn Halfpenny
   drumme59@sprint.ca
0
 
LVL 11

Expert Comment

by:alexo
ID: 1181450
Shawn, all this info is available online:
  http://premium.microsoft.com/msdn/library/sdkdoc/win95/lfn_3to3.htm

[Note that your first access to MSDN-online will involve a one-time registration process]
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question