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 09-09-2012
LINWEIXU
Guest
 
Posts: n/a
Downloads:
Uploads:
Default problem about dll maker (for Visual Studio 2008)

I download dll maker in this thread “http://www.flexsim.com/community/for...t=DLL+Maker” and I make a dll ,the dll can use for flexsim 4.5. but if i use flexsim 6.0 ,flexsim tell me a lot of command do not support.so i use new FlexsimFuncs.h and FlexsimDefs.h。built the dll maker ,but get a lot of error?
  #2  
Old 09-09-2012
Carsten Seehafer's Avatar
Carsten Seehafer Carsten Seehafer is offline
FlexSim Geek
 
Join Date: Oct 2008
Location: Ritterhude, Deutschland
Posts: 230
Downloads: 45
Uploads: 1
Thanks: 474
Thanked 320 Times in 143 Posts
Rep Power: 379
Carsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud of
Default

Please have a look at:

http://www.flexsim.com/community/for...ead.php?t=2127

Maybe this thread can be useful.


Greetings

Carsten
  #3  
Old 09-10-2012
LINWEIXU
Guest
 
Posts: n/a
Downloads:
Uploads:
Default

thanks Carsten Seehafer ,if I use flexsim 5.04 ,i want to use dll maker.i change which header files?
  #4  
Old 09-10-2012
Carsten Seehafer's Avatar
Carsten Seehafer Carsten Seehafer is offline
FlexSim Geek
 
Join Date: Oct 2008
Location: Ritterhude, Deutschland
Posts: 230
Downloads: 45
Uploads: 1
Thanks: 474
Thanked 320 Times in 143 Posts
Rep Power: 379
Carsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud of
Default

You have to compare the headers with the files in Flexsim5.04\program\system and the subfolders.

Greetings

Carsten
  #5  
Old 09-10-2012
LINWEIXU
Guest
 
Posts: n/a
Downloads:
Uploads:
Default

I copy all header file(D:\Program Files\Flexsim5.04\program\system\include )to DLL maker , also get the error。

1>c:\documents and settings\administrator\桌面\dll maker\dll maker\definition.h(42) : error C2065: “DATATYPE_STRING”: 未声明的标识符
1>c:\documents and settings\administrator\桌面\dll maker\dll maker\dllmain.cpp(68) : error C2065: “DATATYPE_NUMBER”: 未声明的标识符
  #6  
Old 09-11-2012
Carsten Seehafer's Avatar
Carsten Seehafer Carsten Seehafer is offline
FlexSim Geek
 
Join Date: Oct 2008
Location: Ritterhude, Deutschland
Posts: 230
Downloads: 45
Uploads: 1
Thanks: 474
Thanked 320 Times in 143 Posts
Rep Power: 379
Carsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud of
Default

I'm sorry but my Chinese is very poor In most cases the compiler gives good advices. In visual studio you can click on the messages to find the error.

Maybe the best solution is to send your complete code and an explanation to flexsim support.

Greetings

Carsten
  #7  
Old 09-12-2012
LINWEIXU
Guest
 
Posts: n/a
Downloads:
Uploads:
Default

i have solved the problem,but i meet another problem about use global variable in dll ,and the attach in this thread http://www.flexsim.com/community/for...ead.php?t=1367


Thread Thread Starter Forum Replies Last Post
How to set up C++ debugging in Visual Studio for Flexsim5 Hao Zhou Q&A 2 12-23-2011 11:55 PM
How to set up C++ debugging in Visual Studio Anthony Johnson Wiki Articles 8 12-22-2011 11:20 AM
Visual Studio Express 2008 Nico Zahn Installation 2 07-01-2008 04:19 AM
Visual Studio 2005 or 2008? Lars-Olof Leven Q&A 16 01-02-2008 12:10 PM
Visual Studio 2005/VISTA David Chan Q&A 1 01-01-2008 03:51 AM


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.