comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » CALL_EXTERNAL, VC++, ERROR_PROC_NOT_FOUND
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
CALL_EXTERNAL, VC++, ERROR_PROC_NOT_FOUND [message #23426] Sat, 27 January 2001 22:47 Go to previous message
isojoern is currently offline  isojoern
Messages: 6
Registered: April 1999
Junior Member
Hi there,

to learn how to use dlls I used the IDL example code for simple_vars. But
instead of using nmake, I wanted to move the compilation process inside
Visual C++ (with nmake everything works fine).

So I built a dll frame with the wizard and included stdio.h and export.h in
StdAfx.h, and linked to idl32.h
I also moved the function definition:
int IDL_STDCALL simple_vars(int argc,void* argv[])
{
snip
}
as is into my .cpp file, and the function declaration in the header file.

Everything compiles and links fine, but I get the following eror after
calling simple_vars from idl54:

% CALL_EXTERNAL: Error loading sharable executable.
Symbol: simple_vars, File =
C:/users/joern/ccode/idl/MyExternal/DEBUG/MyExternal
ERROR_PROC_NOT_FOUND
% Error occurred at: SIMPLE_VARS 62
C:\users\joern\Ccode\Idl\MyExternal\simple_vars.pro
% $MAIN$

What the hexter does that mean?

Thanks, joern
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: .skip
Next Topic: Re: Probably a simple question, but I'm only a beginner with this IDL stuff :)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Nov 29 07:50:52 PST 2025

Total time taken to generate the page: 0.14628 seconds