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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Applications won't run on NT

Status
Not open for further replies.

biot023

Programmer
Nov 8, 2001
403
GB
Hallo again - I'm trying not to spam the site to death, but I'm having a hard day.
As I understand it, Windows NT doesn't like AnsiStrings. Fair enough, I suppose, only I now have to code for machines on an old NT network, and it doesn't let any apps I develop in Builder run on it.
Does anybody know a way around this?

Cheers,
Douglas. If it don't make you laugh, it ain't true.
 
I use NT/AnsiStrings/Builder almost all the time. Here are some questions to look at that might help us answer your question.

Which version of NT and Builder are you using?
Are you getting any error messages?
What is you development platform, (e.g., Win95)?
Are you using any "forbidden" 16-bit functions (e.g., inport)?
What are you compiler options? James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that I am now qualified
to do anything with nothing.
 
The version of NT I'm using is 4.0 - which is a drag, but the main software used on it requires it.
I'm using C++ Builder 5.
I'm developing on Windows 98, and I don't think I'm using any 16bit functions.
The only error I get is "File not found", referring to the exe I try to use, but it is there.
I'm not that hot on compilers, but I use mainly small, statically linked exes.
If you could help solve this, it would be a godsend.

Thanks for your time.

Douglas. If it don't make you laugh, it ain't true.
 
Your configuration is similar to mine and I don't have that problem. Did you check out faq101-187, faq101-188, and faq101-189? How are you putting it into the NT system? Are you using Install-Shield? What happens when you copy the program to the NT and make a shortcut to the file (you won't get a registry change but it should still work)?

James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that I am now qualified
to do anything with nothing.
 
I also forgot to ask if you are using any external components like BDE?
James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that I am now qualified
to do anything with nothing.
 
The error message I get (above) is what occurs when I copy the exe to NT. This <b><i>is</b></i> the method I've been using to get my exes into NT. Is this a bad thing?
As for external components, I'm not using any that I'm aware of, but then I could be, I suppose.
Thanks for the FAQ refs - I'll look at my dynamic RTL settings & compare them.

Thanks again,

Douglas. If it don't make you laugh, it ain't true.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top