Solved

Borland Turbo Assembler?

Posted on 1999-01-03
5
641 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 50 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
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 member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now