Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-14-2006
youkind youkind is offline
Registered User
 
Name: San
Organization: Sh.Storm
Project: PtCert
 
Join Date: May 2006
Posts: 2
Question DLL access violation

Hi all:

class HelloClient : public Ice::Application
...

HelloClient app;
app.main(argc, argv, "config.client");

The app.main(*) work fine in a isolated program. But when I try it in a Dll, it turn wrong with msg "Unhandled Exception in test.exe(ICE31D.DLL): 0xC0000005: Access Violation"

anyone can help? Thanks!
Reply With Quote
  #2 (permalink)  
Old 08-14-2006
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,088
Before we can offer assistance you must fill in your signature information as described in the link in my signature. Please also let us know the version of Ice you are using, the operating system version, and compiler.
Reply With Quote
  #3 (permalink)  
Old 08-15-2006
youkind youkind is offline
Registered User
 
Name: San
Organization: Sh.Storm
Project: PtCert
 
Join Date: May 2006
Posts: 2
Signature addtion...

The problem have been soluted myself, just a configuration issue.

I build the Ice server using Ice-3.0.1 on Linux, and try to make a client in a dll, so it can be used by other exe or COM on windows.

Maybe someone can give me some suggestion ?
__________________
York Wang
wangyou@snda.com

Last edited by youkind : 08-15-2006 at 05:53 AM.
Reply With Quote
Reply



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

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I Simultenously Access an ICE server alexm Help Center 1 11-17-2006 04:19 AM
How to get access to marshaled/demarshaled data andreynech Help Center 2 06-14-2005 07:48 AM
service access control problem yomi Help Center 7 04-04-2004 11:36 AM
Self access problem Jonathan Help Center 2 03-31-2004 07:40 AM
Access Violation using ICE with Automation DLL amrufon Help Center 2 08-07-2003 12:14 AM


All times are GMT -4. The time now is 12:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.