| Subject | 
		Re: EXTERN issue | 
	 
	
		| From | 
		
Rich... <rich@autotraker.com>		 | 
	 
	
		| Date | 
		Thu, 26 Nov 2015 20:03:05 -0500 | 
	 
	
		| Newsgroups | 
		dbase.getting-started | 
	 
	 Try without the CDECL and the DO 
extern cint dBinput() cga.dll 
? dBinput() 
 
The name of the function has to be *exactly* the same as it is in the DLL  
including capitalization. I suspect the name of the function is wrong or not  
capitalized properly. 
If that doesn't help more information would be nice like maybe where this  
dll came from, what it supposed to do and maybe a snippet of code from that  
C++ program that can access this dll successfully. 
Rich... 
 
"Gene Moore"  wrote in message news:O1ViijJKRHA.3560@ip-AC1E04A7... 
 
I have this in a .prg file: 
 
extern CDECL cint dBinput() cga.dll 
do dBinput() 
 
I get "procedure not found dBinput" 
 
It works fine when called from a C++ program. I've read the help and seem to  
be doing it right. (Yes, cga.dll is in the same folder.) What am I missing?  
I also tried it as: 
 
 
extern cint dBinput() cga.dll 
do dBinput() 
 
and got the same result.. 
Thanks, 
Gene Moore  
 
  |   
		 |