Click here to Skip to main content
15,909,205 members
Home / Discussions / C#
   

C#

 
QuestionRe: How can i change values in a program's memory? Pin
sthotakura16-Apr-07 11:17
sthotakura16-Apr-07 11:17 
AnswerRe: How can i change values in a program's memory? Pin
sharpiesharpie16-Apr-07 12:32
sharpiesharpie16-Apr-07 12:32 
AnswerRe: How can i change values in a program's memory? Pin
sthotakura16-Apr-07 20:27
sthotakura16-Apr-07 20:27 
GeneralRe: How can i change values in a program's memory? Pin
sharpiesharpie16-Apr-07 20:58
sharpiesharpie16-Apr-07 20:58 
GeneralRe: How can i change values in a program's memory? Pin
sthotakura16-Apr-07 21:41
sthotakura16-Apr-07 21:41 
GeneralRe: How can i change values in a program's memory? Pin
sharpiesharpie17-Apr-07 2:50
sharpiesharpie17-Apr-07 2:50 
GeneralRe: How can i change values in a program's memory? Pin
Daniel Grunwald17-Apr-07 3:19
Daniel Grunwald17-Apr-07 3:19 
QuestionCallbackOnCollectedDelegate was detected Pin
bemahesh16-Apr-07 7:59
bemahesh16-Apr-07 7:59 
hi, I am getting this error when generating pdf docs from crystal report app (C# 2.0).

CallbackOnCollectedDelegate was detected

Message: A callback was made on a garbage collected delegate of type 'CrystalDecisions.ReportAppServer.DataSetConversion!CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter+CrdbAdoPlusDelegate::Invoke'. This may cause application crashes, corruption and data loss. When passing delegates to unmanaged code, they must be kept alive by the managed application until it is guaranteed that they will never be called.


I am creating pdf docs from crystal report app which is being hosted in console app. I have a report document with 6 sub reports. I am poppulating these sub reports on the report document by pushing a datatable/dataset. In doing that, I am instantiating report document once as a global variable. Then each next pdf doc will be using that same report document object but I am loading a new report doc every time new report(pdf doc) needs to be generated.

After about 20 to 30 docs are generated I get error listed on top "CallbackOnCollectedDelegate was detected" with detail description also provided earlier.

Reading this error made me think that if I put some kind of delay (1000 miliseconds) before loading report, it would help but did not solve my problem. It did went further than 20 to 30 docs to 104 docs but that error did come back.

I would appreciate if some one can shed some light



Thanks
Needy

AnswerRe: CallbackOnCollectedDelegate was detected Pin
Luc Pattyn16-Apr-07 8:34
sitebuilderLuc Pattyn16-Apr-07 8:34 
GeneralRe: CallbackOnCollectedDelegate was detected [modified] Pin
bemahesh16-Apr-07 10:22
bemahesh16-Apr-07 10:22 
GeneralRe: CallbackOnCollectedDelegate was detected Pin
Luc Pattyn16-Apr-07 10:53
sitebuilderLuc Pattyn16-Apr-07 10:53 
GeneralRe: CallbackOnCollectedDelegate was detected Pin
bemahesh16-Apr-07 11:20
bemahesh16-Apr-07 11:20 
GeneralRe: CallbackOnCollectedDelegate was detected Pin
Luc Pattyn16-Apr-07 11:35
sitebuilderLuc Pattyn16-Apr-07 11:35 
GeneralRe: CallbackOnCollectedDelegate was detected Pin
bemahesh16-Apr-07 13:42
bemahesh16-Apr-07 13:42 
GeneralRe: CallbackOnCollectedDelegate was detected Pin
Luc Pattyn16-Apr-07 14:05
sitebuilderLuc Pattyn16-Apr-07 14:05 
GeneralRe: CallbackOnCollectedDelegate was detected Pin
fredsparkle8-Jul-10 8:40
fredsparkle8-Jul-10 8:40 
QuestionHow to add keyboard handling for shortcuts? Pin
Khoramdin16-Apr-07 7:05
Khoramdin16-Apr-07 7:05 
AnswerRe: How to add keyboard handling for shortcuts? Pin
Dan Neely16-Apr-07 7:55
Dan Neely16-Apr-07 7:55 
AnswerRe: How to add keyboard handling for shortcuts? Pin
Luc Pattyn16-Apr-07 8:40
sitebuilderLuc Pattyn16-Apr-07 8:40 
QuestionHow to get a code of pressed key ? Pin
Saikek16-Apr-07 6:49
Saikek16-Apr-07 6:49 
AnswerRe: How to get a code of pressed key ? Pin
Russell Jones16-Apr-07 7:15
Russell Jones16-Apr-07 7:15 
AnswerRe: How to get a code of pressed key ? Pin
kifahhk16-Apr-07 7:21
kifahhk16-Apr-07 7:21 
AnswerRe: How to get a code of pressed key ? Pin
Luc Pattyn16-Apr-07 9:36
sitebuilderLuc Pattyn16-Apr-07 9:36 
GeneralRe: How to get a code of pressed key ? Pin
Saikek16-Apr-07 21:02
Saikek16-Apr-07 21:02 
Questionhow to create handle in C#.NET Pin
Software_Specialist16-Apr-07 4:54
Software_Specialist16-Apr-07 4:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.