Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > calling/making a c++ dll

Reply
Thread Tools

calling/making a c++ dll

 
 
Martin Huseby Karlsen
Guest
Posts: n/a
 
      06-30-2003
I made a dll in c++ to do some calculations, and i call it from vba ( for
excel XP, also tried it fro access and excel 2000)

Problem is that when i copy the dll to another PC and run the same vba code
i get "run time error 53, dll file not found", on the pc where the dll i
created everything works nice

I've tried to register the dll with regsvr32 and from the vba code, with
"regsvr32 myDll.dll" i get the error "the specified module could not be
found"

I used a "MFC DLL " project in visual studio .net to create the dll, in
basic i followed this example
http://civilu.ce.utexas.edu/stu/goodaljl/c++VBA.htm

Any ideas of what i should do to make the dll run nice on other pc's than
the one the dll i created on ?





 
Reply With Quote
 
 
 
 
Thomas Matthews
Guest
Posts: n/a
 
      06-30-2003
Martin Huseby Karlsen wrote:
> I made a dll in c++ to do some calculations, and i call it from vba ( for
> excel XP, also tried it fro access and excel 2000)
>
> Problem is that when i copy the dll to another PC and run the same vba code
> i get "run time error 53, dll file not found", on the pc where the dll i
> created everything works nice
>
> I've tried to register the dll with regsvr32 and from the vba code, with
> "regsvr32 myDll.dll" i get the error "the specified module could not be
> found"
>
> I used a "MFC DLL " project in visual studio .net to create the dll, in
> basic i followed this example
> http://civilu.ce.utexas.edu/stu/goodaljl/c++VBA.htm
>
> Any ideas of what i should do to make the dll run nice on other pc's than
> the one the dll i created on ?


DLLs (Dynamic Link Libraries) are not part of the _standard_
C++ language and thus are not discussed in this newsgroup.
For better assistance, research a newsgroup dedicated to your
platform. See the Welcome.txt and FAQs below for further info.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory Allication (Managed VC++ DLL to Unmanaged DLL) [Second Try] Weston Fryatt ASP .Net 2 01-01-2005 11:31 AM
How to determine if a DLL is a COM DLL or .NET DLL Anushi ASP .Net 5 10-28-2004 01:59 PM
Why does Ruby use both tcl83.dll and tk83.dll (instead of just tk83.dll)? H. Simpson Ruby 4 08-03-2004 04:45 PM
mprapi.dll --> samlib.dll --> ntdll.dll issue. Some1 Computer Support 4 04-05-2004 02:02 AM
msvcrt.dll, msvcirt.dll, msvcrt20.dll and msvcrt40.dll, explanation please! Snoopy NZ Computing 16 08-25-2003 12:34 PM



Advertisments