Welcome to the COE Discussion Forum! 

 

To participate in the discussion forum, you must be logged in to the website.  If you forget your login information, please contact COE Headquarters at coe@coe.org or (800) 263-2255.

If you are new to the COE Discussion Forum and would like to participate, please register.


Register Today
COE 2009 Annual PLM Conference & TechniFair

COE DISCUSSION FORUM
Subject: run .dll or .exe ??

You are not authorized to post a reply.   
Author Messages
Anwar

07 Dec 2007 08:22 AM


Hi All,
version i am using v5r17_b17 and .net2003
I am new to CAA programming.. I started to compile the CAAPriCreateModify.cpp available in ObjectModelerBase Framework...I am getting in C:\..Workspace\intel_a\code\bin three files CNEXT.exe , creation( name I gave to module) PDB file and creation.dll...

question is

1) how to execute .dll and how to pass arguments becoz program requires path of cat part
2) I need .exe as output how to get .exe instead .dll
3) I tried selecting while setting up the complete new CAA v5 project and when we add our required module..like add new module..it asks for shared object,executable ...etc...I selected executable ..just like guess to get .exe as output...but while i compile i get this error


## start step: headerlist at 12/07/2007-08:49:03
## end step: headerlist at 12/07/2007-08:49:03

## start step: headermap at 12/07/2007-08:49:03
## end step: headermap at 12/07/2007-08:49:03

## start step: grammar2nd at 12/07/2007-08:49:03
## end step: grammar2nd at 12/07/2007-08:49:03

## start step: headerlist at 12/07/2007-08:49:03
## end step: headerlist at 12/07/2007-08:49:03

## start step: headermap at 12/07/2007-08:49:03
## end step: headermap at 12/07/2007-08:49:03

## start step: headerruler at 12/07/2007-08:49:03
# make: program program\PublicInterfaces\creation.h
## end step: headerruler at 12/07/2007-08:49:03

## start step: compilation at 12/07/2007-08:49:03
# make: program\creation.m\LocalGenerated\intel_a\mkCAAV5Licensing.cpp
mkCAAV5Licensing.cpp
## end step: compilation at 12/07/2007-08:49:06

## start step: link at 12/07/2007-08:49:06
# make: program\creation.m intel_a\code\bin\creation.exe
Creating library C:\Anwar\Workspace\.\intel_a\code\bin\creation.lib and object C:\Anwar\Workspace\.\intel_a\code\bin\creation.exp
LINK : fatal error LNK1561: entry point must be defined
# make-ERROR: intel_a\code\bin\creation.exe
## end step: link at 12/07/2007-08:49:06

## start step: dummynls at 12/07/2007-08:49:06
## end step: dummynls at 12/07/2007-08:49:06

== Command done, return code = 0


can any one help

Anwar
You are not authorized to post a reply.
Forums > COE Forums > CATIA V5 Programming > run .dll or .exe ??



ActiveForums 3.6

    

401 North Michigan Avenue, Chicago, IL 60611-4267 | (312) 321-5153 | (800) COE-CALL (U.S.)