ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 05-16-2013
Ramesh Pinn Ramesh Pinn is offline
Flexsim User
 
Join Date: Oct 2012
Location: Tampa, FL
Posts: 16
Downloads: 0
Uploads: 0
Thanks: 12
Thanked 2 Times in 2 Posts
Rep Power: 93
Ramesh Pinn is on a distinguished road
Default DLL loading error

I am building a dll in VS2012 that is called from FlexSim. I am getting the following error when I call the dll from FlexSim:

Quote:
Flexsim could not load a dll module correctly because some flexsim functions could not be bound

Unsuccesful Bindings:
lladddata_odtderivative
I am using sockets in the functions inside the dll. I added the following libs for it:

Quote:
#include <winsock2.h>
#include <Ws2tcpip.h>

// Link with ws2_32.lib
#pragma comment(lib, "Ws2_32.lib")
Any ideas on what is missing? Is this behavior specific to VS2012?
  #2  
Old 05-17-2013
Ramesh Pinn Ramesh Pinn is offline
Flexsim User
 
Join Date: Oct 2012
Location: Tampa, FL
Posts: 16
Downloads: 0
Uploads: 0
Thanks: 12
Thanked 2 Times in 2 Posts
Rep Power: 93
Ramesh Pinn is on a distinguished road
Default

Nevermind. It seems like the DLL template I used had some custom functions defined in it. Removing those definitions worked. Issue is not related to VS2012 or FlexSim.

Please close or delete this thread.


Thread Thread Starter Forum Replies Last Post
Loading at the End of the conveyor FlorianK Q&A 4 04-12-2013 03:40 AM
LOADING AND UNLOADING TIME naveenkumar Q&A 3 10-19-2011 10:42 AM
Loading a large map as a background Kenny Macleod Q&A 6 02-09-2009 03:46 PM
Loading 3D-Shapes Jiri Vacek Gripes and Goodies 1 10-10-2008 05:08 AM
Stop conveyor on loading mathiasds Q&A 2 11-20-2007 04:31 PM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.