[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

asserts fail for C program

recently i write a program as API for simulation program. When the program is compile and dll file is built, there is error free. However, when the dll file is loaded by the simulation tool, there is an error related to assertion filure. So, may i know what is the possible reason so that. is it because i use a lot of array variable??

thanks a lot n regards
brandon
0
brandonngst
Asked:
brandonngst
1 Solution
 
Roshan DavisCommented:
Specify the ASSERT line and line-number

also specify how u r loading that dll
static/dynamic ?

If dynamic specify the code also.....

In these 3 areas may find the errors
Just like exported function problems

Roshmon

0
 
thienpnguyenCommented:
Something must consider

1. The mangle name in C++
2. The calling convention : __stdcall or __cdecl ?
0
 
griesshCommented:
Dear brandonngst

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "roshmon"

comment(s) as an answer.

If you think your question was not answered at all, you can post a request in Community support (please include this link) to refund your points. The link to the Community Support area is: http://www.experts-exchange.com/commspt/

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
MindphaserCommented:
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now