Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 7th, 2006, 4:03 PM   #1
nico765
Newbie
 
Join Date: Dec 2005
Posts: 2
Rep Power: 0 nico765 is on a distinguished road
problems loading 2 dlls in Delphi7

Hello,


I have some problems using c++ DLLs in delphi. My problems only appear when i doubleclick the compiled .exe and not when i use run (F9) in delphi.
I get the following error: "Access violation at address: 77F6CC66 in module ntdll.dll" when the dll is getting loaded.
I have tried different ways with different success (i am trying to load 2 dlls):
+ implicit linking: 2 dlls are loaded at the begining, the error occurs once the first function is called. But when I load only 1 dll (and therefore call only 1 function) the program works fine.

+explicit linking: 1st dll is loaded, function is called, dll is freed, 2nd dll is loaded, 2nd function is called, dll is freed, this works fine the first time, if i redo this step (without exiting program) i get the error.

+explicit linking: both dll are loaded using a procedure, i get an immediate error.

Thanks.

Nicolas
nico765 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:43 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC