About Store Forum Documentation Contact



Post Reply 
Esenthel w/ Windows Form Applications
Author Message
Brainache Offline
Member

Post: #1
Esenthel w/ Windows Form Applications
Hey there... trying to get a Windows Forms Application to compile with the EsenthelEngine.lib. I have it compiling, but it crashes immediately upon execution with an error regarding:

Expression: _CrtIsvalidHeapPoint(pUserData)

Using MS Visual Studio Express 2010... heres what I've done to get it compiling...

Started new windows form application
added the following libs:
EsenthelEngine.lib
winmm.lib
wininet.lib
ws2_32.lib
imm32.lib
psapi.lib
rpcrt4.lib
version.lib
libcmt.lib
libcpmt.lib
oldnames.lib

Added EsenthelEngine.h to stdafx.h

compile: get error messages:
error C3641: 'operator new' : invalid calling convention '__cdecl ' for function compiled with /clr:pure or /clr:safe

Changed Common Runtime Language support to just /clr

Compiled: Get conflicts with libcmt.lib
removed libcmt.lib
Compiled: compiles but immediately crashes giving the error above...
( debug->step into = doesnt get to the first line of code... )

Is there any way to get the EsenthelLibrary to compile alongside Windows Forms?

Thankya kindly!
05-02-2011 04:04 PM
Find all posts by this user Quote this message in a reply
Dandruff Offline
Member

Post: #2
RE: Esenthel w/ Windows Form Applications
might not help, but try including EsenthelEngine.h after everything else (or was it the other way around..)
05-08-2011 08:53 AM
Find all posts by this user Quote this message in a reply
Post Reply