Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interface assembly language or turbo c with visual foxpr
Message
 
 
To
30/09/1998 12:20:01
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00131335
Message ID:
00142458
Views:
39
Kengwen,

You don't "run" a DLL, you call it like any other function. In the spyin.zip file you got from my website look in the help file and the spyin form it'll show you how you DECLARE the name of the function and call it from inside VFP.

Once you get that part worked out you'll have to see if you get protection faults trying to access the I/O port. You may need to get some of the Device Driver Kits from MS (which I think are only available via a MSDN subscription now) in order to talk to the low level hardware. There is a huge difference between Win95 and NT in this area.

> You said Windows does not allow the same low level access to I/O ports and memory that i have in DOS, thats mean i cann't use the i/o port which is already in used by windows?
> The i/o interface card i have ,is using i/o address form 2E0h~2F1H and i
>checked already that there is not conflict to the windows i/o port address.
> i also simply create a inline assembler code on Visual C++, which can read or write to the particular i/o address port. When i run the .exe file the windows didn't appear any error message, it just appear a dos windows on the screen, and prompt the message" press any key to continue" when i press any key the dos windows is close.So i think didn't have any conflict to the windows assigned i/o port address.
> i try to create an dll project and add a c++ source file the type my inline assembler code, i had not problem to compile the .cpp and build the .dll file but after that i want to run the executable file, i can not find the .exe file to run. Can you tell me how to run the dll file which i had create?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform