BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TPageProducer in a DLL

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet
View previous topic :: View next topic  
Author Message
LorenK
Guest





PostPosted: Sun Jul 01, 2007 7:56 pm    Post subject: TPageProducer in a DLL Reply with quote



I'm building a new application where I have a DLL with a DataModule on
it. On the DataModule, I have a PageProducer and an Adapter. All the
DLL does right now is call the pageproducer.content and return the
generated page (thru a PChar result, obviously). However, it seems to
get an access violation when the main thread that called the DLL
finishes. If I just return a plain data (without calling the CONTENT
member function of the pageproducer) in the DLL, no access violation
occurs. Can anyone shed some light as to what might be happening in
the pageproducer that could be causing this problem?

Thanks
Loren
Back to top
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet All times are GMT
Page 1 of 1

 
 


Powered by phpBB © 2001, 2006 phpBB Group
.