473,471 Members | 1,964 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

C++ Question __Fastcall

31 New Member
Ok ive been looking at the code and one of the functions that i see is the
__Fastcall i have researched it and can not figure out what exacly it does or why it is called. I would appricate any help thank you
Apr 27 '06 #1
3 8190
Banfa
9,065 Recognized Expert Moderator Expert
It's a Microsoft specific extension, it speeds up function calls by passing up to 2 of the parameters in processor registers rather than on the stack.

If you use it then you must make sure that when you call any functions declared with it you do so in the presence of a prototype as it alters the code that is auto generated for pushing variables onto and poping variables off the stack.
Apr 27 '06 #2
ATIF mUGHEES
1 New Member
CAN somebody can give me some simple c++ code just to know how to use __fastcall.Actually borland c++ is giving an error of "conflicting type modifiers "while using this.so kindly forward me some simple sample code using this for 16 bit application
Mar 2 '07 #3
horace1
1,510 Recognized Expert Top Contributor
CAN somebody can give me some simple c++ code just to know how to use __fastcall.Actually borland c++ is giving an error of "conflicting type modifiers "while using this.so kindly forward me some simple sample code using this for 16 bit application
have a look at this tutorial on calling conventions
http://www.programmers-corner.com/tutorial/16
Mar 2 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Christopher Benson-Manica | last post by:
I swear, this godforsaken __fastcall qualifier that Borland came up with is going to drive me insane! All I want is to subclass from a class A with a destructor declared virtual __fastcall...
3
by: zero | last post by:
First a short discription of my program. I have a bot that connects to an internet chess server. Whenever the bot logs on, it loads certain information from file, and puts it in STL containers...
7
by: | last post by:
Borland dumped all its "Borand C++ Builder" (BCB) customers. So it is our term to dump Borland (not only BCB). As a part of my attempt to dump long-loved BCB I'm trying to investigate how one can ...
4
by: m | last post by:
Hi I have read a lot of fragmentary explains of howto develop plugin-able application under MSWin (main application + dll's as plugins). The problem is that everything I found is fragmentary and...
17
by: Sean Kenwrick | last post by:
I am writing a byte-code interpreter/emulator for a language that exclusively uses strings for variables (i.e all variables are pushed onto the stack as strings). Therefore for arithmetic...
10
by: andrea catto' | last post by:
I have this giant library, it's static and it's all compiled in __fastcall fashion. I can not call any of those functions from winforms... even doing a wrapper off the main class, I still cant...
17
by: Fabry | last post by:
Hi All, I'm new of this group and I do not know if this is the correct group for my question. I have a DLL with its export library (.lib) wrote in Borland C++ 6. In borland everything is OK and...
2
by: bujarmetaj | last post by:
Hello, hello... can somebody please help me... I am having this problem with my source code Unresolved external 'ProductList::Print(Stdctrls::TMemo *)' referenced from C:\DOCUMENTS AND...
1
by: Noah Roberts | last post by:
Trying to use boost::function in a C++/CLI program. Here is code: pragma once #include <boost/function.hpp> #include <boost/shared_ptr.hpp> #include <vector> using namespace System;
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.